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.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 |
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 |
CmisServiceWrapper.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
TypeDefinition |
TypeManager.getTypeByQueryName(String typeQueryName)
return a type definition from the type query name or null if not found
|
TypeDefinition |
CmisServiceWrapper.getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension) |
TypeDefinition |
CmisServiceWrapper.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
Modifier and Type | Method and Description |
---|---|
protected void |
CmisServiceWrapper.checkTypeDefinition(TypeDefinition typeDef)
Throws an exception if the given type definition is
null . |
TypeDefinition |
CmisServiceWrapper.createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
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) |
TypeDefinition |
CmisServiceWrapper.updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension) |
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 |
---|---|
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 |
---|---|
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-2013 The Apache Software Foundation. All Rights Reserved.