org.xcmis.sp.jcr.exo
Class PropertyDefinitions

java.lang.Object
  extended by org.xcmis.sp.jcr.exo.PropertyDefinitions

public final class PropertyDefinitions
extends Object

Mapping for known CMIS object properties.

Version:
$Id: PropertyDefinitions.java 1262 2010-06-09 10:07:01Z andrew00x $
Author:
Andrey Parfonov

Method Summary
static Map<String,PropertyDefinition<?>> getAll(String objectTypeId)
          Get all property definitions for objectTypeId.
static PropertyDefinition<?> getPropertyDefinition(String objectTypeId, String propDefId)
          Get one property definition with propDefId for objectTypeId.
static Set<String> getPropertyIds(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 Map<String,PropertyDefinition<?>> getAll(String objectTypeId)
Get all property definitions for objectTypeId.

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

getPropertyIds

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

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

getPropertyDefinition

public static PropertyDefinition<?> getPropertyDefinition(String objectTypeId,
                                                          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 © 2010 eXo Platform SAS. All Rights Reserved.