Package | Description |
---|---|
org.apache.chemistry.opencmis.bridge | |
org.apache.chemistry.opencmis.client.api |
The OpenCMIS Client API.
|
org.apache.chemistry.opencmis.client.util | |
org.apache.chemistry.opencmis.commons.definitions |
OpenCMIS type and property definition interfaces.
|
org.apache.chemistry.opencmis.commons.impl.server | |
org.apache.chemistry.opencmis.commons.spi |
OpenCMIS client and server binding services.
|
org.apache.chemistry.opencmis.server.support | |
org.apache.chemistry.opencmis.server.support.query | |
org.apache.chemistry.opencmis.server.support.wrapper | |
org.apache.chemistry.opencmis.tck.impl |
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 |
---|---|
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 |
---|---|
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 |
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.
|
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.