|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.admin.RepoAdminServiceImpl
public class RepoAdminServiceImpl
Repository Admin Service Implementation.
interface
Field Summary | |
---|---|
static java.lang.String |
CRITERIA_ALL
|
static java.lang.String |
defaultSubtypeOfContent
|
static java.lang.String |
defaultSubtypeOfDictionaryModel
|
Constructor Summary | |
---|---|
RepoAdminServiceImpl()
|
Method Summary | |
---|---|
org.alfresco.service.namespace.QName |
activateModel(java.lang.String modelFileName)
Activate custom model. |
org.alfresco.service.namespace.QName |
deactivateModel(java.lang.String modelFileName)
Deactivate custom model. |
java.lang.String |
deployMessageBundle(java.lang.String resourceClasspath)
Deploy custom message resource bundle (to the 'Messages' space). |
void |
deployModel(java.io.InputStream modelStream,
java.lang.String modelFileName)
Deploy custom model (to the 'Models' space). |
java.util.List |
getMessageBundles()
Get deployed custom messages resource bundles. |
java.util.List |
getModels()
Get list of deployed custom model. |
RepoUsage |
getRestrictions()
Get the currently-active restrictions to the repository usage |
RepoUsage |
getUsage()
Get the repository usage, where known |
RepoUsageStatus |
getUsageStatus()
Get full information on the state of the usage limits, including errors and warnings about limits in play. |
void |
reloadMessageBundle(java.lang.String bundleBaseName)
Reload custom message resource bundle. |
void |
setContentService(ContentService contentService)
|
void |
setDictionaryDAO(org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO)
|
void |
setMessageService(MessageService messageService)
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
|
void |
setRepositoryMessagesLocation(RepositoryLocation repoMessagesLocation)
|
void |
setRepositoryModelsLocation(RepositoryLocation repoModelsLocation)
|
void |
setRepoUsageComponent(RepoUsageComponent repoUsageComponent)
|
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
|
void |
undeployMessageBundle(java.lang.String bundleBaseName)
Undeploy custom message resource bundle (from the 'Messages' space). |
org.alfresco.service.namespace.QName |
undeployModel(java.lang.String modelFileName)
Undeploy custom model (from the 'Models' space). |
boolean |
updateUsage(RepoUsage.UsageType usageType)
Force an update of the usages, providing a hint on the specific updates required. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CRITERIA_ALL
public static final java.lang.String defaultSubtypeOfDictionaryModel
public static final java.lang.String defaultSubtypeOfContent
Constructor Detail |
---|
public RepoAdminServiceImpl()
Method Detail |
---|
public void setDictionaryDAO(org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO)
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setContentService(ContentService contentService)
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
public void setMessageService(MessageService messageService)
public void setRepoUsageComponent(RepoUsageComponent repoUsageComponent)
public void setRepositoryModelsLocation(RepositoryLocation repoModelsLocation)
public void setRepositoryMessagesLocation(RepositoryLocation repoMessagesLocation)
public java.util.List getModels()
RepoAdminService
getModels
in interface RepoAdminService
public void deployModel(java.io.InputStream modelStream, java.lang.String modelFileName)
RepoAdminService
deployModel
in interface RepoAdminService
public org.alfresco.service.namespace.QName activateModel(java.lang.String modelFileName)
RepoAdminService
activateModel
in interface RepoAdminService
public org.alfresco.service.namespace.QName deactivateModel(java.lang.String modelFileName)
RepoAdminService
deactivateModel
in interface RepoAdminService
public org.alfresco.service.namespace.QName undeployModel(java.lang.String modelFileName)
RepoAdminService
undeployModel
in interface RepoAdminService
public java.util.List getMessageBundles()
RepoAdminService
getMessageBundles
in interface RepoAdminService
public java.lang.String deployMessageBundle(java.lang.String resourceClasspath)
RepoAdminService
deployMessageBundle
in interface RepoAdminService
public void undeployMessageBundle(java.lang.String bundleBaseName)
RepoAdminService
undeployMessageBundle
in interface RepoAdminService
public void reloadMessageBundle(java.lang.String bundleBaseName)
RepoAdminService
reloadMessageBundle
in interface RepoAdminService
public RepoUsage getRestrictions()
RepoAdminService
getRestrictions
in interface RepoAdminService
public RepoUsage getUsage()
RepoAdminService
getUsage
in interface RepoAdminService
public boolean updateUsage(RepoUsage.UsageType usageType)
RepoAdminService
updateUsage
in interface RepoAdminService
usageType
- the type of usage update to perform
public RepoUsageStatus getUsageStatus()
RepoAdminService
getUsageStatus
in interface RepoAdminService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |