com.centrasite.control.registry.items.accessors
Class RegistryObjectLastModifiedDateAccessor
java.lang.Object
com.centrasite.control.discovery.AbstractPropertyAccessor
com.centrasite.control.discovery.ReadOnlyPropertyAccessor
com.centrasite.control.registry.items.accessors.RegistryObjectLastModifiedDateAccessor
- All Implemented Interfaces:
- PropertyAccessor, ExtensionPropertyAccessor, AllowsSortingUsingXQuery
public class RegistryObjectLastModifiedDateAccessor
- extends ReadOnlyPropertyAccessor
- implements ExtensionPropertyAccessor, AllowsSortingUsingXQuery
Field Summary |
static java.lang.String |
rcs_id
|
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 |
Methods inherited from interface com.centrasite.control.discovery.PropertyAccessor |
editProperty, getActivatingMessage, getCommands, getDescription, getDisplayName, getReferencedItem, getSelectReferencedItemDescriptor, isComplexProperty, isDateProperty, isIntProperty, isReadOnly, isTextEditAllowed, selectReferencedItem, setValue |
rcs_id
public static final java.lang.String rcs_id
- See Also:
- Constant Field Values
get
public static RegistryObjectLastModifiedDateAccessor get()
getPropertyName
public java.lang.String getPropertyName()
- Description copied from interface:
PropertyAccessor
- Obtain name of property being accessed via this accessor.
- Specified by:
getPropertyName
in interface PropertyAccessor
- Returns:
- The string being returned is an internal string NOT being constructed by means of I18N infrastructure. It
may be used internally for storing user-specific settings for example selected columns in a table. This selection
should not depend on the language!
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
appliesTo
public boolean appliesTo(java.lang.String conceptName,
Connector con)
- Specified by:
appliesTo
in interface ExtensionPropertyAccessor
- Parameters:
conceptName
- name of concept in ObjectType classification scheme
or a unique string, e.g. the name of the calling class
prefixed by CONTEXT_CLASScon
- the Connector
- Returns:
- true iff this extension applies to the given context
getVisibleByDefault
public boolean getVisibleByDefault()
- Specified by:
getVisibleByDefault
in interface ExtensionPropertyAccessor
- Returns:
- true iff the property contributed by this extension shall be
visible by default.
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.