public interface DictionaryService
| Modifier and Type | Field and Description |
|---|---|
static String |
FULL_TYPE_CMIS_DOCUMENT
Full CMIS root types
|
static String |
FULL_TYPE_CMIS_FOLDER |
static String |
TYPE_CMIS_DOCUMENT
CMIS root types
|
static String |
TYPE_CMIS_FOLDER |
static String |
TYPE_PREFIX_DOCUMENT
CMIS type prefixes
|
static String |
TYPE_PREFIX_FOLDER |
| Modifier and Type | Method and Description |
|---|---|
String |
getParentType(String type)
Gets the parent type of the given type, null if none.
|
String |
getParentType(String type,
boolean queryName) |
boolean |
isDocumentSubType(String type)
Indicates whether the given type is a CMIS document type.
|
boolean |
isFolderSubType(String type)
Indicates whether the given type is a CMIS document type.
|
boolean |
isRootType(String type)
Indicates whether the given type is a root type or not.
|
String |
removeTypePrefix(String type)
Removes the type prefix from the type name.
|
static final String TYPE_CMIS_DOCUMENT
static final String TYPE_CMIS_FOLDER
static final String TYPE_PREFIX_DOCUMENT
static final String TYPE_PREFIX_FOLDER
static final String FULL_TYPE_CMIS_DOCUMENT
static final String FULL_TYPE_CMIS_FOLDER
boolean isRootType(String type)
type - typeboolean isDocumentSubType(String type)
type - typeboolean isFolderSubType(String type)
type - typeString getParentType(String type)
type - typeString getParentType(String type, boolean queryName)
type - typequeryName - returns parent type string as query name if true, otherwise as full idIf queryName is true then the parent type is returned in the format cmis:document,
otherwise it is returned in the full id form, D:cmis:document.Copyright © 2005–2014 Alfresco Software. All rights reserved.