com.centrasite.control.registry.items.accessors
Class AbstractRegistryObjectExternalClassificationAccessor
java.lang.Object
com.centrasite.control.discovery.AbstractPropertyAccessor
com.centrasite.control.discovery.ReadWritePropertyAccessor
com.centrasite.control.registry.items.accessors.AbstractRegistryObjectExternalClassificationAccessor
- All Implemented Interfaces:
- PropertyAccessor, AllowsSortingUsingXQuery
- Direct Known Subclasses:
- OperationNamespaceAccessor, ServiceLocalNameAccessor, ServiceNamespaceAccessor
public abstract class AbstractRegistryObjectExternalClassificationAccessor
- extends ReadWritePropertyAccessor
- implements AllowsSortingUsingXQuery
Method Summary |
java.lang.String |
getSortPath(java.lang.String objectTypeValue)
This method returns the xpath that will be used in XQuery for sorting on the property accessed by the
PropertyAccessor implementing this interface. |
java.lang.String |
getValue(Item item)
Get value of property for given Item |
void |
setValue(Item item,
java.lang.String value)
Set value of property for given Item |
Methods inherited from class com.centrasite.control.discovery.AbstractPropertyAccessor |
editProperty, getActivatingMessage, getCommands, getDescription, getDisplayName, getReferencedItem, getSelectReferencedItemDescriptor, isComplexProperty, isDateProperty, isIntProperty, isTextEditAllowed, selectReferencedItem |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRegistryObjectExternalClassificationAccessor
public AbstractRegistryObjectExternalClassificationAccessor()
getValue
public java.lang.String getValue(Item item)
throws java.lang.Exception
- Description copied from interface:
PropertyAccessor
- Get value of property for given Item
- Specified by:
getValue
in interface PropertyAccessor
- Throws:
java.lang.Exception
setValue
public void setValue(Item item,
java.lang.String value)
throws java.lang.Exception
- Description copied from interface:
PropertyAccessor
- Set value of property for given Item
- Specified by:
setValue
in interface PropertyAccessor
- Throws:
java.lang.Exception
getSortPath
public java.lang.String getSortPath(java.lang.String objectTypeValue)
- Description copied from interface:
AllowsSortingUsingXQuery
- This method returns the xpath that will be used in XQuery for sorting on the property accessed by the
PropertyAccessor
implementing this interface.
Note: the xpath expression must contain $ro representing the registry object being searched
- Specified by:
getSortPath
in interface AllowsSortingUsingXQuery
- Parameters:
objectTypeValue
- the value of the object type or ObjectTypePredicate.ALL_OBJECT_TYPES
- Returns:
- The xpath to the sortable property.