Uses of Class
org.craftercms.studio.api.v1.exception.ServiceLayerException
Packages that use ServiceLayerException
Package
Description
-
Uses of ServiceLayerException in org.craftercms.studio.api.v1.content.pipeline
Methods in org.craftercms.studio.api.v1.content.pipeline that throw ServiceLayerExceptionModifier and TypeMethodDescriptionDmContentProcessor.createMissingFoldersInPath(String site, String path, boolean isPreview) create missing folders in the given pathDmContentProcessor.fileToFolder(String site, String path) change file to folder content.voidContentProcessor.process(PipelineContent content, ResultTO result) process the content at the given path.voidContentProcessorPipeline.processContent(PipelineContent content, ResultTO result) process the given content through the executors chain -
Uses of ServiceLayerException in org.craftercms.studio.api.v1.exception
Subclasses of ServiceLayerException in org.craftercms.studio.api.v1.exceptionModifier and TypeClassDescriptionclassException thrown when a asset processing configuration related error occurs.classGeneral exception used by classes related to asset processing.classException thrown when an error occurs while transcoding a video.classException thrown when a blob pointer exists in the repository but the actual asset does not exist in the blob store.classclassclassclassoccurs when the content provided does not meet preconditionsclassclassoccurs when failed to process contentclassclassclassException thrown by image transformation classes.classclassclassclassException for all errors related to WebDAV -
Uses of ServiceLayerException in org.craftercms.studio.api.v1.exception.repository
Subclasses of ServiceLayerException in org.craftercms.studio.api.v1.exception.repository -
Uses of ServiceLayerException in org.craftercms.studio.api.v1.executor
Methods in org.craftercms.studio.api.v1.executor that throw ServiceLayerExceptionModifier and TypeMethodDescriptionProcessContentExecutor.processContent(String id, InputStream input, boolean isXml, Map<String, String> params, String chainName) -
Uses of ServiceLayerException in org.craftercms.studio.api.v1.repository
Methods in org.craftercms.studio.api.v1.repository that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanContentRepository.addRemote(String siteId, String remoteName, String remoteUrl, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey) Add remote repository for site content repositoryContentRepository.copyContent(String site, String fromPath, String toPath) copy content from PathA to pathBContentRepository.createFolder(String site, String path, String name) create a folderContentRepository.deleteContent(String site, String path, String approver) delete contentContentRepository.listRemote(String siteId, String sandboxBranch) List remote repositories for given siteContentRepository.moveContent(String site, String fromPath, String toPath) move content from PathA to pathBContentRepository.moveContent(String site, String fromPath, String toPath, String newName) move content from PathA to pathBbooleanContentRepository.pullFromRemote(String siteId, String remoteName, String remoteBranch) Pull from remote repositorybooleanContentRepository.pushToRemote(String siteId, String remoteName, String remoteBranch) Push content to remote repositoryvoidContentRepository.resetStagingRepository(String siteId) Reset staging repository to live for given siteContentRepository.writeContent(String site, String path, InputStream content) write content -
Uses of ServiceLayerException in org.craftercms.studio.api.v1.service.content
Methods in org.craftercms.studio.api.v1.service.content that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanContentTypeService.changeContentType(String site, String path, String contentType) voidContentService.checkContentExists(String site, String path) Checks if a content exists at a given path and throw an exception if it does not.voidContentService.checkWriteAssetPath(String path) Check if path is a correct location to write asset contentContentService.copyContent(String site, String fromPath, String toPath) copy content fromPath to toPathbooleanContentService.createFolder(String site, String path, String name) create a folderbooleanContentService.deleteContent(String site, String path, boolean generateActivity, String approver) booleanContentService.deleteContent(String site, String path, String approver) delete content at the pathContentTypeService.getContentTypeByRelativePath(String site, String relativePath) ContentTypeService.getContentTypeForContent(String site, String path) get a content type by the given site and the content pathContentService.getDeleteCandidates(String site, String uri) ContentItemIdGenerator.getIds()Return unique ids required by contentvoidContentService.lockContent(String site, String path) ContentService.processContent(String id, InputStream input, boolean isXml, Map<String, String> params, String contentChainForm) booleanContentService.pullFromRemote(String siteId, String remoteName, String remoteBranch) Pull from remote repositorybooleanContentService.pushToRemote(String siteId, String remoteName, String remoteBranch) Push content to remote repositorybooleanContentService.renameContent(String site, String path, String name) rename a content itemdoubleContentService.reorderItems(String site, String relativePath, String before, String after, String orderName) booleanContentService.revertContentItem(String site, String path, String version, boolean major, String comment) revert a version (create a new version based on an old version)booleanContentService.validateAndCreateFolder(String site, String path, String name) Validate the input and create a folderContentService.writeContent(String site, String path, InputStream content) write contentvoidContentService.writeContent(String site, String path, String fileName, String contentType, InputStream input, String createFolders, String edit, String unlock) write contentvoidContentService.writeContent(String site, String path, String fileName, String contentType, InputStream input, String createFolders, String edit, String unlock, boolean skipAuditLogInsert) write contentbooleanContentService.writeContentAndNotify(String site, String path, InputStream content) write content from an input stream and notify the subscribers.voidContentService.writeContentAndRename(String site, String path, String targetPath, String fileName, String contentType, InputStream input, String createFolders, String edit, String unlock, boolean createFolder) ContentService.writeContentAsset(String site, String path, String assetName, InputStream in, String isImage, String allowedWidth, String allowedHeight, String allowLessSize, String draft, String unlock, String systemAsset) -
Uses of ServiceLayerException in org.craftercms.studio.api.v1.service.dependency
Methods in org.craftercms.studio.api.v1.service.dependency that throw ServiceLayerExceptionModifier and TypeMethodDescriptionDependencyService.calculateDependencies(String site, List<String> paths) Calculate dependencies for publishingDependencyService.calculateDependenciesPaths(String site, List<String> paths) Calculate dependencies paths for publishingvoidDependencyService.deleteItemDependencies(String site, String path) Delete an item dependencies from the database.voidDependencyService.deleteSiteDependencies(String site) Delete all dependencies from the database for a given site.DependencyDiffService.diff(DependencyDiffService.DiffRequest diffRequest) Computes addedDependenices and removedDependenices based on the DiffRequest information providedDependencyService.getDeleteDependencies(String site, String path) DependencyService.getDeleteDependencies(String site, List<String> paths) DependencyService.getItemDependencies(String site, String path, int depth) Get all item dependencies of an item.DependencyService.getItemsDependingOn(String site, String path, int depth) Get all items that depend on this item.DependencyService.getItemSpecificDependencies(String site, String path, int depth) Get item-specific dependencies of an item.DependencyService.getPublishingDependencies(String site, String path) Get a all publishing dependencies of a list of items.DependencyService.getPublishingDependencies(String site, List<String> paths) Get a all publishing dependencies of a list of items.DependencyService.moveDependencies(String site, String oldPath, String newPath) Move an item and make sure dependency paths remain correct.DependencyService.upsertDependencies(String site, String path) Scan item for direct dependencies and synchronize those to the depenencies database adding the new deps, updating existing, and removing what was removed from the item.DependencyService.upsertDependencies(String site, List<String> paths) Scan a list of items for direct dependencies and synchroniz those to the depenencies database adding the new deps, updating existing, and removing what was removed from the item. -
Uses of ServiceLayerException in org.craftercms.studio.api.v1.service.deployment
Methods in org.craftercms.studio.api.v1.service.deployment that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidDeploymentService.bulkGoLive(String site, String environment, String path, String comment) Start executing bulk publish for given site, path on given environmentvoidDmPublishService.bulkGoLive(String site, String environment, String path, String comment) Start executing bulk publish for given site, path on given environmentvoidDeploymentService.delete(String site, List<String> paths, String approver, ZonedDateTime scheduledDate, String submissionComment) Delete contentvoidDeploymentService.deploy(String site, String environment, List<String> paths, ZonedDateTime scheduledDate, String approver, String submissionComment, boolean scheduleDateNow) DeploymentService.getScheduledItems(String site, String sort, boolean ascending, String subSort, boolean subAscending, String filterType) PublishingManager.processItem(PublishRequest item) PublishingManager.processMandatoryDependencies(PublishRequest item, Set<String> pathsToDeploy, Set<String> missingDependenciesPaths) voidDeploymentService.publishCommits(String site, String environment, List<String> commitIds, String comment) Publish given commit IDs on given environment for given sitevoidDeploymentService.publishItems(String site, String environment, ZonedDateTime schedule, List<String> paths, String submissionComment) Publish items in given environment for given sitevoidDeploymentService.resetStagingEnvironment(String siteId) Reset staging environment to live for given site -
Uses of ServiceLayerException in org.craftercms.studio.api.v1.service.security
Methods in org.craftercms.studio.api.v1.service.security that throw ServiceLayerExceptionModifier and TypeMethodDescriptionintSecurityService.getAllUsersTotal()Get all usersSecurityService.getUserGlobalRoles(long userId, String username) SecurityService.getUserProfile(String user) SecurityService.getUserProfileByGitName(String gitName) Get user by git name.booleanSecurityService.userExists(String username) Check if user exists -
Uses of ServiceLayerException in org.craftercms.studio.api.v1.service.site
Methods in org.craftercms.studio.api.v1.service.site that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanSiteService.addRemote(String siteId, String remoteName, String remoteUrl, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey) Add remote repository for site content repositoryvoidSiteService.createSiteWithRemoteOption(String siteId, String siteName, String sandboxBranch, String description, String blueprintName, String remoteName, String remoteUrl, String remoteBranch, boolean singleBranch, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey, String createOption, Map<String, String> params, boolean createAsOrphan) Create a new site with remote option (clone from remote or push to remote repository)SiteService.getSiteDetails(String siteId) Get site details.SiteService.getSitesPerUser(int start, int number) Get sites that user is allowed access to for current userSiteService.getSitesPerUser(String username, int start, int number) Get sites that user is allowed access to for given usernameintSiteService.getSitesPerUserTotal()Get total number of sites that user is allowed access to for current userintSiteService.getSitesPerUserTotal(String username) Get total number of sites that user is allowed access to for given usernameSiteService.listRemote(String siteId) List remote repositories for given sitebooleanSiteService.syncDatabaseWithRepo(String siteId, String fromCommitId) Synchronize our internal database with the underlying repository.booleanSiteService.syncDatabaseWithRepo(String siteId, String fromCommitId, boolean generateAuditLog) Synchronize our internal database with the underlying repository. -
Uses of ServiceLayerException in org.craftercms.studio.api.v1.service.workflow
Methods in org.craftercms.studio.api.v1.service.workflow that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanWorkflowService.cleanWorkflow(String url, String site) WorkflowService.getGoLiveItems(String site, String sort, boolean ascending) approve workflows and schedule them as specified in the requestWorkflowService.preDelete(Set<String> urisToDelete, GoLiveContext context, Set<String> rescheduledUris) booleanWorkflowService.removeFromWorkflow(String site, String path, boolean cancelWorkflow) cancel the workflow pending on the given item. -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.exception
Subclasses of ServiceLayerException in org.craftercms.studio.api.v2.exceptionModifier and TypeClassDescriptionclassException thrown when there is an error with the parameters received by a controller.classException thrown when a required parameter is not provided for a pluginclassclassExtension ofServiceLayerExceptionthrown when a site doesn't have a published repositoryclassclassclass -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.exception.blob
Subclasses of ServiceLayerException in org.craftercms.studio.api.v2.exception.blobModifier and TypeClassDescriptionclassException to be thrown when a write operation is attempted on a blob store configured in read-only mode. -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.exception.configuration
Modifier and TypeClassDescriptionclassException thrown when there's an error while reading a configuration.classException thrown when an invalid configuration is detected -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.exception.content
Subclasses of ServiceLayerException in org.craftercms.studio.api.v2.exception.contentModifier and TypeClassDescriptionclassclassclassExtension ofServiceLayerExceptionthrown when a user tries to lock an item that is already lockedclassException thrown when a content move to an invalid location is attempted. -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.exception.git
Subclasses of ServiceLayerException in org.craftercms.studio.api.v2.exception.gitModifier and TypeClassDescriptionclassException thrown when there are no changes found in a commit for a given path. -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.exception.logger
Subclasses of ServiceLayerException in org.craftercms.studio.api.v2.exception.loggerModifier and TypeClassDescriptionclassException thrown then trying to retrieve or perform an operation on a Logger that does not exist. -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.exception.marketplace
Subclasses of ServiceLayerException in org.craftercms.studio.api.v2.exception.marketplaceModifier and TypeClassDescriptionclassException thrown when trying to install an incompatible pluginclassBase for all Marketplace related exceptionsclassException thrown when theMarketplaceServiceis not initializedclassException thrown when there is an issue reading or updating the plugin registry for a siteclassException thrown when the connection with the Marketplace failsclassException thrown when installing a plugin that already exists in a siteclassException thrown when there is an issue installing a plugin in a siteclassException thrown when a plugin descriptor is not foundclassException thrown when there is an issue removing a plugin from a site -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.exception.validation
Subclasses of ServiceLayerException in org.craftercms.studio.api.v2.exception.validationModifier and TypeClassDescriptionclassBase exception for all data validations -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.repository
Methods in org.craftercms.studio.api.v2.repository that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidContentRepository.cancelPublishAll(String siteId, String publishingTarget) Performs the cleanup after a failed publish all operation for the given site & targetvoidContentRepository.checkContentExists(String site, String path) Checks if a content exists at a given path and throw an exception if it does not.voidContentRepository.completePublishAll(String siteId, String publishingTarget, RepositoryChanges changes, String comment) Performs the actual publish of all changes for the given site & targetbooleanContentRepository.createSiteCloneRemote(String siteId, String sandboxBranch, String remoteName, String remoteUrl, String remoteBranch, boolean singleBranch, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey, Map<String, String> params, boolean createAsOrphan, String creator) Create new site as a clone from remote repositoryvoidContentRepository.duplicateSite(String sourceSiteId, String siteId, String sourceSandboxBranch, String sandboxBranch) Create copies of the source site's repositories.ContentRepository.preparePublishAll(String siteId, String publishingTarget) Prepares the repository to publish all changes for the given site & targetContentRepository.publishAll(String siteId, String publishingTarget, String comment) Publishes all changes for the given site & target -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.repository.blob
Methods in org.craftercms.studio.api.v2.repository.blob that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidStudioBlobAwareContentRepository.duplicateBlobs(String sourceSiteId, String siteId) Extract every blob from the source site and storeit in the target site in the blob store matching its pathReturns allStudioBlobStoreconfigured for the given siteStudioBlobStoreResolver.getByPaths(String site, String... paths) Returns the firstStudioBlobStorecompatible with all given paths for the given sitebooleanIndicates if a given path belongs to a blob store -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.security
Methods in org.craftercms.studio.api.v2.security that throw ServiceLayerExceptionModifier and TypeMethodDescriptionlongSemanticsAvailableActionsResolver.calculateContentItemAvailableActions(String username, String siteId, Item item) Calculate available actions for given content itemlongSemanticsAvailableActionsResolver.calculateContentItemAvailableActions(String username, String siteId, DetailedItem detailedItem) Calculate available actions for given content itemlongAvailableActionsResolver.getContentItemAvailableActions(String username, String siteId, String path) Get content item available actions for given site and path -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.audit
Methods in org.craftercms.studio.api.v2.service.audit that throw ServiceLayerExceptionModifier and TypeMethodDescriptionAuditService.getUserActivities(String site, int limit, String sort, boolean ascending, boolean excludeLive, String filterType) Get user activities -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.clipboard
Methods in org.craftercms.studio.api.v2.service.clipboard that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.clipboard.internal
Methods in org.craftercms.studio.api.v2.service.clipboard.internal that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.config
Methods in org.craftercms.studio.api.v2.service.config that throw ServiceLayerExceptionModifier and TypeMethodDescriptionorg.dom4j.DocumentConfigurationService.getConfigurationAsDocument(String siteId, String module, String path, String environment) Get configuration as DOM document for given parametersConfigurationService.getConfigurationHistory(String siteId, String module, String path, String environment) Get configuration history for given parametersorg.dom4j.DocumentConfigurationService.getGlobalConfigurationAsDocument(String path) Get configuration from global repository as DocumentConfigurationService.getGlobalRoleMappings()Get global role mappings configurationConfigurationService.getRoleMappings(String siteId) Get role mappings configuration for given siteConfigurationService.getTranslationConfiguration(String siteId) Get the translation configuration for a given siteConfigurationService.legacyGetConfiguration(String site, String path) This method holds logic for API 1, can be deleted when API 1 get configuration is removedvoidConfigurationService.makeBlobStoresReadOnly(String siteId) Update blob stores configuration to make all blobStores read-onlyvoidConfigurationService.writeConfiguration(String siteId, String module, String path, String environment, InputStream content) Write configuration file for given parametersvoidConfigurationService.writeGlobalConfiguration(String path, InputStream content) Write configuration file within global repo -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.content
Methods in org.craftercms.studio.api.v2.service.content that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanContentService.deleteContent(String siteId, String path, String submissionComment) Delete content for given path.booleanContentService.deleteContent(String siteId, List<String> paths, String submissionComment) Delete content for given paths.voidContentTypeService.deleteContentType(String siteId, String contentType, boolean deleteDependencies) Deletes all files related to a given content-typeContentTypeService.getAllModelDefinitions(String siteId) Get all content types for the given site.ContentService.getChildrenByPath(String siteId, String path, String locale, String keyword, List<String> types, List<String> excludes, String sortStrategy, String order, int offset, int limit) Get list of children for given pathContentService.getChildrenByPaths(String siteId, List<String> paths, Map<String, GetChildrenBulkRequest.PathParams> pathParams) Get children for paths bulk.org.apache.commons.lang3.tuple.ImmutablePair<String, org.springframework.core.io.Resource> ContentTypeService.getContentTypePreviewImage(String siteId, String contentTypeId) Finds the preview image for a given content-typeContentTypeService.getContentTypeUsage(String siteId, String contentType) Finds all items related to a given content-typeContentService.getContentVersionHistory(String siteId, String path) Get the version history for a given content item.ContentService.getItemByPath(String siteId, String path, boolean preferContent) Get detailed item for given pathContentService.getSandboxItemsByPath(String siteId, List<String> paths, boolean preferContent) Get sandbox items for given list of pathsvoidContentService.lockContent(String siteId, String path) Lock item by path for given sitebooleanContentService.renameContent(String site, String path, String name) Rename content for given path -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.content.internal
Methods in org.craftercms.studio.api.v2.service.content.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidContentTypeServiceInternal.deleteContentType(String siteId, String contentType, boolean deleteDependencies) Deletes all files related to a given content-typeContentTypeServiceInternal.getAllModelDefinitions(String site) Get all content types for the given site.ContentServiceInternal.getChildrenByPath(String siteId, String path, String locale, String keyword, List<String> systemTypes, List<String> excludes, String sortStrategy, String order, int offset, int limit) Get list of children for given pathContentServiceInternal.getChildrenByPaths(String siteId, List<String> paths, Map<String, GetChildrenBulkRequest.PathParams> pathParams) Get children for paths bulk.org.apache.commons.lang3.tuple.ImmutablePair<String, org.springframework.core.io.Resource> ContentTypeServiceInternal.getContentTypePreviewImage(String siteId, String contentTypeId) Finds the preview image for a given content-typeContentTypeServiceInternal.getContentTypeTemplatePath(String siteId, String contentTypeId) Extracts the path of the Freemarker template for a given content type idContentTypeServiceInternal.getContentTypeUsage(String siteId, String contentType) Finds all items related to a given content-typeContentServiceInternal.getContentVersionHistory(String siteId, String path) Get the version history for a given content item.ContentServiceInternal.getItemByPath(String siteId, String path, boolean preferContent) Get detailed for given pathContentServiceInternal.getItemsByStates(String siteId, long statesBitMap, List<String> systemTypes, List<org.craftercms.commons.rest.parameters.SortField> sortFields, int offset, int limit) Get a list of items by state and system types.ContentServiceInternal.getSandboxItemsById(String siteId, List<Long> ids, List<org.craftercms.commons.rest.parameters.SortField> sortFields, boolean preferContent) Get sandbox items for given list of pathsContentServiceInternal.getSandboxItemsByPath(String siteId, List<String> paths, boolean preferContent) Get sandbox items for given list of paths -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.dashboard
Methods in org.craftercms.studio.api.v2.service.dashboard that throw ServiceLayerExceptionModifier and TypeMethodDescriptionDashboardService.getContentExpired(String siteId, int offset, int limit) Get content that expiredDashboardService.getContentExpiring(String siteId, ZonedDateTime dateFrom, ZonedDateTime dateTo, int offset, int limit) Get content that is expiringDashboardService.getContentPendingApproval(String siteId, List<String> systemTypes, List<org.craftercms.commons.rest.parameters.SortField> sortFields, int offset, int limit) Get pending content for approvalDashboardService.getContentPendingApprovalDetail(String siteId, String publishingPackageId, List<org.craftercms.commons.rest.parameters.SortField> sortFields) Get content pending approval package detailsDashboardService.getContentUnpublished(String siteId, List<String> systemTypes, List<org.craftercms.commons.rest.parameters.SortField> sortFields, int offset, int limit) Get unpublished content itemsDashboardService.getPublishingHistoryDetail(String siteId, String publishingPackageId, int offset, int limit) Get publishing package detailsDashboardService.getPublishingScheduled(String siteId, String publishingTarget, String approver, ZonedDateTime dateFrom, ZonedDateTime dateTo, List<String> systemTypes, List<org.craftercms.commons.rest.parameters.SortField> sortFields, int offset, int limit) Get publishing scheduledDashboardService.getPublishingScheduledDetail(String siteId, String publishingPackageId) Get publishing package details -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.dependency
Methods in org.craftercms.studio.api.v2.service.dependency that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.dependency.internal
Methods in org.craftercms.studio.api.v2.service.dependency.internal that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.item.internal
Methods in org.craftercms.studio.api.v2.service.item.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidItemServiceInternal.lockItemByPath(String siteId, String path, String username) Lock item for given lock ownervoidItemServiceInternal.persistItemAfterCreate(String siteId, String path, String username, String commitId, boolean unlock, Long parentId) Persist item metadata after createvoidItemServiceInternal.persistItemAfterCreateFolder(String siteId, String folderPath, String folderName, String username, String commitId, Long parentId) Persist item metadata after create foldervoidItemServiceInternal.persistItemAfterRenameContent(String siteId, String path, String name, String username, String commitId, String contentType) Persist item metadata after rename foldervoidItemServiceInternal.persistItemAfterWrite(String siteId, String path, String username, String commitId, boolean unlock) Persist item metadata after write -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.log
Methods in org.craftercms.studio.api.v2.service.log that throw ServiceLayerExceptionModifier and TypeMethodDescriptiondefault LoggerConfigLoggerService.getLoggerConfig(String name) Get the logger with the given name.LoggerService.getLoggerConfig(String name, boolean createIfAbsent) Get the logger with the given name and its configured priority levelLoggerService.getLoggerConfigs()Get all loggers and their configured priority levelsvoidLoggerService.setLoggerLevel(String name, String level, boolean createIfAbsent) Updates a logger with a given name to have a given priority level -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.marketplace
Methods in org.craftercms.studio.api.v2.service.marketplace that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidMarketplaceService.createSite(CreateSiteRequest request) Creates a site using the given blueprintMarketplaceService.getPluginUsage(String siteId, String pluginId) List dependant items for a pluginvoidMarketplaceService.removePlugin(String siteId, String pluginId, boolean force) Removes a plugin from a sitevoidMarketplaceService.writePluginConfiguration(String siteId, String pluginId, String content) Writes the configuration for a given plugin -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.marketplace.internal
Methods in org.craftercms.studio.api.v2.service.marketplace.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidMarketplaceServiceInternal.createSite(CreateSiteRequest request) Creates a site using the given blueprintMarketplaceServiceInternal.getPluginUsage(String siteId, String pluginId) List dependant items for a pluginvoidMarketplaceServiceInternal.removePlugin(String siteId, String pluginId, boolean force) Removes a plugin from a sitevoidMarketplaceServiceInternal.writePluginConfiguration(String siteId, String pluginId, String content) Writes the configuration for a given plugin -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.publish
Methods in org.craftercms.studio.api.v2.service.publish that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidPublishService.cancelPublishingPackages(String siteId, List<String> packageIds) Cancel publishing packagesPublishService.getDeploymentHistory(String siteId, int daysFromToday, int numberOfItems, String filterType) Get deployment historyPublishService.publishAll(String siteId, String publishingTarget, String comment) Publishes all changes for the given site & target -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.publish.internal
Methods in org.craftercms.studio.api.v2.service.publish.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionPublishServiceInternal.publishAll(String siteId, String publishingTarget, String comment) Publishes all changes for the given site & target -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.repository
Methods in org.craftercms.studio.api.v2.service.repository that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanRepositoryManagementService.addRemote(String siteId, RemoteRepository remoteRepository) RepositoryManagementService.cancelFailedPull(String siteId) RepositoryManagementService.commitResolution(String siteId, String commitMessage) RepositoryManagementService.getDiffForConflictedFile(String siteId, String path) RepositoryManagementService.getRepositoryStatus(String siteId) booleanRepositoryManagementService.isCorrupted(String siteId, GitRepositories repositoryType) Checks if a given Git repository is corruptedRepositoryManagementService.listRemotes(String siteId) RepositoryManagementService.pullFromRemote(String siteId, String remoteName, String remoteBranch, String mergeStrategy) booleanRepositoryManagementService.pushToRemote(String siteId, String remoteName, String remoteBranch, boolean force) voidRepositoryManagementService.repairCorrupted(String siteId, GitRepositories repositoryType) Repairs a corrupted Git repositoryRepositoryManagementService.resolveConflict(String siteId, String path, String resolution) -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.repository.internal
Methods in org.craftercms.studio.api.v2.service.repository.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanRepositoryManagementServiceInternal.addRemote(String siteId, RemoteRepository remoteRepository) booleanRepositoryManagementServiceInternal.cancelFailedPull(String siteId) booleanRepositoryManagementServiceInternal.commitResolution(String siteId, String commitMessage) RepositoryManagementServiceInternal.getDiffForConflictedFile(String siteId, String path) RepositoryManagementServiceInternal.getRepositoryStatus(String siteId) booleanRepositoryManagementServiceInternal.isCorrupted(String siteId, GitRepositories repositoryType) Checks if a given Git repository is corruptedRepositoryManagementServiceInternal.pullFromRemote(String siteId, String remoteName, String remoteBranch, String mergeStrategy) booleanRepositoryManagementServiceInternal.pushToRemote(String siteId, String remoteName, String remoteBranch, boolean force) voidRepositoryManagementServiceInternal.repairCorrupted(String siteId, GitRepositories repositoryType) Repairs a corrupted Git repositorybooleanRepositoryManagementServiceInternal.resolveConflict(String siteId, String path, String resolution) -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.search
Methods in org.craftercms.studio.api.v2.service.search that throw ServiceLayerExceptionModifier and TypeMethodDescriptiondefault SearchResultSearchService.search(String siteId, SearchParams params) Performs a search operation for a given siteSearchService.search(String siteId, SearchParams params, int maxExpansions) Performs a search operation for a given site -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.security
Methods in org.craftercms.studio.api.v2.service.security that throw ServiceLayerExceptionModifier and TypeMethodDescriptionGroupService.addGroupMembers(long groupId, List<Long> userIds, List<String> usernames) Add users to the groupUserService.changePassword(String username, String current, String newPassword) User changes passwordAccessTokenService.createAccessToken(String label, Instant expiresOn) Creates a new access token for the current userGroupService.createGroup(long orgId, String groupName, String groupDescription, boolean externallyManaged) Create groupAccessTokenService.createTokens(org.springframework.security.core.Authentication auth, javax.servlet.http.HttpServletResponse response) Creates the access & refresh tokens for the given authenticationUserService.createUser(User user) voidGroupService.deleteGroup(List<Long> groupIds) Delete group(s)UserService.deleteUserProperties(String siteId, List<String> propertiesToDelete) Delete properties for the given site & current uservoidUserService.deleteUsers(List<Long> userIds, List<String> usernames) UserService.enableUsers(List<Long> userIds, List<String> usernames, boolean enabled) Encrypt textvoidUserService.forgotPassword(String username) Forgot password feature for given usernameGroupService.getAllGroups(long orgId, String keyword, int offset, int limit, String sort) Get all groupsintGroupService.getAllGroupsTotal(long orgId, String keyword) Get total number of all groupsUserService.getAllUsers(String keyword, int offset, int limit, String sort) Get paginated list of all users filtered by keywordUserService.getAllUsersForSite(long orgId, String site, String keyword, int offset, int limit, String sort) Get paginated list of all users for site filtered by keywordintUserService.getAllUsersForSiteTotal(long orgId, String site, String keyword) Get total number of users for site filtered by keywordintUserService.getAllUsersTotal(String keyword) Get total number of users filtered by keywordlongSecurityService.getAvailableActions(String username, String site, String path) Get available actions for given user over content from site and specified pathUserService.getCurrentUser()UserService.getCurrentUserGlobalPermissions()Get global permissions of the current authenticated userUserService.getCurrentUserSitePermissions(String site) Get permissions of the current authenticated user for given siteUserService.getCurrentUserSiteRoles(String site) UserService.getCurrentUserSites()GroupService.getGroup(long groupId) Get groupGroupService.getGroupMembers(long groupId, int offset, int limit, String sort) Get group membersintGroupService.getGroupMembersTotal(long groupId) Get total number of group membersUserService.getUserByIdOrUsername(long userId, String username) UserService.getUserProperties(String siteId) Get the properties for the given site & the current userUserService.getUserSiteRoles(long userId, String username, String site) UserService.getUserSites(long userId, String username) UserService.hasCurrentUserGlobalPermissions(List<String> permissions) Check if the current authenticated user has given global permissionsUserService.hasCurrentUserSitePermissions(String site, List<String> permissions) Check if the current authenticated user has given permissions for given sitevoidGroupService.removeGroupMembers(long groupId, List<Long> userIds, List<String> usernames) Remove users from the groupbooleanUserService.resetPassword(String username, String newPassword) Admin resets the user passwordUserService.setPassword(String token, String newPassword) Set user password - forgot password tokenGroupService.updateGroup(long orgId, Group group) Update groupvoidUserService.updateUser(User user) UserService.updateUserProperties(String siteId, Map<String, String> propertiesToUpdate) Update or add properties for the given site & the current userbooleanUserService.validateToken(String token) Validate forgot password token -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.security.internal
Methods in org.craftercms.studio.api.v2.service.security.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionGroupServiceInternal.addGroupMembers(long groupId, List<Long> userIds, List<String> usernames) booleanUserServiceInternal.changePassword(String username, String current, String newPassword) AccessTokenServiceInternal.createAccessToken(String label, Instant expiresOn) Creates a new access token for the current userGroupServiceInternal.createGroup(long orgId, String groupName, String groupDescription, boolean externallyManaged) AccessTokenServiceInternal.createTokens(org.springframework.security.core.Authentication auth, javax.servlet.http.HttpServletResponse response) Creates the access & refresh tokens for the given authenticationUserServiceInternal.createUser(User user) voidGroupServiceInternal.deleteGroup(List<Long> groupIds) UserServiceInternal.deleteUserProperties(String siteId, List<String> propertiesToDelete) Delete properties for the given site & current uservoidUserServiceInternal.deleteUsers(List<Long> userIds, List<String> usernames) UserServiceInternal.enableUsers(List<Long> userIds, List<String> usernames, boolean enabled) GroupServiceInternal.getAllGroups(long orgId, String keyword, int offset, int limit, String sort) intGroupServiceInternal.getAllGroupsTotal(long orgId, String keyword) UserServiceInternal.getAllUsers(String keyword, int offset, int limit, String sort) Get paginated list of all users filtered by keywordUserServiceInternal.getAllUsersForSite(long orgId, List<String> groupNames, String keyword, int offset, int limit, String sort) Get paginated list of all users for site filtered by keywordintUserServiceInternal.getAllUsersForSiteTotal(long orgId, String siteId, String keyword) Get total number of users for site filtered by keywordintUserServiceInternal.getAllUsersTotal(String keyword) Get total number of users filtered by keywordGroupServiceInternal.getGroup(long groupId) GroupServiceInternal.getGroupByName(String groupName) GroupServiceInternal.getGroupMembers(long groupId, int offset, int limit, String sort) intGroupServiceInternal.getGroupMembersTotal(long groupId) GroupServiceInternal.getSiteGroups(String siteId) UserServiceInternal.getUserByGitName(String gitName) Get user by git name.UserServiceInternal.getUserByIdOrUsername(long userId, String username) UserServiceInternal.getUserGroups(long userId, String username) UserServiceInternal.getUserProperties(String siteId) Get the properties for the given site & the current userUserServiceInternal.getUsersByIdOrUsername(List<Long> userIds, List<String> usernames) booleanGroupServiceInternal.groupExists(long groupId, String groupName) booleanUserServiceInternal.isUserMemberOfGroup(String username, String groupName) voidGroupServiceInternal.removeGroupMembers(long groupId, List<Long> userIds, List<String> usernames) booleanUserServiceInternal.setUserPassword(String username, String newPassword) GroupServiceInternal.updateGroup(long orgId, Group group) voidUserServiceInternal.updateUser(User user) UserServiceInternal.updateUserProperties(String siteId, Map<String, String> propertiesToUpdate) Update or add properties for the given site & the current userbooleanUserServiceInternal.userExists(long userId, String username) -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.site
Methods in org.craftercms.studio.api.v2.service.site that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.ui
Methods in org.craftercms.studio.api.v2.service.ui that throw ServiceLayerExceptionModifier and TypeMethodDescriptionUiService.getGlobalMenu()Returns the global menu items available to the current user. -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.service.workflow
Methods in org.craftercms.studio.api.v2.service.workflow that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidWorkflowService.approve(String siteId, List<String> paths, List<String> optionalDependencies, String publishingTarget, ZonedDateTime schedule, String comment) Approve request for publishvoidWorkflowService.delete(String siteId, List<String> paths, List<String> optionalDependencies, String comment) Delete content itemsWorkflowService.getWorkflowAffectedPaths(String siteId, String path) Get workflow affected paths if content is editedvoidWorkflowService.publish(String siteId, List<String> paths, List<String> optionalDependencies, String publishingTarget, ZonedDateTime schedule, String comment) Direct publish contentvoidReject request for publishvoidWorkflowService.requestPublish(String siteId, List<String> paths, List<String> optionalDependencies, String publishingTarget, ZonedDateTime schedule, String comment, boolean sendEmailNotifications) Request approval for content to be published -
Uses of ServiceLayerException in org.craftercms.studio.api.v2.utils
Methods in org.craftercms.studio.api.v2.utils that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanGitRepositoryHelper.createSiteCloneRemoteGitRepo(String siteId, String sandboxBranch, String remoteName, String remoteUrl, String remoteBranch, boolean singleBranch, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey, boolean createAsOrphan, String creator) org.eclipse.jgit.lib.PersonIdentGitRepositoryHelper.getAuthorIdent(String author) Return the author identity as a jgit PersonIdentorg.eclipse.jgit.lib.PersonIdentGitRepositoryHelper.getCurrentUserIdent()Return the current user identity as a jgit PersonIdentbooleanGitRepositoryHelper.isRemoteValid(org.eclipse.jgit.api.Git git, String remote, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey) voidGitRepositoryHelper.setAuthenticationForCommand(org.eclipse.jgit.api.TransportCommand<?, ?> gitCommand, String authenticationType, String username, String password, String token, String privateKey, Path tempKey, boolean decrypt) -
Uses of ServiceLayerException in org.craftercms.studio.controller.rest.v2
Methods in org.craftercms.studio.controller.rest.v2 with parameters of type ServiceLayerExceptionModifier and TypeMethodDescriptionExceptionHandlers.handleServiceException(javax.servlet.http.HttpServletRequest request, ServiceLayerException e) Methods in org.craftercms.studio.controller.rest.v2 that throw ServiceLayerExceptionModifier and TypeMethodDescriptionGroupsController.addGroupMembers(int groupId, AddGroupMembers addGroupMembers) Add group members APIRepositoryManagementController.addRemote(javax.servlet.http.HttpServletResponse response, @Valid RemoteRepository remoteRepository) WorkflowController.approve(@Valid ApproveRequestBody approveRequestBody) RepositoryManagementController.cancelFailedPull(@Valid CancelFailedPullRequest cancelFailedPullRequest) PublishController.cancelPublishingPackages(@Valid CancelPublishingPackagesRequest cancelPublishingPackagesRequest) UsersController.changePassword(@Valid ChangePasswordRequest changePasswordRequest) UsersController.checkCurrentUserHasGlobalPermissions(@Valid HasPermissionsRequest permissionsRequest) Check if the current authenticated user has global permissionsUsersController.checkCurrentUserHasSitePermissions(String site, @Valid HasPermissionsRequest permissionsRequest) Check if user has permissions in a site of the current authenticated user APIRepositoryManagementController.commitConflictResolution(@Valid CommitResolutionRequest commitResolutionRequest) SecurityController.createAccessToken(@Valid CreateAccessTokenRequest request) GroupsController.createGroup(@Valid Group group) Create group APISitesController.createSite(@Valid CreateSiteRequest request) UsersController.createUser(@Valid CreateUserRequest user) Create user API@Valid ResponseBodyContentController.delete(DeleteRequestBody deleteRequestBody) ConfigurationController.deleteContentType(@Valid ConfigurationController.DeleteContentTypeRequest request) GroupsController.deleteGroups(List<Long> groupIds) Delete group APIUsersController.deleteUserProperties(String siteId, @Valid @NotEmpty List<@NotBlank String> properties) UsersController.deleteUsers(List<@NotNull Long> userIds, List<@NotBlank String> usernames) Delete users APIUsersController.disableUsers(@Valid EnableUsers enableUsers) Disable users APISitesController.duplicateSite(String sourceSiteId, @Valid DuplicateSiteRequest request) UsersController.enableUsers(@Valid EnableUsers enableUsers) Enable users APISecurityController.encryptText(@Valid EncryptRequest request) GroupsController.getAllGroups(String keyword, @javax.validation.constraints.PositiveOrZero int offset, @javax.validation.constraints.PositiveOrZero int limit, String sort) Get groups APIUsersController.getAllUsers(String siteId, String keyword, @javax.validation.constraints.PositiveOrZero int offset, @javax.validation.constraints.PositiveOrZero int limit, String sort) Get all users APIResultList<org.craftercms.commons.plugin.model.PluginDescriptor> SitesController.getAvailableBlueprints()@Valid ResultContentController.getChildrenByPath(@Valid GetChildrenByPathRequestBody request) Deprecated.ContentController.getChildrenByPaths(String siteId, @Valid GetChildrenBulkRequest request) ConfigurationController.getConfigurationHistory(String siteId, String module, String path, String environment) @Valid org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> ContentController.getContentByCommitId(String siteId, String path, String commitId) DashboardController.getContentExpired(String siteId, @javax.validation.constraints.PositiveOrZero int offset, @javax.validation.constraints.PositiveOrZero int limit) DashboardController.getContentExpiring(String siteId, ZonedDateTime dateFrom, ZonedDateTime dateTo, @javax.validation.constraints.PositiveOrZero int offset, @javax.validation.constraints.PositiveOrZero int limit) @Valid PaginatedResultList<DetailedItem> DashboardController.getContentPendingApproval(String siteId, @javax.validation.constraints.PositiveOrZero int offset, @javax.validation.constraints.PositiveOrZero int limit, List<org.craftercms.commons.rest.parameters.SortField> sortFields, List<String> systemTypes) @Valid ResultList<SandboxItem> DashboardController.getContentPendingApprovalDetail(String siteId, UUID packageId, List<org.craftercms.commons.rest.parameters.SortField> sortFields) org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> ConfigurationController.getContentTypePreviewImage(String siteId, String contentTypeId) @Valid PaginatedResultList<SandboxItem> DashboardController.getContentUnpublished(String siteId, @javax.validation.constraints.PositiveOrZero int offset, @javax.validation.constraints.PositiveOrZero int limit, List<org.craftercms.commons.rest.parameters.SortField> sortFields, List<String> systemTypes) UsersController.getCurrentUser()Get current authenticated user APIUsersController.getCurrentUserGlobalPermissions()Get the global permissions of the current authenticated user APIUsersController.getCurrentUserSitePermissions(String site) Get the permissions in a site of the current authenticated user APIUsersController.getCurrentUserSiteRoles(@NotBlank String site) Get the roles in a site of the current authenticated user APIUsersController.getCurrentUserSites(@javax.validation.constraints.PositiveOrZero int offset, @javax.validation.constraints.PositiveOrZero int limit) Get the sites of the current authenticated user APIMarketplaceController.getDependantItems(String siteId, String pluginId) RepositoryManagementController.getDiffForConflictedFile(String siteId, String path) UiController.getGlobalMenu()GroupsController.getGroup(int groupId) Get group APIGroupsController.getGroupMembers(int groupId, @javax.validation.constraints.PositiveOrZero int offset, @javax.validation.constraints.PositiveOrZero int limit, String sort) Get group members APIContentController.getHistory(String siteId, String path) @Valid ResponseBodyContentController.getItemByPath(String siteId, String path, boolean preferContent) LoggerController.getLoggers()ModelController.getModelDefinitions(String siteId) PublishController.getPublishingHistory(String siteId, @javax.validation.constraints.PositiveOrZero int daysFromToday, @javax.validation.constraints.PositiveOrZero int numberOfItems, String filterType) @Valid PaginatedResultList<SandboxItem> DashboardController.getPublishingHistoryDetail(String siteId, UUID packageId, @javax.validation.constraints.PositiveOrZero int offset, @javax.validation.constraints.PositiveOrZero int limit) @Valid PaginatedResultList<DetailedItem> DashboardController.getPublishingScheduled(String siteId, String publishingTarget, String approver, ZonedDateTime dateFrom, ZonedDateTime dateTo, @javax.validation.constraints.PositiveOrZero int offset, @javax.validation.constraints.PositiveOrZero int limit, List<org.craftercms.commons.rest.parameters.SortField> sortFields, List<String> systemTypes) @Valid ResultList<SandboxItem> DashboardController.getPublishingScheduledDetail(String siteId, UUID packageId) RepositoryManagementController.getRepositoryStatus(String siteId) ContentController.getSandboxItemsByPath(@Valid GetSandboxItemsByPathRequestBody request) @Valid ResponseBodyDependencyController.getSoftDependencies(@Valid GetSoftDependenciesRequestBody request) ConfigurationController.getTranslationConfiguration(String siteId) Get user APIUsersController.getUserProperties(String siteId) UsersController.getUserSiteRoles(@NotNull String userId, @NotNull String site) Get user roles for a site APIUsersController.getUserSites(@NotNull String userId, @javax.validation.constraints.PositiveOrZero int offset, @javax.validation.constraints.PositiveOrZero int limit) Get user sites APIWorkflowController.getWorkflowAffectedPaths(String siteId, String path) RepositoryManagementController.isRepositoryCorrupted(String siteId, GitRepositories repositoryType) @Valid ResponseBodyContentController.itemLockByPath(@Valid LockItemByPathRequest request) RepositoryManagementController.listRemotes(String siteId) WorkflowController.publish(@Valid PublishRequestBody publishRequestBody) PublishController.publishAll(@Valid PublishAllRequest request) RepositoryManagementController.pullFromRemote(@Valid PullFromRemoteRequest pullFromRemoteRequest) RepositoryManagementController.pushToRemote(javax.servlet.http.HttpServletResponse response, @Valid PushToRemoteRequest pushToRemoteRequest) WorkflowController.reject(@Valid RejectRequestBody rejectRequestBody) GroupsController.removeGroupMembers(int groupId, List<Long> userIds, List<@NotBlank String> usernames) Remove group members APIMarketplaceController.removePlugin(@Valid MarketplaceController.RemovePluginRequest request) ContentController.rename(@Valid RenameRequestBody renameRequestBody) RepositoryManagementController.repairCorruptedRepository(@Valid RepairRepositoryRequest request) WorkflowController.requestPublish(@Valid RequestPublishRequestBody requestPublishRequestBody) UsersController.resetPassword(@NotBlank String userId, @Valid ResetPasswordRequest resetPasswordRequest) RepositoryManagementController.resolveConflict(@Valid ResolveConflictRequest resolveConflictRequest) SearchController.search(String siteId, @Valid SearchParams params) @Valid ResultOne<LoggerConfig> LoggerController.setLoggerLevel(@Valid LoggerConfigRequest loggerConfig) UsersController.setPassword(@Valid SetPasswordRequest setPasswordRequest) GroupsController.updateGroup(@Valid UpdateGroupRequest updateRequest) Update group APIUsersController.updateUser(@Valid UpdateUserRequest user) Update user APIUsersController.updateUserProperties(@Valid UpdateUserPropertiesRequest request) UsersController.validateToken(javax.servlet.http.HttpServletResponse response, @NotBlank String token) @Valid ResponseBodyConfigurationController.writeConfiguration(WriteConfigurationRequest wcRequest) PluginController.writeConfiguration(@Valid PluginController.WriteConfigurationRequest request) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.content.pipeline
Methods in org.craftercms.studio.impl.v1.content.pipeline that throw ServiceLayerExceptionModifier and TypeMethodDescriptionFormDmContentProcessor.createMissingFoldersInPath(String site, String path, boolean isPreview) protected ContentItemTOFormDmContentProcessor.createNewFile(String site, ContentItemTO parentItem, String fileName, InputStream input, String user, boolean unlock, ResultTO result) create new file to the given path.FormDmContentProcessor.fileToFolder(String site, String path) voidBaseContentProcessor.process(PipelineContent content, ResultTO result) voidPostActivityProcessor.process(PipelineContent content, ResultTO result) voidContentProcessorPipelineImpl.processContent(PipelineContent content, ResultTO result) protected voidAssetDmContentProcessor.updateFile(String site, String relativePath, InputStream input, String user, boolean isPreview, boolean unlock, ResultTO result) update the file at the given content nodeprotected voidFormDmContentProcessor.updateFile(String site, String path, InputStream input, String user, boolean isPreview, boolean unlock, ResultTO result) update the file at the given content nodeprotected voidFormDmContentProcessor.writeContent(PipelineContent content, ResultTO result) protected ContentAssetInfoTOAssetDmContentProcessor.writeContentAsset(PipelineContent content, String site, String user, String path, String assetName, InputStream in, int width, int height, boolean createFolders, boolean isPreview, boolean unlock, boolean isSystemAsset, ResultTO result) upload content asset to the given path -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.entitlement
Methods in org.craftercms.studio.impl.v1.entitlement that throw ServiceLayerExceptionModifier and TypeMethodDescriptionprotected intStudioEntitlementUsageProvider.countUsers()intStudioEntitlementUsageProvider.doGetEntitlementUsage(org.craftercms.commons.entitlements.model.EntitlementType type) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.executor
Methods in org.craftercms.studio.impl.v1.executor that throw ServiceLayerExceptionModifier and TypeMethodDescriptionProcessContentExecutorImpl.processContent(String id, InputStream input, boolean isXml, Map<String, String> params, String chainName) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.repository.git
Methods in org.craftercms.studio.impl.v1.repository.git that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanGitContentRepository.addRemote(String siteId, String remoteName, String remoteUrl, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey) GitContentRepository.listRemote(String siteId, String sandboxBranch) booleanGitContentRepository.pullFromRemote(String siteId, String remoteName, String remoteBranch) booleanGitContentRepository.pushToRemote(String siteId, String remoteName, String remoteBranch) voidGitContentRepository.resetStagingRepository(String siteId) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.repository.job
Methods in org.craftercms.studio.impl.v1.repository.job that throw ServiceLayerExceptionModifier and TypeMethodDescriptionprotected booleanRebuildRepositoryMetadata.rebuildMetadata(String site) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.service.content
Methods in org.craftercms.studio.impl.v1.service.content that throw ServiceLayerExceptionModifier and TypeMethodDescriptionprotected voidContentServiceImpl.addDependenciesToDelete(String site, String sourceContentPath, GoLiveDeleteCandidates candidates) protected voidContentServiceImpl.addRemovedDependenciesToDelete(String site, String relativePath, GoLiveDeleteCandidates candidates) @javax.validation.Valid booleanContentTypeServiceImpl.changeContentType(String site, String path, String contentType) voidContentServiceImpl.checkContentExists(String site, String path) voidContentServiceImpl.checkWriteAssetPath(String path) protected voidContentServiceImpl.childDeleteItems(String site, ContentItemTO contentItem, GoLiveDeleteCandidates items) Iterate over all paths inside the folderprotected ContentServiceImpl.PastedPathMapContentServiceImpl.constructNewPathForCutCopy(String site, String fromPath, String toPath, boolean adjustOnCollide) @Valid StringContentServiceImpl.copyContent(String site, String fromPath, String toPath) protected StringContentServiceImpl.copyContent(String site, String fromPath, String toPath, Set<String> processedPaths) internal method copy that handles Get dependencies is already recursive@javax.validation.Valid booleanContentServiceImpl.createFolder(String site, String path, String name) @javax.validation.Valid booleanContentServiceImpl.deleteContent(String site, String path, boolean generateActivity, String approver) @javax.validation.Valid booleanContentServiceImpl.deleteContent(String site, String path, String approver) protected voidContentServiceImpl.generateDeleteActivity(String site, String path, String approver) @Valid ContentTypeConfigTOContentTypeServiceImpl.getContentTypeByRelativePath(String site, String relativePath) @Valid ContentTypeConfigTOContentTypeServiceImpl.getContentTypeForContent(String site, String path) @Valid GoLiveDeleteCandidatesContentServiceImpl.getDeleteCandidates(String site, String relativePath) ContentItemIdGeneratorImpl.getIds()ContentServiceImpl.getItemSpecificDependencies(String site, String path, org.dom4j.Document document, Map<String, String> copyDependencies) ContentServiceImpl.getRemovedDependencies(DependencyDiffService.DiffRequest diffRequest, boolean matchDeletePattern) voidContentServiceImpl.lockContent(String site, String path) protected voidContentServiceImpl.populateMetadata(String site, ContentItemTO item) @Valid ResultTOContentServiceImpl.processContent(String id, InputStream input, boolean isXml, Map<String, String> params, String contentChainForm) booleanContentServiceImpl.pullFromRemote(String siteId, String remoteName, String remoteBranch) booleanContentServiceImpl.pushToRemote(String siteId, String remoteName, String remoteBranch) @javax.validation.Valid booleanContentServiceImpl.renameContent(String site, String path, String name) @javax.validation.Valid booleanContentServiceImpl.revertContentItem(String site, String path, String version, boolean major, String comment) protected voidContentServiceImpl.updateChildrenOnMove(String site, String fromPath, String movePath) protected voidContentServiceImpl.updateDatabaseOnMove(String site, String fromPath, String movePath) protected voidContentServiceImpl.updateDatabaseOnMove(String site, String fromPath, String movePath, Long parentId, String label, String folderLabel) booleanContentServiceImpl.validateAndCreateFolder(String site, String path, String name) @Valid StringContentServiceImpl.writeContent(String site, String path, InputStream content) voidContentServiceImpl.writeContent(String site, String path, String fileName, String contentType, InputStream input, String createFolders, String edit, String unlock) voidContentServiceImpl.writeContent(String site, String path, String fileName, String contentType, InputStream input, String createFolders, String edit, String unlock, boolean skipAuditLogInsert) @javax.validation.Valid booleanContentServiceImpl.writeContentAndNotify(String site, String path, InputStream content) voidContentServiceImpl.writeContentAndRename(String site, String path, String targetPath, String fileName, String contentType, InputStream input, String createFolders, String edit, String unlock, boolean createFolder) ContentServiceImpl.writeContentAsset(String site, String path, String assetName, InputStream in, String isImage, String allowedWidth, String allowedHeight, String allowLessSize, String draft, String unlock, String systemAsset) write content asset -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.service.dependency
Methods in org.craftercms.studio.impl.v1.service.dependency that throw ServiceLayerExceptionModifier and TypeMethodDescriptionDependencyServiceImpl.calculateDependencies(String site, List<String> paths) DependencyServiceImpl.calculateDependenciesPaths(String site, List<String> paths) voidDependencyServiceImpl.deleteItemDependencies(String site, String path) voidDependencyServiceImpl.deleteSiteDependencies(String site) DependencyDiffServiceImpl.diff(DependencyDiffService.DiffRequest diffRequest) Computes addedDependenices and removedDependenices based on the DiffRequest information providedDependencyDiffServiceImpl.findDependencies(String site, String sandbox, String relativePath, boolean isRecursive, List<String> dependencies) DependencyServiceImpl.getDeleteDependencies(String site, String path) DependencyServiceImpl.getDeleteDependencies(String site, List<String> paths) DependencyServiceImpl.getItemDependencies(String site, String path, int depth) DependencyServiceImpl.getItemsDependingOn(String site, String path, int depth) DependencyServiceImpl.getItemSpecificDependencies(String site, String path, int depth) DependencyServiceImpl.getPublishingDependencies(String site, String path) DependencyServiceImpl.getPublishingDependencies(String site, List<String> paths) DependencyServiceImpl.moveDependencies(String site, String oldPath, String newPath) DependencyServiceImpl.upsertDependencies(String site, String path) DependencyServiceImpl.upsertDependencies(String site, List<String> paths) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.service.deployment
Methods in org.craftercms.studio.impl.v1.service.deployment that throw ServiceLayerExceptionModifier and TypeMethodDescriptionprotected voidDeploymentServiceImpl.addToScheduledDateList(String site, String environment, ZonedDateTime launchDate, String path, String packageId, List<ContentItemTO> scheduledItems, DmContentItemComparator comparator, DmContentItemComparator subComparator, List<String> displayPatterns) add the given node to the scheduled items listvoidDeploymentServiceImpl.bulkGoLive(String site, String environment, String path, String comment) voidDmPublishServiceImpl.bulkGoLive(String site, String environment, String path, String comment) voidDeploymentServiceImpl.delete(String site, List<String> paths, String approver, ZonedDateTime scheduledDate, String submissionComment) voidDeploymentServiceImpl.deploy(String site, String environment, List<String> paths, ZonedDateTime scheduledDate, String approver, String submissionComment, boolean scheduleDateNow) @Valid List<ContentItemTO> DeploymentServiceImpl.getScheduledItems(String site, String sort, boolean ascending, String subSort, boolean subAscending, String filterType) PublishingManagerImpl.processItem(PublishRequest item) PublishingManagerImpl.processMandatoryDependencies(PublishRequest item, Set<String> pathsToDeploy, Set<String> missingDependenciesPaths) voidDeploymentServiceImpl.publishCommits(String site, String environment, List<String> commitIds, String comment) voidDeploymentServiceImpl.publishItems(String site, String environment, ZonedDateTime schedule, List<String> paths, String submissionComment) voidDeploymentServiceImpl.resetStagingEnvironment(String siteId) protected voidDeploymentServiceImpl.sendContentApprovalEmail(List<PublishRequest> itemList, boolean scheduleDateNow) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.service.security
Methods in org.craftercms.studio.impl.v1.service.security that throw ServiceLayerExceptionModifier and TypeMethodDescriptionintSecurityServiceImpl.getAllUsersTotal()SecurityServiceImpl.getUserGlobalRoles(long userId, String username) SecurityServiceImpl.getUserProfile(String user) SecurityServiceImpl.getUserProfileByGitName(String gitName) @javax.validation.Valid booleanSecurityServiceImpl.userExists(String username) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.service.site
Methods in org.craftercms.studio.impl.v1.service.site that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanSiteServiceImpl.addRemote(String siteId, String remoteName, String remoteUrl, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey) voidSiteServiceImpl.createSiteWithRemoteOption(@Size(max=50) String siteId, String siteName, String sandboxBranch, String description, String blueprintName, String remoteName, String remoteUrl, String remoteBranch, boolean singleBranch, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey, String createOption, Map<String, String> params, boolean createAsOrphan) SiteServiceImpl.getSiteDetails(String siteId) SiteServiceImpl.getSitesPerUser(int start, int number) SiteServiceImpl.getSitesPerUser(String username, int start, int number) @javax.validation.Valid intSiteServiceImpl.getSitesPerUserTotal()@javax.validation.Valid intSiteServiceImpl.getSitesPerUserTotal(String username) SiteServiceImpl.listRemote(String siteId) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.service.workflow
Methods in org.craftercms.studio.impl.v1.service.workflow that throw ServiceLayerExceptionModifier and TypeMethodDescriptionprotected voidWorkflowServiceImpl._cancelWorkflow(String site, String path) protected List<DmDependencyTO> WorkflowServiceImpl.addDependenciesForSubmitForApproval(String site, List<DmDependencyTO> submittedItems, SimpleDateFormat format, String globalScheduledDate) protected List<DmDependencyTO> WorkflowServiceImpl.addDependenciesForSubmittedItems(String site, List<DmDependencyTO> submittedItems, SimpleDateFormat format, String globalScheduledDate) protected voidWorkflowServiceImpl.cleanUrisFromWorkflow(Set<String> uris, String site) @javax.validation.Valid booleanWorkflowServiceImpl.cleanWorkflow(String url, String site) protected voidWorkflowServiceImpl.doDelete(String site, List<DmDependencyTO> submittedItems, String approver) protected voidWorkflowServiceImpl.doSubmit(String site, String dependency, ZonedDateTime scheduledDate, boolean sendEmail, String user, String submissionComment, String environment) WorkflowServiceImpl.getGoLiveItems(String site, String sort, boolean ascending) protected List<ContentItemTO> WorkflowServiceImpl.getGoLiveItems(String site, DmContentItemComparator comparator) protected List<DmDependencyTO> WorkflowServiceImpl.getRefAndChildOfDiffDateFromParent(String site, List<DmDependencyTO> submittedItems, boolean removeInPages) protected DmDependencyTOWorkflowServiceImpl.getSubmittedItem(String site, net.sf.json.JSONObject item, SimpleDateFormat format, String globalSchDate) get a submitted item from a JSON itemprotected List<DmDependencyTO> WorkflowServiceImpl.getSubmittedItems(String site, net.sf.json.JSONArray items, SimpleDateFormat format, String schDate) get submitted items from JSON requestWorkflowServiceImpl.getWorkflowAffectedPathsInternal(String site, String path) @Valid ResultTOapprove workflows and schedule them as specified in the requestWorkflowServiceImpl.preDelete(Set<String> urisToDelete, GoLiveContext context, Set<String> rescheduledUris) @Valid ResultTOprotected voidWorkflowServiceImpl.reject(String site, List<DmDependencyTO> submittedItems, String reason, String approver) @javax.validation.Valid booleanWorkflowServiceImpl.removeFromWorkflow(String site, String path, boolean cancelWorkflow) protected booleanWorkflowServiceImpl.removeFromWorkflow(String site, String path, Set<String> processedPaths, boolean cancelWorkflow) protected voidWorkflowServiceImpl.resolveSubmittedPaths(String site, DmDependencyTO item, List<String> submittedPaths, Set<String> processedPaths) WorkflowServiceImpl.submitToGoLive(List<DmDependencyTO> submittedItems, ZonedDateTime scheduledDate, boolean sendEmail, boolean submitForDeletion, RequestContext requestContext, String submissionComment, String environment) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.service.workflow.operation
Methods in org.craftercms.studio.impl.v1.service.workflow.operation that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.impl.v1.util
Methods in org.craftercms.studio.impl.v1.util that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidGoLiveQueueOrganizer.addToGoLiveItems(String site, ContentItemTO node, List<ContentItemTO> categoryItems, DmContentItemComparator comparator, boolean includeInProgress, List<String> displayPatterns) static StringPathMacrosTransaltor.resolvePath(String path, Map<String, String> properties) Match the URL with the know patterns and translate them to actual value -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.job
Methods in org.craftercms.studio.impl.v2.job that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.repository
Methods in org.craftercms.studio.impl.v2.repository that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidGitContentRepository.cancelPublishAll(String siteId, String publishingTarget) voidGitContentRepository.checkContentExists(String site, String path) voidGitContentRepository.completePublishAll(String siteId, String publishingTarget, RepositoryChanges changes, String comment) booleanGitContentRepository.createSiteCloneRemote(String siteId, String sandboxBranch, String remoteName, String remoteUrl, String remoteBranch, boolean singleBranch, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey, Map<String, String> params, boolean createAsOrphan, String creator) voidGitContentRepository.duplicateSite(String sourceSiteId, String siteId, String sourceSandboxBranch, String sandboxBranch) GitContentRepository.preparePublishAll(String siteId, String publishingTarget) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.repository.blob
Methods in org.craftercms.studio.impl.v2.repository.blob that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanBlobAwareContentRepository.addRemote(String siteId, String remoteName, String remoteUrl, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey) voidBlobAwareContentRepository.checkContentExists(String site, String path) booleanBlobAwareContentRepository.createSiteCloneRemote(String siteId, String sandboxBranch, String remoteName, String remoteUrl, String remoteBranch, boolean singleBranch, String authenticationType, String remoteUsername, String remotePassword, String remoteToken, String remotePrivateKey, Map<String, String> params, boolean createAsOrphan, String creator) BlobAwareContentRepository.deleteContent(String site, String path, String approver) voidBlobAwareContentRepository.duplicateBlobs(String sourceSiteId, String siteId) voidBlobAwareContentRepository.duplicateSite(String sourceSiteId, String siteId, String sourceSandboxBranch, String sandboxBranch) protected StudioBlobStoreBlobAwareContentRepository.getBlobStore(String site, String... paths) StudioBlobStoreResolverImpl.getByPaths(String site, String... paths) booleanBlobAwareContentRepository.listRemote(String siteId, String sandboxBranch) BlobAwareContentRepository.publishAll(String siteId, String publishingTarget, String comment) booleanBlobAwareContentRepository.pullFromRemote(String siteId, String remoteName, String remoteBranch) booleanBlobAwareContentRepository.pushToRemote(String siteId, String remoteName, String remoteBranch) voidBlobAwareContentRepository.resetStagingRepository(String siteId) BlobAwareContentRepository.writeContent(String site, String path, InputStream content) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.repository.blob.s3
Methods in org.craftercms.studio.impl.v2.repository.blob.s3 that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidStudioAwsS3BlobStore.checkContentExists(String site, String path) protected voidStudioAwsS3BlobStore.checkReadWriteMode()Checks that the blob store is in writable mode (readOnly = false) and throws an exception if it is not.StudioAwsS3BlobStore.copyContent(String site, String fromPath, String toPath) StudioAwsS3BlobStore.createFolder(String site, String path, String name) StudioAwsS3BlobStore.deleteContent(String site, String path, String approver) StudioAwsS3BlobStore.moveContent(String site, String fromPath, String toPath, String newName) StudioAwsS3BlobStore.writeContent(String site, String path, InputStream content) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.security
Methods in org.craftercms.studio.impl.v2.security that throw ServiceLayerExceptionModifier and TypeMethodDescriptionlongSemanticsAvailableActionsResolverImpl.calculateContentItemAvailableActions(String username, String siteId, Item item) longSemanticsAvailableActionsResolverImpl.calculateContentItemAvailableActions(String username, String siteId, DetailedItem detailedItem) longAvailableActionsResolverImpl.getContentItemAvailableActions(String username, String siteId, String path) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.clipboard
Methods in org.craftercms.studio.impl.v2.service.clipboard that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.clipboard.internal
Methods in org.craftercms.studio.impl.v2.service.clipboard.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionClipboardServiceInternalImpl.duplicateItem(String siteId, String path) ClipboardServiceInternalImpl.pasteItems(String siteId, Operation operation, String targetPath, PasteItem item) protected voidClipboardServiceInternalImpl.pasteItemsInternal(String siteId, Operation operation, String targetPath, List<PasteItem> items, List<String> pastedItems) protected voidClipboardServiceInternalImpl.validatePasteItemsAction(String siteId, Operation operation, String sourcePath, String targetPath) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.configuration
Methods in org.craftercms.studio.impl.v2.service.configuration that throw ServiceLayerExceptionModifier and TypeMethodDescriptionorg.dom4j.DocumentConfigurationServiceImpl.getConfigurationAsDocument(String siteId, String module, String path, String environment) ConfigurationServiceImpl.getConfigurationHistory(String siteId, String module, String path, String environment) org.dom4j.DocumentConfigurationServiceImpl.getGlobalConfigurationAsDocument(String path) ConfigurationServiceImpl.getGlobalRoleMappings()ConfigurationServiceImpl.getRoleMappings(String siteId) ConfigurationServiceImpl.getTranslationConfiguration(String siteId) ConfigurationServiceImpl.legacyGetConfiguration(String site, String path) voidConfigurationServiceImpl.makeBlobStoresReadOnly(String siteId) voidConfigurationServiceImpl.writeConfiguration(String siteId, String module, String path, String environment, InputStream content) voidConfigurationServiceImpl.writeGlobalConfiguration(String path, InputStream content) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.configuration.internal
Methods in org.craftercms.studio.impl.v2.service.configuration.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionorg.dom4j.DocumentConfigurationServiceInternalImpl.getConfigurationAsDocument(String siteId, String module, String path, String environment) ConfigurationServiceInternalImpl.getConfigurationHistory(String siteId, String module, String path, String environment) org.dom4j.DocumentConfigurationServiceInternalImpl.getGlobalConfigurationAsDocument(String path) ConfigurationServiceInternalImpl.getGlobalRoleMappings()ConfigurationServiceInternalImpl.getRoleMappings(String siteId) ConfigurationServiceInternalImpl.getTranslationConfiguration(String siteId) ConfigurationServiceInternalImpl.legacyGetConfiguration(String site, String path) voidConfigurationServiceInternalImpl.makeBlobStoresReadOnly(String siteId) protected InputStreamConfigurationServiceInternalImpl.validate(InputStream content, String filename) voidConfigurationServiceInternalImpl.writeConfiguration(String siteId, String module, String path, String environment, InputStream content) voidConfigurationServiceInternalImpl.writeGlobalConfiguration(String path, InputStream content) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.content
Methods in org.craftercms.studio.impl.v2.service.content that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanContentServiceImpl.deleteContent(String siteId, String path, String submissionComment) booleanContentServiceImpl.deleteContent(String siteId, List<String> paths, String submissionComment) voidContentTypeServiceImpl.deleteContentType(String siteId, String contentType, boolean deleteDependencies) Deletes all files related to a given content-typeContentTypeServiceImpl.getAllModelDefinitions(String site) ContentServiceImpl.getChildrenByPath(String siteId, String path, String locale, String keyword, List<String> systemTypes, List<String> excludes, String sortStrategy, String order, int offset, int limit) ContentServiceImpl.getChildrenByPaths(String siteId, List<String> paths, Map<String, GetChildrenBulkRequest.PathParams> pathParams) org.apache.commons.lang3.tuple.ImmutablePair<String, org.springframework.core.io.Resource> ContentTypeServiceImpl.getContentTypePreviewImage(String siteId, String contentTypeId) Finds the preview image for a given content-typeContentTypeServiceImpl.getContentTypeUsage(String siteId, String contentType) Finds all items related to a given content-typeContentServiceImpl.getContentVersionHistory(String siteId, String path) ContentServiceImpl.getItemByPath(String siteId, String path, boolean preferContent) ContentServiceImpl.getSandboxItemsByPath(String siteId, List<String> paths, boolean preferContent) voidContentServiceImpl.lockContent(String siteId, String path) booleanContentServiceImpl.renameContent(String site, String path, String name) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.content.internal
Methods in org.craftercms.studio.impl.v2.service.content.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidContentTypeServiceInternalImpl.deleteContentType(String siteId, String contentType, boolean deleteDependencies) ContentTypeServiceInternalImpl.getAllModelDefinitions(String site) ContentServiceInternalImpl.getChildrenByPath(String siteId, String path, String locale, String keyword, List<String> systemTypes, List<String> excludes, String sortStrategy, String order, int offset, int limit) ContentServiceInternalImpl.getChildrenByPaths(String siteId, List<String> paths, Map<String, GetChildrenBulkRequest.PathParams> pathParams) org.apache.commons.lang3.tuple.ImmutablePair<String, org.springframework.core.io.Resource> ContentTypeServiceInternalImpl.getContentTypePreviewImage(String siteId, String contentTypeId) protected StringContentTypeServiceInternalImpl.getContentTypePreviewImageFilename(String siteId, String contentTypeId) Get preview image filename extract from form-definition.xmlContentTypeServiceInternalImpl.getContentTypeTemplatePath(String siteId, String contentTypeId) ContentTypeServiceInternalImpl.getContentTypeUsage(String siteId, String contentType) ContentServiceInternalImpl.getContentVersionHistory(String siteId, String path) protected org.dom4j.DocumentContentTypeServiceInternalImpl.getFormDefinitionDocument(String siteId, String contentTypeId) Get form-definition.xml as Document of a content typeContentServiceInternalImpl.getItemByPath(String siteId, String path, boolean preferContent) ContentServiceInternalImpl.getItemsByStates(String siteId, long statesBitMap, List<String> systemTypes, List<org.craftercms.commons.rest.parameters.SortField> sortFields, int offset, int limit) ContentServiceInternalImpl.getSandboxItemsById(String siteId, List<Long> ids, List<org.craftercms.commons.rest.parameters.SortField> sortFields, boolean preferContent) ContentServiceInternalImpl.getSandboxItemsByPath(String siteId, List<String> paths, boolean preferContent) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.dashboard
Methods in org.craftercms.studio.impl.v2.service.dashboard that throw ServiceLayerExceptionModifier and TypeMethodDescriptionDashboardServiceImpl.getContentExpired(String siteId, int offset, int limit) DashboardServiceImpl.getContentExpiring(String siteId, ZonedDateTime dateFrom, ZonedDateTime dateTo, int offset, int limit) DashboardServiceImpl.getContentPendingApproval(String siteId, List<String> systemTypes, List<org.craftercms.commons.rest.parameters.SortField> sortFields, int offset, int limit) DashboardServiceImpl.getContentPendingApprovalDetail(String siteId, String publishingPackageId, List<org.craftercms.commons.rest.parameters.SortField> sortFields) DashboardServiceImpl.getContentUnpublished(String siteId, List<String> systemTypes, List<org.craftercms.commons.rest.parameters.SortField> sortFields, int offset, int limit) DashboardServiceImpl.getPublishingHistoryDetail(String siteId, String publishingPackageId, int offset, int limit) DashboardServiceImpl.getPublishingScheduled(String siteId, String publishingTarget, String approver, ZonedDateTime dateFrom, ZonedDateTime dateTo, List<String> systemTypes, List<org.craftercms.commons.rest.parameters.SortField> sortFields, int offset, int limit) DashboardServiceImpl.getPublishingScheduledDetail(String siteId, String publishingPackageId) protected ExpiringContentResultDashboardServiceImpl.processResults(String siteId, SearchResult results) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.dependency
Methods in org.craftercms.studio.impl.v2.service.dependency that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.dependency.internal
Methods in org.craftercms.studio.impl.v2.service.dependency.internal that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.item.internal
Methods in org.craftercms.studio.impl.v2.service.item.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidItemServiceInternalImpl.lockItemByPath(String siteId, String path, String username) voidItemServiceInternalImpl.persistItemAfterCreate(String siteId, String path, String username, String commitId, boolean unlock, Long parentId) voidItemServiceInternalImpl.persistItemAfterCreateFolder(String siteId, String folderPath, String folderName, String username, String commitId, Long parentId) voidItemServiceInternalImpl.persistItemAfterRenameContent(String siteId, String path, String name, String username, String commitId, String contentType) voidItemServiceInternalImpl.persistItemAfterWrite(String siteId, String path, String username, String commitId, boolean unlock) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.log
Methods in org.craftercms.studio.impl.v2.service.log that throw ServiceLayerExceptionModifier and TypeMethodDescription@Valid LoggerConfigLoggerServiceImpl.getLoggerConfig(String name, boolean createIfAbsent) LoggerServiceImpl.getLoggerConfigs()voidLoggerServiceImpl.setLoggerLevel(String name, @NotEmpty String level, boolean createIfAbsent) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.log.internal
Methods in org.craftercms.studio.impl.v2.service.log.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionLog4jLoggerServiceImpl.getLoggerConfig(String name, boolean createIfAbsent) voidLog4jLoggerServiceImpl.setLoggerLevel(String name, String level, boolean createIfAbsent) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.marketplace
Methods in org.craftercms.studio.impl.v2.service.marketplace that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidMarketplaceServiceImpl.createSite(CreateSiteRequest request) MarketplaceServiceImpl.getPluginUsage(String siteId, String pluginId) voidMarketplaceServiceImpl.removePlugin(String siteId, String pluginId, boolean force) voidMarketplaceServiceImpl.writePluginConfiguration(String siteId, String pluginId, String content) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.marketplace.internal
Methods in org.craftercms.studio.impl.v2.service.marketplace.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionprotected voidMarketplaceServiceInternalImpl.commitChanges(String siteId, List<String> changedFiles, boolean update, boolean publish, String message) voidMarketplaceServiceInternalImpl.createSite(CreateSiteRequest request) MarketplaceServiceInternalImpl.getPluginUsage(String siteId, String pluginId) protected voidMarketplaceServiceInternalImpl.performConfigurationWiring(org.craftercms.commons.plugin.model.Plugin plugin, String siteId, List<String> changedFiles, List<ConfigRecord> wiring) voidMarketplaceServiceInternalImpl.removePlugin(String siteId, String pluginId, boolean force) voidMarketplaceServiceInternalImpl.writePluginConfiguration(String siteId, String pluginId, String content) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.publish
Methods in org.craftercms.studio.impl.v2.service.publish that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidPublishServiceImpl.cancelPublishingPackages(String siteId, List<String> packageIds) PublishServiceImpl.getDeploymentHistory(String siteId, int daysFromToday, int numberOfItems, String filterType) PublishServiceImpl.publishAll(String siteId, String publishingTarget, String comment) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.publish.internal
Methods in org.craftercms.studio.impl.v2.service.publish.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionPublishServiceInternalImpl.publishAll(String siteId, String publishingTarget, String comment) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.repository
Methods in org.craftercms.studio.impl.v2.service.repository that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanRepositoryManagementServiceImpl.addRemote(String siteId, RemoteRepository remoteRepository) RepositoryManagementServiceImpl.cancelFailedPull(String siteId) RepositoryManagementServiceImpl.commitResolution(String siteId, String commitMessage) RepositoryManagementServiceImpl.getDiffForConflictedFile(String siteId, String path) RepositoryManagementServiceImpl.getRepositoryStatus(String siteId) booleanRepositoryManagementServiceImpl.isCorrupted(String siteId, GitRepositories repositoryType) RepositoryManagementServiceImpl.listRemotes(String siteId) RepositoryManagementServiceImpl.pullFromRemote(String siteId, String remoteName, String remoteBranch, String mergeStrategy) booleanRepositoryManagementServiceImpl.pushToRemote(String siteId, String remoteName, String remoteBranch, boolean force) voidRepositoryManagementServiceImpl.repairCorrupted(String siteId, GitRepositories repositoryType) RepositoryManagementServiceImpl.resolveConflict(String siteId, String path, String resolution) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.repository.internal
Methods in org.craftercms.studio.impl.v2.service.repository.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionbooleanRepositoryManagementServiceInternalImpl.addRemote(String siteId, RemoteRepository remoteRepository) booleanRepositoryManagementServiceInternalImpl.cancelFailedPull(String siteId) booleanRepositoryManagementServiceInternalImpl.commitResolution(String siteId, String commitMessage) RepositoryManagementServiceInternalImpl.getDiffForConflictedFile(String siteId, String path) RepositoryManagementServiceInternalImpl.getRepositoryStatus(String siteId) protected voidRepositoryManagementServiceInternalImpl.gitCommit(org.eclipse.jgit.api.Git git, String siteId, String commitMessage) Git operation to commit all pending changesbooleanRepositoryManagementServiceInternalImpl.isCorrupted(String siteId, GitRepositories repositoryType) RepositoryManagementServiceInternalImpl.pullFromRemote(String siteId, String remoteName, String remoteBranch, String mergeStrategy) booleanRepositoryManagementServiceInternalImpl.pushToRemote(String siteId, String remoteName, String remoteBranch, boolean force) voidRepositoryManagementServiceInternalImpl.repairCorrupted(String siteId, GitRepositories repositoryType) booleanRepositoryManagementServiceInternalImpl.resolveConflict(String siteId, String path, String resolution) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.search
Methods in org.craftercms.studio.impl.v2.service.search that throw ServiceLayerExceptionModifier and TypeMethodDescription<T> org.opensearch.client.opensearch.core.SearchResponse<T> PermissionAwareSearchService.search(String siteId, org.opensearch.client.opensearch.core.SearchRequest request, Class<T> documentClass) Perform a search operation for the given siteSearchServiceImpl.search(String siteId, SearchParams params, int maxExpansions) Performs a search operation for a given site -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.search.internal
Methods in org.craftercms.studio.impl.v2.service.search.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionClausesLimitAwareSearchService.search(String siteId, SearchParams params, int initialMaxExpansions) SearchServiceInternalImpl.search(String siteId, SearchParams params, int maxExpansions) Performs a search operation for a given site -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.security
Methods in org.craftercms.studio.impl.v2.service.security that throw ServiceLayerExceptionModifier and TypeMethodDescriptionGroupServiceImpl.addGroupMembers(long groupId, List<Long> userIds, List<String> usernames) UserServiceImpl.changePassword(String username, String current, String newPassword) AccessTokenServiceImpl.createAccessToken(String label, Instant expiresAt) GroupServiceImpl.createGroup(long orgId, String groupName, String groupDescription, boolean externallyManaged) AccessTokenServiceImpl.createTokens(org.springframework.security.core.Authentication auth, javax.servlet.http.HttpServletResponse response) UserServiceImpl.createUser(User user) voidGroupServiceImpl.deleteGroup(List<Long> groupIds) UserServiceImpl.deleteUserProperties(String siteId, List<String> propertiesToDelete) voidUserServiceImpl.deleteUsers(List<Long> userIds, List<String> usernames) UserServiceImpl.enableUsers(List<Long> userIds, List<String> usernames, boolean enabled) GroupServiceImpl.getAllGroups(long orgId, String keyword, int offset, int limit, String sort) intGroupServiceImpl.getAllGroupsTotal(long orgId, String keyword) UserServiceImpl.getAllUsers(String keyword, int offset, int limit, String sort) UserServiceImpl.getAllUsersForSite(long orgId, String siteId, String keyword, int offset, int limit, String sort) intUserServiceImpl.getAllUsersForSiteTotal(long orgId, String siteId, String keyword) intUserServiceImpl.getAllUsersTotal(String keyword) longSecurityServiceImpl.getAvailableActions(String username, String site, String path) UserServiceImpl.getCurrentUserGlobalPermissions()UserServiceImpl.getCurrentUserSitePermissions(String site) UserServiceImpl.getCurrentUserSiteRoles(String site) UserServiceImpl.getCurrentUserSites()GroupServiceImpl.getGroup(long groupId) GroupServiceImpl.getGroupMembers(long groupId, int offset, int limit, String sort) intGroupServiceImpl.getGroupMembersTotal(long groupId) UserServiceImpl.getUserByIdOrUsername(long userId, String username) UserServiceImpl.getUserProperties(String siteId) UserServiceImpl.getUserSiteRoles(long userId, String username, String site) UserServiceImpl.getUserSites(long userId, String username) UserServiceImpl.hasCurrentUserGlobalPermissions(List<String> permissions) UserServiceImpl.hasCurrentUserSitePermissions(String site, List<String> permissions) voidGroupServiceImpl.removeGroupMembers(long groupId, List<Long> userIds, List<String> usernames) booleanUserServiceImpl.resetPassword(String username, String newPassword) UserServiceImpl.setPassword(String token, String newPassword) GroupServiceImpl.updateGroup(long orgId, Group group) voidUserServiceImpl.updateUser(User user) UserServiceImpl.updateUserProperties(String siteId, Map<String, String> propertiesToUpdate) protected booleanUserServiceImpl.validateDecryptedToken(String decryptedToken) booleanUserServiceImpl.validateToken(String token) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.security.internal
Methods in org.craftercms.studio.impl.v2.service.security.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionGroupServiceInternalImpl.addGroupMembers(long groupId, List<Long> userIds, List<String> usernames) booleanUserServiceInternalImpl.changePassword(String username, String current, String newPassword) AccessTokenServiceInternalImpl.createAccessToken(String label, Instant expiresAt) GroupServiceInternalImpl.createGroup(long orgId, String groupName, String groupDescription, boolean externallyManaged) protected StringAccessTokenServiceInternalImpl.createToken(Instant issuedAt, Instant expiresAt, String username, Long id) AccessTokenServiceInternalImpl.createTokens(org.springframework.security.core.Authentication auth, javax.servlet.http.HttpServletResponse response) UserServiceInternalImpl.createUser(User user) voidGroupServiceInternalImpl.deleteGroup(List<Long> groupIds) UserServiceInternalImpl.deleteUserProperties(String siteId, List<String> propertiesToDelete) voidUserServiceInternalImpl.deleteUsers(List<Long> userIds, List<String> usernames) UserServiceInternalImpl.enableUsers(List<Long> userIds, List<String> usernames, boolean enabled) GroupServiceInternalImpl.getAllGroups(long orgId, String keyword, int offset, int limit, String sort) intGroupServiceInternalImpl.getAllGroupsTotal(long orgId, String keyword) UserServiceInternalImpl.getAllUsers(String keyword, int offset, int limit, String sort) UserServiceInternalImpl.getAllUsersForSite(long orgId, List<String> groupNames, String keyword, int offset, int limit, String sort) intUserServiceInternalImpl.getAllUsersForSiteTotal(long orgId, String siteId, String keyword) intUserServiceInternalImpl.getAllUsersTotal(String keyword) GroupServiceInternalImpl.getGroup(long groupId) GroupServiceInternalImpl.getGroupByName(String groupName) GroupServiceInternalImpl.getGroupMembers(long groupId, int offset, int limit, String sort) intGroupServiceInternalImpl.getGroupMembersTotal(long groupId) GroupServiceInternalImpl.getSiteGroups(String siteId) UserServiceInternalImpl.getUserByGitName(String gitName) UserServiceInternalImpl.getUserByIdOrUsername(long userId, String username) UserServiceInternalImpl.getUserGroups(long userId, String username) UserServiceInternalImpl.getUserProperties(String siteId) UserServiceInternalImpl.getUsersByIdOrUsername(List<Long> userIds, List<String> usernames) booleanGroupServiceInternalImpl.groupExists(long groupId, String groupName) booleanUserServiceInternalImpl.isUserMemberOfGroup(String username, String groupName) voidGroupServiceInternalImpl.removeGroupMembers(long groupId, List<Long> userIds, List<String> usernames) booleanUserServiceInternalImpl.setUserPassword(String username, String newPassword) GroupServiceInternalImpl.updateGroup(long orgId, Group updatedGroup) voidUserServiceInternalImpl.updateUser(User user) UserServiceInternalImpl.updateUserProperties(String siteId, Map<String, String> propertiesToUpdate) booleanUserServiceInternalImpl.userExists(long userId, String username) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.site
Methods in org.craftercms.studio.impl.v2.service.site that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.site.internal
Methods in org.craftercms.studio.impl.v2.service.site.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionprotected voidSitesServiceInternalImpl.doDuplicate(String sourceSiteId, String siteId, String siteName, String description, String sandboxBranch, boolean readOnlyBlobStores) voidSitesServiceInternalImpl.duplicate(String sourceSiteId, String siteId, String siteName, String description, String sandboxBranch, boolean readOnlyBlobStores) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.ui
Methods in org.craftercms.studio.impl.v2.service.ui that throw ServiceLayerException -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.ui.internal
Methods in org.craftercms.studio.impl.v2.service.ui.internal that throw ServiceLayerExceptionModifier and TypeMethodDescriptionUiServiceInternal.getGlobalMenu(Set<String> permissions) Returns the global menu items available based on the specified permissionsUiServiceInternalImpl.getGlobalMenu(Set<String> permissions) -
Uses of ServiceLayerException in org.craftercms.studio.impl.v2.service.workflow
Methods in org.craftercms.studio.impl.v2.service.workflow that throw ServiceLayerExceptionModifier and TypeMethodDescriptionvoidWorkflowServiceImpl.approve(String siteId, List<String> paths, List<String> optionalDependencies, String publishingTarget, ZonedDateTime schedule, String comment) voidWorkflowServiceImpl.delete(String siteId, List<String> paths, List<String> optionalDependencies, String comment) WorkflowServiceImpl.getWorkflowAffectedPaths(String siteId, String path) voidWorkflowServiceImpl.publish(String siteId, List<String> paths, List<String> optionalDependencies, String publishingTarget, ZonedDateTime schedule, String comment) voidvoidWorkflowServiceImpl.requestPublish(String siteId, List<String> paths, List<String> optionalDependencies, String publishingTarget, ZonedDateTime schedule, String comment, boolean sendEmailNotifications)