public class RepoAdminServiceImpl extends java.lang.Object implements RepoAdminService
interface| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CRITERIA_ALL |
static java.lang.String |
defaultSubtypeOfContent |
static java.lang.String |
defaultSubtypeOfDictionaryModel |
| Constructor and Description |
|---|
RepoAdminServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final java.lang.String CRITERIA_ALL
public static final java.lang.String defaultSubtypeOfDictionaryModel
public static final java.lang.String defaultSubtypeOfContent
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()
RepoAdminServicegetModels in interface RepoAdminServicepublic void deployModel(java.io.InputStream modelStream,
java.lang.String modelFileName)
RepoAdminServicedeployModel in interface RepoAdminServicepublic org.alfresco.service.namespace.QName activateModel(java.lang.String modelFileName)
RepoAdminServiceactivateModel in interface RepoAdminServicepublic org.alfresco.service.namespace.QName deactivateModel(java.lang.String modelFileName)
RepoAdminServicedeactivateModel in interface RepoAdminServicepublic org.alfresco.service.namespace.QName undeployModel(java.lang.String modelFileName)
RepoAdminServiceundeployModel in interface RepoAdminServicepublic java.util.List getMessageBundles()
RepoAdminServicegetMessageBundles in interface RepoAdminServicepublic java.lang.String deployMessageBundle(java.lang.String resourceClasspath)
RepoAdminServicedeployMessageBundle in interface RepoAdminServicepublic void undeployMessageBundle(java.lang.String bundleBaseName)
RepoAdminServiceundeployMessageBundle in interface RepoAdminServicepublic void reloadMessageBundle(java.lang.String bundleBaseName)
RepoAdminServicereloadMessageBundle in interface RepoAdminServicepublic RepoUsage getRestrictions()
RepoAdminServicegetRestrictions in interface RepoAdminServicepublic RepoUsage getUsage()
RepoAdminServicegetUsage in interface RepoAdminServicepublic boolean updateUsage(RepoUsage.UsageType usageType)
RepoAdminServiceupdateUsage in interface RepoAdminServiceusageType - the type of usage update to performpublic RepoUsageStatus getUsageStatus()
RepoAdminServicegetUsageStatus in interface RepoAdminServiceCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.