Package org.exoplatform.ecms.xcmis.sp
Class PropertyDefinitions
- java.lang.Object
-
- org.exoplatform.ecms.xcmis.sp.PropertyDefinitions
-
public final class PropertyDefinitions extends Object
Mapping for known CMIS object properties.- Version:
- $Id$
- Author:
- Andrey Parfonov
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,org.xcmis.spi.model.PropertyDefinition<?>>getAll(String objectTypeId)Get all property definitions forobjectTypeId.static org.xcmis.spi.model.PropertyDefinition<?>getPropertyDefinition(String objectTypeId, String propDefId)Get one property definition withpropDefIdforobjectTypeId.static Set<String>getPropertyIds(String objectTypeId)Get all property IDs supported forobjectTypeId.
-
-
-
Method Detail
-
getAll
public static Map<String,org.xcmis.spi.model.PropertyDefinition<?>> getAll(String objectTypeId)
Get all property definitions forobjectTypeId.- Parameters:
objectTypeId- object type id- Returns:
- set of object property definitions
-
getPropertyIds
public static Set<String> getPropertyIds(String objectTypeId)
Get all property IDs supported forobjectTypeId.- Parameters:
objectTypeId- object type id- Returns:
- set of object property definition IDs.
-
getPropertyDefinition
public static org.xcmis.spi.model.PropertyDefinition<?> getPropertyDefinition(String objectTypeId, String propDefId)
Get one property definition withpropDefIdforobjectTypeId.- Parameters:
objectTypeId- object type idpropDefId- property definition id- Returns:
- property definition or null
-
-