public class RecordsManagementAdminBase extends Object implements RecordsManagementCustomModel
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger
Logger
|
ASPECT_CUSTOM_ASSOCIATIONS, ASPECT_SUPPLEMENTAL_MARKING_LIST, CONSTRAINT_CUSTOM_SMLIST, CUSTOM_REF_CROSSREFERENCE, CUSTOM_REF_OBSOLETES, CUSTOM_REF_RENDITION, CUSTOM_REF_SUPERSEDES, CUSTOM_REF_SUPPORTS, CUSTOM_REF_VERSIONS, PROP_SUPPLEMENTAL_MARKING_LIST, RM_CUSTOM_MODEL, RM_CUSTOM_PREFIX, RM_CUSTOM_URI| Constructor and Description |
|---|
RecordsManagementAdminBase() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
composeAssociationDefinitionTitle(String sourceText,
String targetText)
Creates the association definition title form the source text and target text
|
protected boolean |
existsTitle(String associationDefinitionTitle)
Checks if the given association definition title exists
|
protected org.alfresco.service.cmr.repository.ContentService |
getContentService()
Gets the content service instance
|
protected Map<org.alfresco.service.namespace.QName,org.alfresco.service.cmr.dictionary.AssociationDefinition> |
getCustomAssociations()
Gets all the custom associations
|
protected org.alfresco.service.cmr.repository.NodeRef |
getCustomModelRef(String uri)
Gets the node reference of the custom model
|
protected org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap |
getDictionaryRepositoryBootstrap()
Gets the dictionary repository bootstrap instance
|
protected org.alfresco.service.cmr.dictionary.DictionaryService |
getDictionaryService()
Gets the dictionary service instance
|
protected org.alfresco.service.namespace.NamespaceService |
getNamespaceService()
Gets the namespace service instance
|
protected org.alfresco.service.cmr.repository.NodeService |
getNodeService()
Gets the node service instance
|
protected org.alfresco.repo.dictionary.M2Model |
readCustomContentModel(org.alfresco.service.cmr.repository.NodeRef modelNodeRef)
Gets the deserialized model
|
void |
setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
Sets the content service instance
|
void |
setDictionaryRepositoryBootstrap(org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap dictionaryRepositoryBootstrap)
Sets the dictionary repository bootstrap instance
|
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Sets the dictionary service instance
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Sets the namespace service instance
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the node service instance
|
protected String[] |
splitAssociationDefinitionTitle(String sourceTargetText)
Splits the association definition title into source text and target text
|
protected void |
writeCustomContentModel(org.alfresco.service.cmr.repository.NodeRef modelRef,
org.alfresco.repo.dictionary.M2Model deserializedModel)
Updates the content of the custom model
|
protected org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
protected org.alfresco.service.cmr.repository.NodeService getNodeService()
protected org.alfresco.service.cmr.repository.ContentService getContentService()
protected org.alfresco.service.namespace.NamespaceService getNamespaceService()
protected org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap getDictionaryRepositoryBootstrap()
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - The dictionary service instancepublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - The node service instancepublic void setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
contentService - The content service instancepublic void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService - The namespace service instancepublic void setDictionaryRepositoryBootstrap(org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap dictionaryRepositoryBootstrap)
dictionaryRepositoryBootstrap - The dictionary repository bootstrap instanceprotected Map<org.alfresco.service.namespace.QName,org.alfresco.service.cmr.dictionary.AssociationDefinition> getCustomAssociations()
protected org.alfresco.service.cmr.repository.NodeRef getCustomModelRef(String uri)
uri - The URI of the model namespaceprotected org.alfresco.repo.dictionary.M2Model readCustomContentModel(org.alfresco.service.cmr.repository.NodeRef modelNodeRef)
modelNodeRef - The node reference of the modelprotected void writeCustomContentModel(org.alfresco.service.cmr.repository.NodeRef modelRef,
org.alfresco.repo.dictionary.M2Model deserializedModel)
modelRef - The node reference of the modeldeserializedModel - The deserialized modelprotected boolean existsTitle(String associationDefinitionTitle)
associationDefinitionTitle - The association definition titletrue if the association definition title exists, false otherwiseprotected String[] splitAssociationDefinitionTitle(String sourceTargetText)
sourceTargetText - The text to split into source text and target textprotected String composeAssociationDefinitionTitle(String sourceText, String targetText)
sourceText - The source texttargetText - The target textCopyright © 2005–2018 Alfresco Software. All rights reserved.