org.alfresco.repo.admin
Class RepoAdminServiceImpl

java.lang.Object
  extended by org.alfresco.repo.admin.RepoAdminServiceImpl
All Implemented Interfaces:
RepoAdminService

public class RepoAdminServiceImpl
extends java.lang.Object
implements RepoAdminService

Repository Admin Service Implementation.

See Also:
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.
 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 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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CRITERIA_ALL

public static final java.lang.String CRITERIA_ALL
See Also:
Constant Field Values

defaultSubtypeOfDictionaryModel

public static final java.lang.String defaultSubtypeOfDictionaryModel
See Also:
Constant Field Values

defaultSubtypeOfContent

public static final java.lang.String defaultSubtypeOfContent
See Also:
Constant Field Values
Constructor Detail

RepoAdminServiceImpl

public RepoAdminServiceImpl()
Method Detail

setDictionaryDAO

public void setDictionaryDAO(org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO)

setSearchService

public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)

setContentService

public void setContentService(ContentService contentService)

setNamespaceService

public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)

setMessageService

public void setMessageService(MessageService messageService)

setRepositoryModelsLocation

public void setRepositoryModelsLocation(RepositoryLocation repoModelsLocation)

setRepositoryMessagesLocation

public void setRepositoryMessagesLocation(RepositoryLocation repoMessagesLocation)

getModels

public java.util.List getModels()
Description copied from interface: RepoAdminService
Get list of deployed custom model.

Specified by:
getModels in interface RepoAdminService

deployModel

public void deployModel(java.io.InputStream modelStream,
                        java.lang.String modelFileName)
Description copied from interface: RepoAdminService
Deploy custom model (to the 'Models' space). Allows creation of new models and incremental update of existing models.

Specified by:
deployModel in interface RepoAdminService

activateModel

public org.alfresco.service.namespace.QName activateModel(java.lang.String modelFileName)
Description copied from interface: RepoAdminService
Activate custom model.

Specified by:
activateModel in interface RepoAdminService

deactivateModel

public org.alfresco.service.namespace.QName deactivateModel(java.lang.String modelFileName)
Description copied from interface: RepoAdminService
Deactivate custom model.

Specified by:
deactivateModel in interface RepoAdminService

undeployModel

public org.alfresco.service.namespace.QName undeployModel(java.lang.String modelFileName)
Description copied from interface: RepoAdminService
Undeploy custom model (from the 'Models' space). Allows delete of existing models, if not used. Permanently removes the model definition from the repository (all versions).

Specified by:
undeployModel in interface RepoAdminService

getMessageBundles

public java.util.List getMessageBundles()
Description copied from interface: RepoAdminService
Get deployed custom messages resource bundles.

Specified by:
getMessageBundles in interface RepoAdminService

deployMessageBundle

public java.lang.String deployMessageBundle(java.lang.String resourceClasspath)
Description copied from interface: RepoAdminService
Deploy custom message resource bundle (to the 'Messages' space).

Specified by:
deployMessageBundle in interface RepoAdminService

undeployMessageBundle

public void undeployMessageBundle(java.lang.String bundleBaseName)
Description copied from interface: RepoAdminService
Undeploy custom message resource bundle (from the 'Messages' space).

Specified by:
undeployMessageBundle in interface RepoAdminService

reloadMessageBundle

public void reloadMessageBundle(java.lang.String bundleBaseName)
Description copied from interface: RepoAdminService
Reload custom message resource bundle.

Specified by:
reloadMessageBundle in interface RepoAdminService


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.