Class GitContentRepository
- java.lang.Object
-
- org.craftercms.studio.impl.v2.repository.GitContentRepository
-
- All Implemented Interfaces:
ContentRepository
public class GitContentRepository extends Object implements ContentRepository
-
-
Field Summary
Fields Modifier and Type Field Description protected StudioDBScriptRunnerFactory
scriptRunnerFactory
-
Constructor Summary
Constructors Constructor Description GitContentRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
branchExists(org.eclipse.jgit.lib.Repository repo, String branch)
void
cancelPublishAll(String siteId, String publishingTarget)
Performs the cleanup after a failed publish all operation for the given site & targetvoid
checkContentExists(String site, String path)
Checks if a content exists at a given path and throw an exception if it does not.protected void
checkoutBranch(org.eclipse.jgit.api.Git git, String name)
protected void
checkoutBranch(org.eclipse.jgit.api.Git git, String name, boolean create)
boolean
commitIdExists(String site, String commitId)
Check if given commit id existsboolean
commitIdExists(String site, GitRepositories repoType, String commitId)
Check if given commit id existsvoid
completePublishAll(String siteId, String publishingTarget, RepositoryChanges changes, String comment)
Performs the actual publish of all changes for the given site & targetboolean
contentExists(String site, String path)
Determine if content exists in the repository at a given pathint
countUnprocessedCommits(String siteId, long marker)
Count unprocessed commits from databaseboolean
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 repositoryboolean
createSiteFromBlueprint(String blueprintLocation, String site, String sandboxBranch, Map<String,String> params, String creator)
Create a new site based on a blueprintprotected void
deleteBranches(org.eclipse.jgit.api.Git git, String... names)
Map<String,String>
getChangeSetPathsFromDelta(String site, String commitIdFrom, String commitIdTo)
Get a list of paths that changed since the commit ID provided to commit ID providedOptional<org.springframework.core.io.Resource>
getContentByCommitId(String site, String path, String commitId)
return a specific version of the contentlong
getContentSize(String site, String path)
get file sizeGitLog
getGitLog(String siteId, String commitId)
Get git log object from databaseorg.craftercms.core.service.Item
getItem(String siteId, String path, boolean flatten)
DetailedItem.Environment
getItemEnvironmentProperties(String siteId, GitRepositories repoType, String environment, String path)
Get environment properties for itemString
getLastEditCommitId(String siteId, String path)
List<RepoOperation>
getOperations(String site, String commitIdFrom, String commitIdTo)
Get a list of operations since the commit ID provided (compare that commit to HEAD)List<RepoOperation>
getOperationsFromDelta(String site, String commitIdFrom, String commitIdTo)
Get a list of operations since the commit ID provided (compare that commit to HEAD)String
getPreviousCommitId(String siteId, String commitId)
Get the previous commit id from repository for given a site id and a commit idList<PublishingHistoryItem>
getPublishingHistory(String siteId, String environment, String pathRegex, String publisher, ZonedDateTime fromDate, ZonedDateTime toDate, int limit)
Get publishing historyString
getRepoFirstCommitId(String site)
Get first id from repository for given siteString
getRepoLastCommitId(String site)
Get last commit id from repository for given site.List<String>
getSubtreeItems(String site, String path)
List subtree items for give site and pathList<GitLog>
getUnauditedCommits(String siteId, int batchSize)
Get unaudited commits from databaseList<GitLog>
getUnprocessedCommits(String siteId, long marker)
Get unprocessed commits from databasevoid
initialPublish(String siteId)
Execute initial publish for given sitevoid
insertGitLog(String siteId, String commitId, int processed)
Insert Git Logvoid
insertGitLog(String siteId, String commitId, int processed, int audited)
Insert Git Logvoid
itemUnlock(String site, String path)
unlock an itemvoid
lockItem(String site, String path)
lock an item NOTE: site will be removed from this interfacevoid
markGitLogAudited(String siteId, String commitId)
Mark Git log as auditedvoid
markGitLogProcessedBeforeMarker(String siteId, long marker, int processed)
Mark all git logs as processed if they are inserted before markervoid
markGitLogVerifiedProcessed(String siteId, String commitId)
Mark Git log as verifiedvoid
markGitLogVerifiedProcessedBulk(String siteId, List<String> commitIds)
Mark Git logs as verifiedvoid
populateGitLog(String siteId)
Populates the full git log of the sandbox repository into the databaseRepositoryChanges
preparePublishAll(String siteId, String publishingTarget)
Prepares the repository to publish all changes for the given site & targetvoid
publish(String site, String sandboxBranch, List<DeploymentItemTO> deploymentItems, String environment, String author, String comment)
Publish content to specified environment.RepositoryChanges
publishAll(String siteId, String publishingTarget, String comment)
Publishes all changes for the given site & targetboolean
publishedRepositoryExists(String siteId)
Check if published repository exists for given site.boolean
removeRemote(String siteId, String remoteName)
Remove remote with given name for siteboolean
repositoryExists(String siteId)
Check if repository exists for given siteprotected void
resetIfNeeded(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.api.Git git)
void
setContentStoreService(org.craftercms.core.service.ContentStoreService contentStoreService)
void
setContextManager(ContextManager contextManager)
void
setEncryptor(org.craftercms.commons.crypto.TextEncryptor encryptor)
void
setGeneralLockService(GeneralLockService generalLockService)
void
setGitLogDao(GitLogDAO gitLogDao)
void
setHelper(GitRepositoryHelper helper)
void
setItemServiceInternal(ItemServiceInternal itemServiceInternal)
void
setPublishingProgressServiceInternal(PublishingProgressServiceInternal publishingProgressServiceInternal)
void
setPublishRequestDao(PublishRequestDAO publishRequestDao)
void
setRemoteRepositoryDAO(RemoteRepositoryDAO remoteRepositoryDAO)
void
setRetryingDatabaseOperationFacade(RetryingDatabaseOperationFacade retryingDatabaseOperationFacade)
void
setRetryingRepositoryOperationFacade(RetryingRepositoryOperationFacade retryingRepositoryOperationFacade)
void
setScriptRunnerFactory(StudioDBScriptRunnerFactory scriptRunnerFactory)
void
setServicesConfig(ServicesConfig servicesConfig)
void
setSiteFeedMapper(SiteFeedMapper siteFeedMapper)
void
setSiteService(SiteService siteService)
void
setStudioConfiguration(StudioConfiguration studioConfiguration)
void
setStudioUtils(StudioUtils studioUtils)
void
setUserServiceInternal(UserServiceInternal userServiceInternal)
void
updateGitlog(String siteId, String lastProcessedCommitId, int batchSize)
Update gitlog table with commit ids from repositoryvoid
upsertGitLogList(String siteId, List<String> commitIds, boolean processed, boolean audited)
Upsert git logs as processed and audited
-
-
-
Field Detail
-
scriptRunnerFactory
protected StudioDBScriptRunnerFactory scriptRunnerFactory
-
-
Method Detail
-
getSubtreeItems
public List<String> getSubtreeItems(String site, String path)
Description copied from interface:ContentRepository
List subtree items for give site and path- Specified by:
getSubtreeItems
in interfaceContentRepository
- Parameters:
site
- site identifierpath
- path for subtree root- Returns:
- list of item paths contained in the subtree
-
getOperations
public List<RepoOperation> getOperations(String site, String commitIdFrom, String commitIdTo)
Description copied from interface:ContentRepository
Get a list of operations since the commit ID provided (compare that commit to HEAD)- Specified by:
getOperations
in interfaceContentRepository
- Parameters:
site
- site to usecommitIdFrom
- commit ID to start atcommitIdTo
- commit ID to end at- Returns:
- commit ID of current HEAD, updated operationsSinceCommit
-
getOperationsFromDelta
public List<RepoOperation> getOperationsFromDelta(String site, String commitIdFrom, String commitIdTo)
Description copied from interface:ContentRepository
Get a list of operations since the commit ID provided (compare that commit to HEAD)- Specified by:
getOperationsFromDelta
in interfaceContentRepository
- Parameters:
site
- site to usecommitIdFrom
- commit ID to start atcommitIdTo
- commit ID to end at- Returns:
- commit ID of current HEAD, updated operationsSinceCommit
-
getRepoFirstCommitId
public String getRepoFirstCommitId(String site)
Description copied from interface:ContentRepository
Get first id from repository for given site- Specified by:
getRepoFirstCommitId
in interfaceContentRepository
- Parameters:
site
- site id- Returns:
- first commit id
-
getGitLog
public GitLog getGitLog(String siteId, String commitId)
Description copied from interface:ContentRepository
Get git log object from database- Specified by:
getGitLog
in interfaceContentRepository
- Parameters:
siteId
- site idcommitId
- commit ID- Returns:
- git log object
-
markGitLogVerifiedProcessed
public void markGitLogVerifiedProcessed(String siteId, String commitId)
Description copied from interface:ContentRepository
Mark Git log as verified- Specified by:
markGitLogVerifiedProcessed
in interfaceContentRepository
- Parameters:
siteId
- site identifiercommitId
- commit id
-
markGitLogVerifiedProcessedBulk
public void markGitLogVerifiedProcessedBulk(String siteId, List<String> commitIds)
Description copied from interface:ContentRepository
Mark Git logs as verified- Specified by:
markGitLogVerifiedProcessedBulk
in interfaceContentRepository
- Parameters:
siteId
- site identifiercommitIds
- list of commit ids
-
insertGitLog
public void insertGitLog(String siteId, String commitId, int processed)
Description copied from interface:ContentRepository
Insert Git Log- Specified by:
insertGitLog
in interfaceContentRepository
- Parameters:
siteId
- sitecommitId
- commit IDprocessed
- processed
-
insertGitLog
public void insertGitLog(String siteId, String commitId, int processed, int audited)
Description copied from interface:ContentRepository
Insert Git Log- Specified by:
insertGitLog
in interfaceContentRepository
- Parameters:
siteId
- sitecommitId
- commit IDprocessed
- processedaudited
- audited
-
getPublishingHistory
public List<PublishingHistoryItem> getPublishingHistory(String siteId, String environment, String pathRegex, String publisher, ZonedDateTime fromDate, ZonedDateTime toDate, int limit)
Description copied from interface:ContentRepository
Get publishing history- Specified by:
getPublishingHistory
in interfaceContentRepository
- Parameters:
siteId
- site identifierenvironment
- environmentpathRegex
- path regular expression to use as filterpublisher
- user to filter byfromDate
- lower boundary for published datetoDate
- upper boundary for published datelimit
- number of records to return- Returns:
- publishing history
-
createSiteFromBlueprint
public boolean createSiteFromBlueprint(String blueprintLocation, String site, String sandboxBranch, Map<String,String> params, String creator)
Description copied from interface:ContentRepository
Create a new site based on a blueprint- Specified by:
createSiteFromBlueprint
in interfaceContentRepository
- Parameters:
blueprintLocation
- blueprint locationsite
- site identifiersandboxBranch
- sandbox branch nameparams
- site parameterscreator
- site creator- Returns:
- true if successful, false otherwise
-
publish
public void publish(String site, String sandboxBranch, List<DeploymentItemTO> deploymentItems, String environment, String author, String comment) throws DeploymentException
Description copied from interface:ContentRepository
Publish content to specified environment.- Specified by:
publish
in interfaceContentRepository
- Parameters:
site
- site identifiersandboxBranch
- sandbox branch namedeploymentItems
- items to be publishedenvironment
- environment to publish toauthor
- authorcomment
- submission comment- Throws:
DeploymentException
- deployment error
-
resetIfNeeded
protected void resetIfNeeded(org.eclipse.jgit.lib.Repository repo, org.eclipse.jgit.api.Git git) throws IOException, org.eclipse.jgit.api.errors.GitAPIException
- Throws:
IOException
org.eclipse.jgit.api.errors.GitAPIException
-
checkoutBranch
protected void checkoutBranch(org.eclipse.jgit.api.Git git, String name, boolean create) throws org.eclipse.jgit.api.errors.GitAPIException
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
checkoutBranch
protected void checkoutBranch(org.eclipse.jgit.api.Git git, String name) throws org.eclipse.jgit.api.errors.GitAPIException
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
deleteBranches
protected void deleteBranches(org.eclipse.jgit.api.Git git, String... names) throws org.eclipse.jgit.api.errors.GitAPIException
- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
branchExists
protected boolean branchExists(org.eclipse.jgit.lib.Repository repo, String branch) throws IOException
- Throws:
IOException
-
repositoryExists
public boolean repositoryExists(String siteId)
Description copied from interface:ContentRepository
Check if repository exists for given site- Specified by:
repositoryExists
in interfaceContentRepository
- Parameters:
siteId
- site id- Returns:
- true if repository exists, otherwise false
-
commitIdExists
public boolean commitIdExists(String site, String commitId)
Description copied from interface:ContentRepository
Check if given commit id exists- Specified by:
commitIdExists
in interfaceContentRepository
- Parameters:
site
- site idcommitId
- commit id to check- Returns:
- true if it exists in site repository, otherwise false
-
commitIdExists
public boolean commitIdExists(String site, GitRepositories repoType, String commitId)
Description copied from interface:ContentRepository
Check if given commit id exists- Specified by:
commitIdExists
in interfaceContentRepository
- Parameters:
site
- site idrepoType
- repository typecommitId
- commit id to check- Returns:
- true if it exists in site repository, otherwise false
-
createSiteCloneRemote
public boolean 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) throws InvalidRemoteRepositoryException, InvalidRemoteRepositoryCredentialsException, RemoteRepositoryNotFoundException, ServiceLayerException
Description copied from interface:ContentRepository
Create new site as a clone from remote repository- Specified by:
createSiteCloneRemote
in interfaceContentRepository
- Parameters:
siteId
- site identifiersandboxBranch
- sandbox branch nameremoteName
- remote nameremoteUrl
- remote repository urlremoteBranch
- remote branch namesingleBranch
- flag to signal if clone single branch or full repositoryauthenticationType
- type of authentication to use to connect remote repositoryremoteUsername
- remote usernameremotePassword
- remote passwordremoteToken
- remote tokenremotePrivateKey
- remote private keyparams
- site parameterscreateAsOrphan
- create as orphancreator
- site creator- Returns:
- true if success
- Throws:
InvalidRemoteRepositoryException
- invalid remote repositoryInvalidRemoteRepositoryCredentialsException
- invalid credentials for remote repositoryRemoteRepositoryNotFoundException
- remote repository not foundServiceLayerException
- general service error
-
removeRemote
public boolean removeRemote(String siteId, String remoteName)
Description copied from interface:ContentRepository
Remove remote with given name for site- Specified by:
removeRemote
in interfaceContentRepository
- Parameters:
siteId
- site identifierremoteName
- remote name- Returns:
- true if operation was successful
-
checkContentExists
public void checkContentExists(String site, String path) throws ServiceLayerException
Description copied from interface:ContentRepository
Checks if a content exists at a given path and throw an exception if it does not.- Specified by:
checkContentExists
in interfaceContentRepository
- Parameters:
site
- id of the sitepath
- the content path- Throws:
ServiceLayerException
- if no content is found at the given path
-
contentExists
public boolean contentExists(String site, String path)
Description copied from interface:ContentRepository
Determine if content exists in the repository at a given path- Specified by:
contentExists
in interfaceContentRepository
- Parameters:
site
- site id where the operation will be executed- Returns:
- true if site has content object at path
-
getRepoLastCommitId
public String getRepoLastCommitId(String site)
Description copied from interface:ContentRepository
Get last commit id from repository for given site.- Specified by:
getRepoLastCommitId
in interfaceContentRepository
- Parameters:
site
- site id- Returns:
- last commit id (current HEAD)
-
getItem
public org.craftercms.core.service.Item getItem(String siteId, String path, boolean flatten)
- Specified by:
getItem
in interfaceContentRepository
-
getContentSize
public long getContentSize(String site, String path)
Description copied from interface:ContentRepository
get file size- Specified by:
getContentSize
in interfaceContentRepository
- Parameters:
site
- site id where the operation will be executedpath
- path to content- Returns:
- Size in bytes
-
getLastEditCommitId
public String getLastEditCommitId(String siteId, String path)
- Specified by:
getLastEditCommitId
in interfaceContentRepository
-
getChangeSetPathsFromDelta
public Map<String,String> getChangeSetPathsFromDelta(String site, String commitIdFrom, String commitIdTo)
Description copied from interface:ContentRepository
Get a list of paths that changed since the commit ID provided to commit ID provided- Specified by:
getChangeSetPathsFromDelta
in interfaceContentRepository
- Parameters:
site
- site to usecommitIdFrom
- commit ID to start atcommitIdTo
- commit ID to end at- Returns:
- list of paths of files that changed between two commits
-
markGitLogAudited
public void markGitLogAudited(String siteId, String commitId)
Description copied from interface:ContentRepository
Mark Git log as audited- Specified by:
markGitLogAudited
in interfaceContentRepository
- Parameters:
siteId
- site identifiercommitId
- commit id
-
updateGitlog
public void updateGitlog(String siteId, String lastProcessedCommitId, int batchSize)
Description copied from interface:ContentRepository
Update gitlog table with commit ids from repository- Specified by:
updateGitlog
in interfaceContentRepository
- Parameters:
siteId
- site identifierlastProcessedCommitId
- last processed commit idbatchSize
- size of a batch to update
-
getUnauditedCommits
public List<GitLog> getUnauditedCommits(String siteId, int batchSize)
Description copied from interface:ContentRepository
Get unaudited commits from database- Specified by:
getUnauditedCommits
in interfaceContentRepository
- Parameters:
siteId
- site identifierbatchSize
- size of a batch to retrieve- Returns:
- list of gitlog records
-
getUnprocessedCommits
public List<GitLog> getUnprocessedCommits(String siteId, long marker)
Description copied from interface:ContentRepository
Get unprocessed commits from database- Specified by:
getUnprocessedCommits
in interfaceContentRepository
- Parameters:
siteId
- site identifiermarker
- id of last verified commit Id- Returns:
- list of gitlog records
-
getItemEnvironmentProperties
public DetailedItem.Environment getItemEnvironmentProperties(String siteId, GitRepositories repoType, String environment, String path)
Description copied from interface:ContentRepository
Get environment properties for item- Specified by:
getItemEnvironmentProperties
in interfaceContentRepository
- Parameters:
siteId
- site identifierrepoType
- repository typeenvironment
- branchpath
- path of the item- Returns:
- environment properties
-
countUnprocessedCommits
public int countUnprocessedCommits(String siteId, long marker)
Description copied from interface:ContentRepository
Count unprocessed commits from database- Specified by:
countUnprocessedCommits
in interfaceContentRepository
- Parameters:
siteId
- site identifiermarker
- id of last verified commit Id- Returns:
- number of unprocessed gitlog records
-
markGitLogProcessedBeforeMarker
public void markGitLogProcessedBeforeMarker(String siteId, long marker, int processed)
Description copied from interface:ContentRepository
Mark all git logs as processed if they are inserted before marker- Specified by:
markGitLogProcessedBeforeMarker
in interfaceContentRepository
- Parameters:
siteId
- site identifiermarker
- marker git commitprocessed
- value for processed
-
getPreviousCommitId
public String getPreviousCommitId(String siteId, String commitId)
Description copied from interface:ContentRepository
Get the previous commit id from repository for given a site id and a commit id- Specified by:
getPreviousCommitId
in interfaceContentRepository
- Parameters:
siteId
- site identifiercommitId
- commit Id- Returns:
-
lockItem
public void lockItem(String site, String path)
Description copied from interface:ContentRepository
lock an item NOTE: site will be removed from this interface- Specified by:
lockItem
in interfaceContentRepository
- Parameters:
site
- site id where the operation will be executedpath
- path of the item
-
itemUnlock
public void itemUnlock(String site, String path)
Description copied from interface:ContentRepository
unlock an item- Specified by:
itemUnlock
in interfaceContentRepository
- Parameters:
site
- site id where the operation will be executedpath
- path of the item
-
upsertGitLogList
public void upsertGitLogList(String siteId, List<String> commitIds, boolean processed, boolean audited)
Description copied from interface:ContentRepository
Upsert git logs as processed and audited- Specified by:
upsertGitLogList
in interfaceContentRepository
- Parameters:
siteId
- site identifiercommitIds
- commit idsprocessed
- true if already processedaudited
- true if already audited
-
getContentByCommitId
public Optional<org.springframework.core.io.Resource> getContentByCommitId(String site, String path, String commitId)
Description copied from interface:ContentRepository
return a specific version of the content- Specified by:
getContentByCommitId
in interfaceContentRepository
- Parameters:
site
- site id where the operation will be executedpath
- path of the contentcommitId
- version to return- Returns:
- the resource if available
-
publishedRepositoryExists
public boolean publishedRepositoryExists(String siteId)
Description copied from interface:ContentRepository
Check if published repository exists for given site.- Specified by:
publishedRepositoryExists
in interfaceContentRepository
- Parameters:
siteId
- site identifier- Returns:
- true if PUBLISHED repository exists, otherwise false
-
initialPublish
public void initialPublish(String siteId) throws SiteNotFoundException
Description copied from interface:ContentRepository
Execute initial publish for given site- Specified by:
initialPublish
in interfaceContentRepository
- Parameters:
siteId
- site identifier- Throws:
SiteNotFoundException
-
publishAll
public RepositoryChanges publishAll(String siteId, String publishingTarget, String comment)
Description copied from interface:ContentRepository
Publishes all changes for the given site & target- Specified by:
publishAll
in interfaceContentRepository
- Parameters:
siteId
- the id of the sitepublishingTarget
- the publishing targetcomment
- submission comment
-
preparePublishAll
public RepositoryChanges preparePublishAll(String siteId, String publishingTarget) throws ServiceLayerException
Description copied from interface:ContentRepository
Prepares the repository to publish all changes for the given site & target- Specified by:
preparePublishAll
in interfaceContentRepository
- Parameters:
siteId
- the id of the sitepublishingTarget
- the publishing target- Returns:
- the set of changed files
- Throws:
ServiceLayerException
- if there is any error during the preparation
-
completePublishAll
public void completePublishAll(String siteId, String publishingTarget, RepositoryChanges changes, String comment) throws ServiceLayerException
Description copied from interface:ContentRepository
Performs the actual publish of all changes for the given site & target- Specified by:
completePublishAll
in interfaceContentRepository
- Parameters:
siteId
- the id of the sitepublishingTarget
- the publishing targetchanges
- the set of changed filescomment
- submission comment- Throws:
ServiceLayerException
- if there is any error during publishing
-
cancelPublishAll
public void cancelPublishAll(String siteId, String publishingTarget) throws ServiceLayerException
Description copied from interface:ContentRepository
Performs the cleanup after a failed publish all operation for the given site & target- Specified by:
cancelPublishAll
in interfaceContentRepository
- Parameters:
siteId
- the id of the sitepublishingTarget
- the publishing target- Throws:
ServiceLayerException
- if there is any error during cleanup
-
populateGitLog
public void populateGitLog(String siteId) throws org.eclipse.jgit.api.errors.GitAPIException, IOException
Description copied from interface:ContentRepository
Populates the full git log of the sandbox repository into the database- Specified by:
populateGitLog
in interfaceContentRepository
- Parameters:
siteId
- the id of the site- Throws:
org.eclipse.jgit.api.errors.GitAPIException
- if there is any error reading the git logIOException
- if there is any error executing the db script
-
setHelper
public void setHelper(GitRepositoryHelper helper)
-
setStudioConfiguration
public void setStudioConfiguration(StudioConfiguration studioConfiguration)
-
setGitLogDao
public void setGitLogDao(GitLogDAO gitLogDao)
-
setUserServiceInternal
public void setUserServiceInternal(UserServiceInternal userServiceInternal)
-
setRemoteRepositoryDAO
public void setRemoteRepositoryDAO(RemoteRepositoryDAO remoteRepositoryDAO)
-
setEncryptor
public void setEncryptor(org.craftercms.commons.crypto.TextEncryptor encryptor)
-
setContextManager
public void setContextManager(ContextManager contextManager)
-
setContentStoreService
public void setContentStoreService(org.craftercms.core.service.ContentStoreService contentStoreService)
-
setGeneralLockService
public void setGeneralLockService(GeneralLockService generalLockService)
-
setSiteService
public void setSiteService(SiteService siteService)
-
setPublishRequestDao
public void setPublishRequestDao(PublishRequestDAO publishRequestDao)
-
setItemServiceInternal
public void setItemServiceInternal(ItemServiceInternal itemServiceInternal)
-
setStudioUtils
public void setStudioUtils(StudioUtils studioUtils)
-
setRetryingRepositoryOperationFacade
public void setRetryingRepositoryOperationFacade(RetryingRepositoryOperationFacade retryingRepositoryOperationFacade)
-
setRetryingDatabaseOperationFacade
public void setRetryingDatabaseOperationFacade(RetryingDatabaseOperationFacade retryingDatabaseOperationFacade)
-
setPublishingProgressServiceInternal
public void setPublishingProgressServiceInternal(PublishingProgressServiceInternal publishingProgressServiceInternal)
-
setSiteFeedMapper
public void setSiteFeedMapper(SiteFeedMapper siteFeedMapper)
-
setServicesConfig
public void setServicesConfig(ServicesConfig servicesConfig)
-
setScriptRunnerFactory
public void setScriptRunnerFactory(StudioDBScriptRunnerFactory scriptRunnerFactory)
-
-