public abstract class AbstractModelDefinitionService extends AlfrescoService implements ModelDefinitionService
Modifier and Type | Field and Description |
---|---|
protected org.apache.chemistry.opencmis.client.api.Session |
cmisSession |
CONTENT_CACHE, RENDITION_CACHE, session
Constructor and Description |
---|
AbstractModelDefinitionService(AlfrescoSession repositorySession)
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
ModelDefinition |
getAspectDefinition(String aspect)
Returns the type definition for the given Aspect type
|
NodeTypeDefinition |
getDocumentTypeDefinition(Document doc)
Returns the complete type definition for the given Document, the returned
definition will also include all properties from all applied aspects.
|
NodeTypeDefinition |
getDocumentTypeDefinition(String type)
Returns the type definition for the given Document type
|
NodeTypeDefinition |
getFolderTypeDefinition(Folder folder)
Returns the type definition for the given Folder, the returned definition
will also include all properties from all applied aspects.
|
NodeTypeDefinition |
getFolderTypeDefinition(String type)
Returns the type definition for the given Folder type
|
TaskTypeDefinition |
getTaskTypeDefinition(String type)
Returns the type definition for the given task type.
|
TaskTypeDefinition |
getTaskTypeDefinition(Task task)
Returns the type definition for the given Task, the returned definition
will also include all properties from all applied aspects.
|
protected ModelDefinition |
getTypeDefinition(int modelId,
String typeId) |
clear, convertException, convertNode, convertNode, convertStatusCode, delete, describeContents, getHttpInvoker, getSessionHttp, isCloudSession, isListNull, isMapNull, isObjectNull, isOnPremiseSession, isStringNull, post, put, read, saveContentStream, writeToParcel
public AbstractModelDefinitionService(AlfrescoSession repositorySession)
repositorySession
- : Repository Session.public NodeTypeDefinition getDocumentTypeDefinition(String type)
ModelDefinitionService
getDocumentTypeDefinition
in interface ModelDefinitionService
public NodeTypeDefinition getDocumentTypeDefinition(Document doc)
ModelDefinitionService
getDocumentTypeDefinition
in interface ModelDefinitionService
public ModelDefinition getAspectDefinition(String aspect)
ModelDefinitionService
getAspectDefinition
in interface ModelDefinitionService
public NodeTypeDefinition getFolderTypeDefinition(String type)
ModelDefinitionService
getFolderTypeDefinition
in interface ModelDefinitionService
public NodeTypeDefinition getFolderTypeDefinition(Folder folder)
ModelDefinitionService
getFolderTypeDefinition
in interface ModelDefinitionService
public TaskTypeDefinition getTaskTypeDefinition(String type)
ModelDefinitionService
getTaskTypeDefinition
in interface ModelDefinitionService
public TaskTypeDefinition getTaskTypeDefinition(Task task)
ModelDefinitionService
getTaskTypeDefinition
in interface ModelDefinitionService
protected ModelDefinition getTypeDefinition(int modelId, String typeId)
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.