Class CmisTypeManager
- java.lang.Object
-
- org.ametys.plugins.workspaces.cmis.CmisTypeManager
-
public class CmisTypeManager extends Object
Manages the type definitions for all FileShare repositories.
-
-
Field Summary
Fields Modifier and Type Field Description private TypeDefinitionFactory
_typeDefinitionFactory
private Map<String,TypeDefinition>
_typeDefinitions
private static String
NAMESPACE
-
Constructor Summary
Constructors Constructor Description CmisTypeManager()
Type Manager
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeDefinition
getInternalTypeDefinition(String typeId)
Returns the internal type definition.TypeDefinitionList
getTypeChildren(CallContext context, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount)
get the type childrenTypeDefinition
getTypeDefinition(CallContext context, String typeId)
Get the type definitionprivate void
removeQueryableAndOrderableFlags(MutableTypeDefinition type)
String
toString()
-
-
-
Field Detail
-
NAMESPACE
private static final String NAMESPACE
- See Also:
- Constant Field Values
-
_typeDefinitionFactory
private final TypeDefinitionFactory _typeDefinitionFactory
-
_typeDefinitions
private final Map<String,TypeDefinition> _typeDefinitions
-
-
Constructor Detail
-
CmisTypeManager
public CmisTypeManager()
Type Manager
-
-
Method Detail
-
removeQueryableAndOrderableFlags
private void removeQueryableAndOrderableFlags(MutableTypeDefinition type)
-
getInternalTypeDefinition
public TypeDefinition getInternalTypeDefinition(String typeId)
Returns the internal type definition.- Parameters:
typeId
- String- Returns:
- Type definition
-
getTypeDefinition
public TypeDefinition getTypeDefinition(CallContext context, String typeId)
Get the type definition- Parameters:
context
- call contexttypeId
- type id- Returns:
- type definition
-
getTypeChildren
public TypeDefinitionList getTypeChildren(CallContext context, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount)
get the type children- Parameters:
context
- call contexttypeId
- typeincludePropertyDefinitions
- excludesmaxItems
- maxskipCount
- skip- Returns:
- list of type definition
-
-