org.alfresco.service.cmr.admin
Interface RepoAdminService

All Known Implementing Classes:
RepoAdminServiceImpl

@PublicService
public interface RepoAdminService

Repository Admin Service. Client facing API for interacting with Alfresco Repository Admin services.


Method Summary
 QName activateModel(java.lang.String modelFileName)
          Activate custom model.
 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 undeployMessageBundle(java.lang.String bundleBaseName)
          Undeploy custom message resource bundle (from the 'Messages' space).
 QName undeployModel(java.lang.String modelFileName)
          Undeploy custom model (from the 'Models' space).
 

Method Detail

getModels

@Auditable
java.util.List getModels()
Get list of deployed custom model.


deployModel

@Auditable(parameters="modelStream, modelFileName")
void deployModel(java.io.InputStream modelStream,
                                     java.lang.String modelFileName)
Deploy custom model (to the 'Models' space). Allows creation of new models and incremental update of existing models.


undeployModel

@Auditable(parameters="modelFileName")
QName undeployModel(java.lang.String modelFileName)
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).


activateModel

@Auditable(parameters="modelFileName")
QName activateModel(java.lang.String modelFileName)
Activate custom model.


deactivateModel

@Auditable(parameters="modelFileName")
QName deactivateModel(java.lang.String modelFileName)
Deactivate custom model.


getMessageBundles

@Auditable
java.util.List getMessageBundles()
Get deployed custom messages resource bundles.


deployMessageBundle

@Auditable(parameters="resourceClasspath")
java.lang.String deployMessageBundle(java.lang.String resourceClasspath)
Deploy custom message resource bundle (to the 'Messages' space).


undeployMessageBundle

@Auditable(parameters="bundleBaseName")
void undeployMessageBundle(java.lang.String bundleBaseName)
Undeploy custom message resource bundle (from the 'Messages' space).


reloadMessageBundle

@Auditable(parameters="bundleBaseName")
void reloadMessageBundle(java.lang.String bundleBaseName)
Reload custom message resource bundle.



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