public interface ModelDefinitionService extends Service
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.
|
NodeTypeDefinition getDocumentTypeDefinition(String type)
type
- if
- the type is null or unknown.NodeTypeDefinition getDocumentTypeDefinition(Document doc)
doc
- ModelDefinition getAspectDefinition(String aspect)
type
- if
- the aspect is null or unknown.NodeTypeDefinition getFolderTypeDefinition(String type)
type
- if
- the type is null or unknown.NodeTypeDefinition getFolderTypeDefinition(Folder folder)
folder
- TaskTypeDefinition getTaskTypeDefinition(String type)
type
- if
- the type is null or unknown.TaskTypeDefinition getTaskTypeDefinition(Task task)
type
- if
- the type is null or unknown.Copyright © 2012-2018 Alfresco Software. All Rights Reserved.