org.exoplatform.ecms.xcmis.sp
Class PropertyDefinitions

java.lang.Object
  extended by org.exoplatform.ecms.xcmis.sp.PropertyDefinitions

public final class PropertyDefinitions
extends java.lang.Object

Mapping for known CMIS object properties.

Version:
$Id: PropertyDefinitions.java 68209 2011-04-13 09:37:52Z andrew00x $
Author:
Andrey Parfonov

Method Summary
static java.util.Map<java.lang.String,org.xcmis.spi.model.PropertyDefinition<?>> getAll(java.lang.String objectTypeId)
          Get all property definitions for objectTypeId.
static org.xcmis.spi.model.PropertyDefinition<?> getPropertyDefinition(java.lang.String objectTypeId, java.lang.String propDefId)
          Get one property definition with propDefId for objectTypeId.
static java.util.Set<java.lang.String> getPropertyIds(java.lang.String objectTypeId)
          Get all property IDs supported for objectTypeId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAll

public static java.util.Map<java.lang.String,org.xcmis.spi.model.PropertyDefinition<?>> getAll(java.lang.String objectTypeId)
Get all property definitions for objectTypeId.

Parameters:
objectTypeId - object type id
Returns:
set of object property definitions

getPropertyIds

public static java.util.Set<java.lang.String> getPropertyIds(java.lang.String objectTypeId)
Get all property IDs supported for objectTypeId.

Parameters:
objectTypeId - object type id
Returns:
set of object property definition IDs.

getPropertyDefinition

public static org.xcmis.spi.model.PropertyDefinition<?> getPropertyDefinition(java.lang.String objectTypeId,
                                                                              java.lang.String propDefId)
Get one property definition with propDefId for objectTypeId.

Parameters:
objectTypeId - object type id
propDefId - property definition id
Returns:
property definition or null


Copyright © 2011 eXo Platform SAS. All Rights Reserved.