|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.sistematica.isharedoc.opencmis.indatabase.TypeManagerImpl
public class TypeManagerImpl
Class that manages a type system for a repository types can be added, the inheritance can be managed and type can be retrieved for a given type id.
| Constructor Summary | |
|---|---|
TypeManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
addTypeDefinition(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition cmisType)
Add a type to the type system. |
void |
clearTypeSystem()
Remove all types from the type system. |
void |
deleteTypeDefinition(java.lang.String typeId)
Remove a type from a type system |
java.lang.String |
getPropertyIdForQueryName(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition typeDefinition,
java.lang.String propQueryName)
|
java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getRootTypes()
|
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer |
getTypeById(java.lang.String typeId)
|
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getTypeByQueryName(java.lang.String typeQueryName)
|
java.util.Collection<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getTypeDefinitionList()
|
void |
initTypeSystem(java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinition> typesList)
Initialize the type system with the given types. |
void |
updateTypeDefinition(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition typeDefinition)
Modify an existing type definition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeManagerImpl()
| Method Detail |
|---|
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer getTypeById(java.lang.String typeId)
getTypeById in interface org.apache.chemistry.opencmis.server.support.TypeManagerpublic org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeByQueryName(java.lang.String typeQueryName)
getTypeByQueryName in interface org.apache.chemistry.opencmis.server.support.TypeManagerpublic java.util.Collection<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDefinitionList()
getTypeDefinitionList in interface org.apache.chemistry.opencmis.server.support.TypeManagerpublic java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getRootTypes()
getRootTypes in interface org.apache.chemistry.opencmis.server.support.TypeManagerpublic void initTypeSystem(java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinition> typesList)
typesList - list of types to add to the repositorypublic void addTypeDefinition(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition cmisType)
addTypeDefinition in interface TypeManagerCreatablerepositoryId - repository to which the type is addedcmisType - new type to addpublic void updateTypeDefinition(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition typeDefinition)
TypeManagerCreatable
updateTypeDefinition in interface TypeManagerCreatabletypeDefinition - type to be modifiedpublic void deleteTypeDefinition(java.lang.String typeId)
deleteTypeDefinition in interface TypeManagerCreatabletypeId - public void clearTypeSystem()
repositoryId -
public java.lang.String getPropertyIdForQueryName(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition typeDefinition,
java.lang.String propQueryName)
getPropertyIdForQueryName in interface org.apache.chemistry.opencmis.server.support.TypeManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||