public class UserURLAccessor extends ReadWritePropertyAccessor implements AllowsSortingUsingXQuery
isComplexProperty, isDateProperty, isIntProperty
Modifier and Type | Method and Description |
---|---|
static UserURLAccessor |
get() |
java.lang.String |
getPropertyName()
Obtain name of property being accessed via this accessor.
|
Item |
getReferencedItem(Item item)
Get the Item referenced by this property
|
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
|
boolean |
isTextEditAllowed(Item item)
Check whether property value may be edited directly (that is as a string)
|
void |
setValue(Item item,
java.lang.String value)
Set value of property for given Item
|
isReadOnly, isRequired
editProperty, getActivatingMessage, getCommands, getDescription, getDisplayName, getSelectReferencedItemDescriptor, isComplexProperty, isDateProperty, isIntProperty, selectReferencedItem
public static UserURLAccessor get()
public java.lang.String getPropertyName()
PropertyAccessor
getPropertyName
in interface PropertyAccessor
public java.lang.String getValue(Item item) throws java.lang.Exception
PropertyAccessor
getValue
in interface PropertyAccessor
java.lang.Exception
public void setValue(Item item, java.lang.String value) throws java.lang.Exception
PropertyAccessor
setValue
in interface PropertyAccessor
java.lang.Exception
public boolean isTextEditAllowed(Item item)
isTextEditAllowed
in interface PropertyAccessor
isTextEditAllowed
in class AbstractPropertyAccessor
item
- the current Itempublic Item getReferencedItem(Item item)
getReferencedItem
in interface PropertyAccessor
getReferencedItem
in class AbstractPropertyAccessor
item
- the current Itempublic java.lang.String getSortPath(java.lang.String objectTypeValue)
AllowsSortingUsingXQuery
PropertyAccessor
implementing this interface.
Note: the xpath expression must contain $ro representing the registry object being searchedgetSortPath
in interface AllowsSortingUsingXQuery
objectTypeValue
- the value of the object type or ObjectTypePredicate.ALL_OBJECT_TYPES