Modifier and Type | Method and Description |
---|---|
TypeDefinition |
FilterCmisService.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
Modifier and Type | Interface and Description |
---|---|
interface |
DocumentType
Document Object Type.
|
interface |
FolderType
Folder Object Type.
|
interface |
ItemType
Item Object Type.
|
interface |
ObjectType
Object Type.
|
interface |
PolicyType
Policy Object Type.
|
interface |
RelationshipType
Relationship Object Type.
|
interface |
SecondaryType
Secondary type.
|
Modifier and Type | Method and Description |
---|---|
ObjectType |
ObjectFactory.convertTypeDefinition(TypeDefinition typeDefinition) |
ObjectType |
Session.createType(TypeDefinition type)
Creates a new type.
|
ObjectType |
Session.updateType(TypeDefinition type)
Updates an existing type.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
TypeDefinitionCache.get(String repositoryId,
String typeId)
Retrieves a type definition object from the cache.
|
Modifier and Type | Method and Description |
---|---|
void |
TypeDefinitionCache.put(String repositoryId,
TypeDefinition typeDefinition)
Adds a type definition object to the cache.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryServiceImpl.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
TypeDefinitionCacheImpl.get(String repositoryId,
String typeId) |
TypeDefinition |
RepositoryServiceImpl.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
RepositoryServiceImpl.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryServiceImpl.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
void |
TypeDefinitionCacheImpl.put(String repositoryId,
TypeDefinition typeDefinition) |
TypeDefinition |
RepositoryServiceImpl.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryServiceImpl.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
RepositoryServiceImpl.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
protected TypeDefinition |
AbstractAtomPubService.getTypeDefinitionInternal(String repositoryId,
String typeId)
Retrieves a type definition.
|
TypeDefinition |
RepositoryServiceImpl.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryServiceImpl.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
RepositoryServiceImpl.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Constructor and Description |
---|
AtomEntryWriter(TypeDefinition type,
CmisVersion cmisVersion)
Constructor for types.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryServiceImpl.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
ClientTypeCacheImpl.getTypeDefinition(String typeId) |
TypeDefinition |
RepositoryServiceImpl.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
ClientTypeCacheImpl.getTypeDefinitionForObject(String objectId) |
protected TypeDefinition |
AbstractBrowserBindingService.getTypeDefinitionInternal(String repositoryId,
String typeId)
Retrieves a type definition.
|
TypeDefinition |
RepositoryServiceImpl.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryServiceImpl.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
RepositoryServiceImpl.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryServiceImpl.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
RepositoryServiceImpl.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
RepositoryServiceImpl.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryServiceImpl.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
RepositoryServiceImpl.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryServiceImpl.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
RepositoryServiceImpl.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
RepositoryServiceImpl.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryServiceImpl.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
RepositoryServiceImpl.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
ObjectType |
SessionImpl.createType(TypeDefinition type) |
ObjectType |
SessionImpl.updateType(TypeDefinition type) |
Modifier and Type | Class and Description |
---|---|
class |
DocumentTypeImpl
Document type.
|
class |
FolderTypeImpl
Folder type.
|
class |
ItemTypeImpl |
class |
PolicyTypeImpl
Policy type.
|
class |
RelationshipTypeImpl
Relationship type.
|
class |
SecondaryTypeImpl |
Modifier and Type | Method and Description |
---|---|
ObjectType |
ObjectFactoryImpl.convertTypeDefinition(TypeDefinition typeDefinition) |
Modifier and Type | Method and Description |
---|---|
static TypeDefinition |
TypeUtils.readFromJSON(InputStream stream)
Reads a type definition from a JSON stream.
|
static TypeDefinition |
TypeUtils.readFromXML(InputStream stream)
Reads a type definition from a XML stream.
|
Modifier and Type | Method and Description |
---|---|
static List<TypeUtils.ValidationError> |
TypeUtils.validateTypeDefinition(TypeDefinition type)
Validates a type definition.
|
static void |
TypeUtils.writeToJSON(TypeDefinition type,
OutputStream stream)
Serializes the type definition to JSON, using the format defined in the
CMIS specification.
|
static void |
TypeUtils.writeToXML(TypeDefinition type,
OutputStream stream)
Serializes the type definition to XML, using the format defined in the
CMIS specification.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DocumentTypeDefinition
Document Type Definition.
|
interface |
FolderTypeDefinition
Folder Type Definition.
|
interface |
ItemTypeDefinition
Item Type Definition.
|
interface |
MutableDocumentTypeDefinition
Mutable Document Type Definition.
|
interface |
MutableFolderTypeDefinition
Mutable Folder Type Definition.
|
interface |
MutableItemTypeDefinition
Mutable Item Type Definition.
|
interface |
MutablePolicyTypeDefinition
Mutable Policy Type Definition.
|
interface |
MutableRelationshipTypeDefinition
Mutable Relationship Type Definition.
|
interface |
MutableSecondaryTypeDefinition
Mutable Secondary Type Definition.
|
interface |
MutableTypeDefinition |
interface |
PolicyTypeDefinition
Policy Type Definition.
|
interface |
RelationshipTypeDefinition
Relationship Type Definition.
|
interface |
SecondaryTypeDefinition
Secondary Type Definition.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
TypeDefinitionContainer.getTypeDefinition()
Returns the type definition at this level.
|
Modifier and Type | Method and Description |
---|---|
List<TypeDefinition> |
TypeDefinitionList.getList()
Returns the list of type definitions.
|
Modifier and Type | Method and Description |
---|---|
static TypeDefinition |
WSConverter.convert(CmisTypeDefinitionType typeDefinition)
Converts a type definition object.
|
static TypeDefinition |
JSONConverter.convertTypeDefinition(Map<String,Object> json) |
static TypeDefinition |
XMLConverter.convertTypeDefinition(javax.xml.stream.XMLStreamReader parser) |
TypeDefinition |
TypeCache.getTypeDefinition(String typeId)
Gets the type definition by type id.
|
TypeDefinition |
TypeCache.getTypeDefinitionForObject(String objectId)
Gets the type definition of an object.
|
Modifier and Type | Method and Description |
---|---|
static CmisTypeDefinitionType |
WSConverter.convert(TypeDefinition typeDefinition)
Converts a type definition object.
|
static JSONObject |
JSONConverter.convert(TypeDefinition type)
Converts a type definition.
|
static void |
XMLConverter.writeTypeDefinition(javax.xml.stream.XMLStreamWriter writer,
CmisVersion cmisVersion,
String namespace,
TypeDefinition source) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTypeDefinition
Abstract type definition data implementation.
|
class |
DocumentTypeDefinitionImpl
Document type definition.
|
class |
FolderTypeDefinitionImpl
Folder type definition.
|
class |
ItemTypeDefinitionImpl
Item type definition.
|
class |
PolicyTypeDefinitionImpl
Policy type definition.
|
class |
RelationshipTypeDefinitionImpl
Relationship type definition.
|
class |
SecondaryTypeDefinitionImpl |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
TypeDefinitionContainerImpl.getTypeDefinition() |
Modifier and Type | Method and Description |
---|---|
List<TypeDefinition> |
TypeDefinitionListImpl.getList() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTypeDefinition.initialize(TypeDefinition typeDefinition) |
void |
TypeDefinitionContainerImpl.setTypeDefinition(TypeDefinition type) |
Modifier and Type | Method and Description |
---|---|
void |
TypeDefinitionListImpl.setList(List<TypeDefinition> list) |
Constructor and Description |
---|
TypeDefinitionContainerImpl(TypeDefinition typeDef) |
Constructor and Description |
---|
TypeDefinitionListImpl(List<TypeDefinition> list)
Constructor from a list.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
AbstractCmisService.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension)
Creates a new type.
|
abstract TypeDefinition |
AbstractCmisService.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension)
Gets the definition of the specified object type.
|
TypeDefinition |
AbstractCmisService.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension)
Updates a type.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
AbstractCmisService.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension)
Creates a new type.
|
TypeDefinition |
AbstractCmisService.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension)
Updates a type.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryService.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension)
Creates a new type.
|
TypeDefinition |
RepositoryService.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension)
Gets the definition of the specified object type.
|
TypeDefinition |
RepositoryService.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension)
Updates a type.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
RepositoryService.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension)
Creates a new type.
|
TypeDefinition |
RepositoryService.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension)
Updates a type.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
FileShareTypeManager.getInternalTypeDefinition(String typeId)
Returns the internal type definition.
|
TypeDefinition |
FileShareTypeManager.getTypeDefinition(CallContext context,
String typeId) |
TypeDefinition |
FileShareRepository.getTypeDefinition(CallContext context,
String typeId)
CMIS getTypeDefinition.
|
TypeDefinition |
FileShareCmisService.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
Collection<TypeDefinition> |
FileShareTypeManager.getInternalTypeDefinitions()
Returns all internal type definitions.
|
Modifier and Type | Method and Description |
---|---|
void |
FileShareTypeManager.addTypeDefinition(TypeDefinition type)
Adds a type definition.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
TypeManagerImpl.getTypeByQueryName(String typeQueryName) |
Modifier and Type | Method and Description |
---|---|
List<TypeDefinition> |
TypeCreator.createTypesList() |
Modifier and Type | Method and Description |
---|---|
void |
TypeManagerImpl.addTypeDefinition(TypeDefinition cmisType,
boolean addInheritedProperties) |
static void |
TypeValidator.checkType(TypeManager tm,
TypeDefinition td) |
static AbstractTypeDefinition |
TypeValidator.completeType(TypeDefinition type) |
String |
TypeManagerImpl.getPropertyIdForQueryName(TypeDefinition typeDefinition,
String propQueryName) |
void |
TypeManagerImpl.updateTypeDefinition(TypeDefinition typeDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
TypeManagerImpl.initTypeSystem(List<TypeDefinition> typesList,
boolean createCmisDefaultTypes)
Initialize the type system with the given types.
|
Modifier and Type | Method and Description |
---|---|
protected TypeDefinition |
BaseServiceValidatorImpl.checkExistingTypeId(String repositoryId,
String typeId) |
TypeDefinition |
InMemoryRepositoryServiceImpl.createType(CallContext context,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
InMemoryService.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
BaseServiceValidatorImpl.deleteType(CallContext callContext,
String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
InMemoryRepositoryServiceImpl.getTypeDefinition(CallContext context,
String repositoryId,
String typeId,
ExtensionsData extension) |
protected TypeDefinition |
InMemoryAbstractServiceImpl.getTypeDefinition(String repositoryId,
Properties properties) |
protected TypeDefinition |
AbstractServiceImpl.getTypeDefinition(String repositoryId,
Properties properties) |
protected TypeDefinition |
InMemoryAbstractServiceImpl.getTypeDefinition(String repositoryId,
StoredObject obj) |
protected TypeDefinition |
AbstractServiceImpl.getTypeDefinition(String repositoryId,
StoredObject obj) |
TypeDefinition |
InMemoryService.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
InMemoryRepositoryServiceImpl.updateType(CallContext context,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
BaseServiceValidatorImpl.updateType(CallContext callContext,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
InMemoryService.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
protected List<TypeDefinition> |
InMemoryAbstractServiceImpl.getTypeDefinition(String repositoryId,
List<String> typeIds) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseServiceValidatorImpl.checkBasicType(TypeDefinition type) |
protected void |
BaseServiceValidatorImpl.checkSettableAttributes(String repositoryId,
TypeDefinition oldTypeDefinition,
TypeDefinition newTypeDefinition) |
protected void |
BaseServiceValidatorImpl.checkUpdateType(TypeDefinition updateType,
TypeDefinition type) |
TypeDefinition |
InMemoryRepositoryServiceImpl.createType(CallContext context,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
void |
BaseServiceValidatorImpl.createType(CallContext callContext,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
InMemoryService.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
InMemoryRepositoryServiceImpl.updateType(CallContext context,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
BaseServiceValidatorImpl.updateType(CallContext callContext,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
InMemoryService.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
CmisServiceValidator.deleteType(CallContext callContext,
String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
CmisServiceValidator.updateType(CallContext callContext,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
void |
TypeManagerCreatable.addTypeDefinition(TypeDefinition typeDefinition,
boolean addInheritedProperties)
Add a type to the type system.
|
void |
CmisServiceValidator.createType(CallContext callContext,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
CmisServiceValidator.updateType(CallContext callContext,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
void |
TypeManagerCreatable.updateTypeDefinition(TypeDefinition typeDefinition)
Modify an existing type definition.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
InMemoryServiceValidatorImpl.deleteType(CallContext callContext,
String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
InMemoryServiceValidatorImpl.updateType(CallContext callContext,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
static List<TypeDefinition> |
StoreManagerImpl.initTypeSystem(String typeCreatorClassName) |
Modifier and Type | Method and Description |
---|---|
void |
InMemoryServiceValidatorImpl.createType(CallContext callContext,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
InMemoryServiceValidatorImpl.updateType(CallContext callContext,
String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Class and Description |
---|---|
static class |
DocumentTypeCreationHelper.InMemoryDocumentType |
static class |
DocumentTypeCreationHelper.InMemoryFolderType |
static class |
DocumentTypeCreationHelper.InMemoryItemType |
static class |
DocumentTypeCreationHelper.InMemoryPolicyType |
static class |
DocumentTypeCreationHelper.InMemoryRelationshipType |
static class |
DocumentTypeCreationHelper.InMemorySecondaryType |
Modifier and Type | Field and Description |
---|---|
static List<TypeDefinition> |
DefaultTypeSystemCreator.SINGLETON_TYPES |
Modifier and Type | Method and Description |
---|---|
static TypeDefinition |
TypeUtil.cloneType(TypeDefinition type) |
static TypeDefinition |
DefaultTypeSystemCreator.getTypeById(String typeId) |
Modifier and Type | Method and Description |
---|---|
static List<TypeDefinition> |
DocumentTypeCreationHelper.createDefaultTypes()
Create root types and a collection of sample types.
|
static List<TypeDefinition> |
DocumentTypeCreationHelper.createMapWithDefaultTypes() |
List<TypeDefinition> |
DefaultTypeSystemCreator.createTypesList() |
static List<TypeDefinition> |
DocumentTypeCreationHelper.getDefaultTypes() |
static List<TypeDefinition> |
DefaultTypeSystemCreator.getTypesList() |
Modifier and Type | Method and Description |
---|---|
static TypeDefinition |
TypeUtil.cloneType(TypeDefinition type) |
static ObjectData |
PropertyCreationHelper.getObjectDataQueryResult(TypeManager tm,
ObjectStore objectStore,
TypeDefinition primaryType,
StoredObject so,
String user,
Map<String,String> requestedProperties,
Map<String,String> requestedFuncs,
List<TypeDefinition> secondaryTypes,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter) |
static Properties |
PropertyCreationHelper.getPropertiesFromObject(StoredObject so,
ObjectStore objectStore,
TypeDefinition primaryType,
List<TypeDefinition> secondaryTypes,
Map<String,String> requestedIds,
Map<String,String> requestedFuncs) |
Modifier and Type | Method and Description |
---|---|
static ObjectData |
PropertyCreationHelper.getObjectDataQueryResult(TypeManager tm,
ObjectStore objectStore,
TypeDefinition primaryType,
StoredObject so,
String user,
Map<String,String> requestedProperties,
Map<String,String> requestedFuncs,
List<TypeDefinition> secondaryTypes,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter) |
static Properties |
PropertyCreationHelper.getPropertiesFromObject(StoredObject so,
ObjectStore objectStore,
TypeDefinition primaryType,
List<TypeDefinition> secondaryTypes,
Map<String,String> requestedIds,
Map<String,String> requestedFuncs) |
Modifier and Type | Method and Description |
---|---|
static TypeDefinition |
JcrTypeManager.copyTypeDefinition(TypeDefinition type) |
TypeDefinition |
JcrTypeManager.getType(String typeId) |
TypeDefinition |
JcrTypeManager.getTypeByQueryName(String typeQueryName) |
TypeDefinition |
JcrRepository.getTypeDefinition(javax.jcr.Session session,
String typeId)
See CMIS 1.0 section 2.2.2.5 getTypeDefinition
|
TypeDefinition |
JcrService.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
boolean |
JcrTypeManager.addType(TypeDefinition type)
Adds a type to collection with inheriting base type properties.
|
void |
JcrTypeManager.addTypeDefinition(TypeDefinition typeDefinition,
boolean addInheritedProperties) |
static TypeDefinition |
JcrTypeManager.copyTypeDefinition(TypeDefinition type) |
String |
JcrTypeManager.getPropertyIdForQueryName(TypeDefinition typeDefinition,
String propQueryName) |
static boolean |
JcrTypeManager.isVersionable(TypeDefinition typeDef) |
static void |
JcrFolder.setProperties(javax.jcr.Node node,
TypeDefinition type,
Properties properties) |
void |
JcrTypeManager.updateTypeDefinition(TypeDefinition typeDefinition) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
DefaultUnversionedDocumentTypeHandler.getTypeDefinition() |
TypeDefinition |
DefaultFolderTypeHandler.getTypeDefinition() |
TypeDefinition |
DefaultDocumentTypeHandler.getTypeDefinition() |
Modifier and Type | Method and Description |
---|---|
protected String |
QueryTranslator.buildElementTest(TypeDefinition fromType)
Build a XPath element test for the given CMIS type.
|
protected String |
QueryTranslator.buildOrderByClause(TypeDefinition fromType,
List<QueryObject.SortSpec> orderBys)
Build a XPath order by clause for the given CMIS type and a list of
QueryObject.SortSpec s. |
protected String |
QueryTranslator.buildPathExpression(TypeDefinition fromType,
String folderPredicate)
Build a XPath path expression for the CMIS type queried for and a folder
predicate.
|
protected String |
QueryTranslator.buildPredicates(TypeDefinition fromType,
String condition)
Build a XPath predicate for the given CMIS type and an additional
condition.
|
protected abstract String |
QueryTranslator.jcrPathFromCol(TypeDefinition fromType,
String name)
Map a column name in the CMIS query to the corresponding relative JCR
path.
|
protected abstract String |
QueryTranslator.jcrTypeCondition(TypeDefinition fromType)
Create and additional condition in order for the query to only return
nodes of the right type.
|
protected abstract String |
QueryTranslator.jcrTypeName(TypeDefinition fromType)
Map a CMIS type to the corresponding JCR type name.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
JcrTypeHandler.getTypeDefinition() |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
AtomEntryParser.getTypeDefinition()
Returns the type definition.
|
Modifier and Type | Method and Description |
---|---|
void |
AtomEntry.writeType(TypeDefinition type,
CmisVersion cmisVersion)
Writes a type.
|
void |
AbstractAtomPubServiceCall.writeTypeEntry(AtomEntry entry,
TypeDefinition type,
List<TypeDefinitionContainer> children,
String repositoryId,
UrlBuilder baseUrl,
boolean isRoot,
CmisVersion cmisVersion)
Writes the a type entry.
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
ServerTypeCacheImpl.getTypeDefinition(String typeId) |
TypeDefinition |
ServerTypeCacheImpl.getTypeDefinitionForObject(String objectId) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
DummyService.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
TypeManager.getTypeByQueryName(String typeQueryName)
return a type definition from the type query name or null if not found
|
Modifier and Type | Method and Description |
---|---|
void |
TypeManager.addTypeDefinition(TypeDefinition typeDefinition,
boolean addInheritedProperties)
Add a type to the type system.
|
MutableTypeDefinition |
TypeDefinitionFactory.copy(TypeDefinition sourceTypeDefintion,
boolean includePropertyDefinitions)
Copies the given type definition and returns a mutable object.
|
MutableTypeDefinition |
TypeDefinitionFactory.copy(TypeDefinition sourceTypeDefintion,
boolean includePropertyDefinitions,
CmisVersion cmisVersion)
Copies the given type definition and returns a mutable object.
|
protected void |
TypeDefinitionFactory.copyPropertyDefinitions(TypeDefinition source,
MutableTypeDefinition target,
CmisVersion cmisVersion,
boolean markAsInherited)
Copies the property definitions from a source type to a target type.
|
MutableTypeDefinition |
TypeDefinitionFactory.createChildTypeDefinition(TypeDefinition parentTypeDefinition,
String id)
Creates a new mutable type definition, which is a child of the provided
type definition.
|
MutableTypeDefinition |
TypeDefinitionFactory.createChildTypeDefinition(TypeDefinition parentTypeDefinition,
String id,
String localName,
String queryName,
String displayName,
String description,
boolean includePropertyDefinitions,
CmisVersion cmisVersion)
Creates a new mutable type definition, which is a child of the provided
type definition.
|
TypeDefinitionContainer |
TypeDefinitionFactory.createTypeDefinitionContainer(TypeDefinition typeDef,
List<TypeDefinitionContainer> children)
Creates a type definition container.
|
String |
TypeManager.getPropertyIdForQueryName(TypeDefinition typeDefinition,
String propQueryName)
retrieve the property id from a type for a given property query name
|
static boolean |
TypeValidator.typeContainsProperty(TypeDefinition typeDef,
String propertyId) |
static boolean |
TypeValidator.typeContainsPropertyWithQueryName(TypeDefinition typeDef,
String propertyQueryName) |
void |
TypeManager.updateTypeDefinition(TypeDefinition typeDefinition)
Modify an existing type definition.
|
static void |
TypeValidator.validateAcl(TypeDefinition typeDef,
Acl addACEs,
Acl removeACEs) |
static void |
TypeValidator.validateAllowedChildObjectTypes(TypeDefinition childTypeDef,
List<String> allowedChildTypes) |
static void |
TypeValidator.validateAllowedRelationshipTypes(RelationshipTypeDefinition relationshipTypeDef,
TypeDefinition sourceTypeDef,
TypeDefinition targetTypeDef) |
protected static void |
TypeValidator.validateAllowedTypes(TypeDefinition typeDef,
List<String> allowedTypes,
String description) |
static <T> void |
TypeValidator.validateProperties(TypeDefinition typeDef,
Properties properties,
boolean checkMandatory) |
static <T> void |
TypeValidator.validateProperties(TypeDefinition typeDef,
Properties properties,
boolean checkMandatory,
boolean cmis11) |
Modifier and Type | Method and Description |
---|---|
TypeDefinitionList |
TypeDefinitionFactory.createTypeDefinitionList(List<TypeDefinition> list,
boolean hasMoreItems,
BigInteger numItems)
Creates a type definition list.
|
TypeDefinitionList |
TypeDefinitionFactory.createTypeDefinitionList(Map<String,TypeDefinition> allTypes,
String typeId,
Boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount)
|
TypeDefinitionList |
TypeDefinitionFactory.createTypeDefinitionList(Map<String,TypeDefinition> allTypes,
String typeId,
Boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount,
CmisVersion cmisVersion)
|
List<TypeDefinitionContainer> |
TypeDefinitionFactory.createTypeDescendants(Map<String,TypeDefinition> allTypes,
String typeId,
BigInteger depth,
Boolean includePropertyDefinitions)
|
List<TypeDefinitionContainer> |
TypeDefinitionFactory.createTypeDescendants(Map<String,TypeDefinition> allTypes,
String typeId,
BigInteger depth,
Boolean includePropertyDefinitions,
CmisVersion cmisVersion)
|
static <T> void |
TypeValidator.validateProperties(List<TypeDefinition> typeDefs,
Properties properties,
boolean checkMandatory) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
QueryObject.getMainFromName() |
TypeDefinition |
QueryObject.getParentType(String typeId) |
TypeDefinition |
QueryObject.getParentType(TypeDefinition td) |
TypeDefinition |
ColumnReference.getTypeDefinition() |
TypeDefinition |
QueryObject.getTypeDefinitionFromQueryName(String queryName) |
Modifier and Type | Method and Description |
---|---|
List<TypeDefinition> |
QueryObject.getJoinedSecondaryTypes()
Tests if the query has a JOIN from one primary type to only secondary
types (This JOIN does not require a JOIN capability in CMIS).
|
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
QueryObject.getParentType(TypeDefinition td) |
void |
ColumnReference.setTypeDefinition(String propertyId,
TypeDefinition typeDef) |
protected void |
QueryObject.validateColumnReferenceAndResolveType(TypeDefinition td,
ColumnReference colRef) |
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
SimpleLoggingCmisServiceWrapper.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
ConformanceCmisServiceWrapper.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
AbstractCmisServiceWrapper.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
SimpleLoggingCmisServiceWrapper.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
ConformanceCmisServiceWrapper.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
AbstractCmisServiceWrapper.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
SimpleLoggingCmisServiceWrapper.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
ConformanceCmisServiceWrapper.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
AbstractCmisServiceWrapper.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
protected void |
ConformanceCmisServiceWrapper.checkTypeDefinition(TypeDefinition typeDef)
Throws an exception if the given type definition is
null . |
TypeDefinition |
SimpleLoggingCmisServiceWrapper.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
ConformanceCmisServiceWrapper.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
AbstractCmisServiceWrapper.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
SimpleLoggingCmisServiceWrapper.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
ConformanceCmisServiceWrapper.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
AbstractCmisServiceWrapper.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
protected CmisTestResult |
AbstractSessionTest.assertEquals(TypeDefinition expected,
TypeDefinition actual,
CmisTestResult success,
CmisTestResult failure) |
CmisTestResult |
AbstractSessionTest.CmisPropertyDefintion.check(TypeDefinition type) |
protected CmisTestResult |
AbstractSessionTest.checkTypeDefinition(Session session,
TypeDefinition type,
String message) |
protected ObjectType |
AbstractSessionTest.createType(Session session,
TypeDefinition typeDef)
Creates a new type.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyMapperExif.mapTagAndConvert(com.drew.metadata.Directory dir,
com.drew.metadata.Tag tag,
TypeDefinition td)
store the property id mapped to this tag in a JPEG file in a local map
|
Modifier and Type | Method and Description |
---|---|
void |
MetadataParserTika.extractMetadata(File f,
TypeDefinition td,
Session session) |
void |
MetadataParserExif.extractMetadata(File f,
TypeDefinition td,
Session session) |
void |
MetadataParser.extractMetadata(File f,
TypeDefinition td,
Session session)
Parse a file and extract all metadata and store them in a CMIS property bag
|
Modifier and Type | Method and Description |
---|---|
protected void |
CreateDialog.updateMandatoryFields(TypeDefinition type) |
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.