org.gcube.contentmanagement.contentmanager.smsplugin.delegates
Class ReadUtil
java.lang.Object
org.gcube.contentmanagement.contentmanager.smsplugin.delegates.ReadUtil
public class ReadUtil
- extends java.lang.Object
- Author:
- Federico De Faveri defaveri@isti.cnr.it
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPLETE_TREE
public static final InformationObjectTreeResponse COMPLETE_TREE
PART_WALK_RULE
public static final TreeWalkRule PART_WALK_RULE
ALTERNATIVE_WALK_RULE
public static final TreeWalkRule ALTERNATIVE_WALK_RULE
METADATA_WALK_RULE
public static final TreeWalkRule METADATA_WALK_RULE
ANNOTATION_WALK_RULE
public static final TreeWalkRule ANNOTATION_WALK_RULE
ReadUtil
public ReadUtil()
createResponseConfig
public static InformationObjectTreeResponse createResponseConfig(DocumentProjection projection)
- Creates the ResponseConfig for the SMS call based on passed projection.
- Parameters:
projection
-
- Returns:
calculateWalkingRules
public static java.util.List<TreeWalkRule> calculateWalkingRules(DocumentProjection projection)
- Convert the given projection into a TreeWalk rules list.
- Parameters:
projection
- the projection to convert.
- Returns:
- the walk rules list.
calculatePropertyConditionForContentLocation
public static PropertyCondition calculatePropertyConditionForContentLocation(DocumentProjection projection)
calculatePropertyCondition
public static PropertyCondition calculatePropertyCondition(DocumentProperty label)