|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.control.discovery.AbstractPropertyAccessor
com.centrasite.control.discovery.ReadWritePropertyAccessor
com.centrasite.control.registry.items.accessors.RegistryObjectSlotAccessor
public class RegistryObjectSlotAccessor
Provide access to arbitrary slots of a RegistryObject
Constructor Summary | |
---|---|
RegistryObjectSlotAccessor(com.centrasite.jaxr.type.CentraSiteSlotDescription slotDescription)
|
|
RegistryObjectSlotAccessor(java.lang.String slotName)
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayName(java.util.Locale locale)
Obtain a localized display name for the property accessed using this PropertyAccessor |
java.lang.String |
getPropertyName()
Obtain name of property being accessed via this accessor. |
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 |
isRequired()
|
void |
setValue(Item item,
java.lang.String value)
Set value of property for given Item |
Methods inherited from class com.centrasite.control.discovery.ReadWritePropertyAccessor |
---|
isReadOnly |
Methods inherited from class com.centrasite.control.discovery.AbstractPropertyAccessor |
---|
editProperty, getActivatingMessage, getCommands, getDescription, getReferencedItem, getSelectReferencedItemDescriptor, isComplexProperty, isDateProperty, isIntProperty, isTextEditAllowed, selectReferencedItem |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryObjectSlotAccessor(com.centrasite.jaxr.type.CentraSiteSlotDescription slotDescription)
public RegistryObjectSlotAccessor(java.lang.String slotName)
Method Detail |
---|
public java.lang.String getPropertyName()
PropertyAccessor
getPropertyName
in interface PropertyAccessor
public java.lang.String getDisplayName(java.util.Locale locale)
AbstractPropertyAccessor
getDisplayName
in interface PropertyAccessor
getDisplayName
in class AbstractPropertyAccessor
public java.lang.String getDescription()
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 isRequired()
isRequired
in class ReadWritePropertyAccessor
public 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 searched
getSortPath
in interface AllowsSortingUsingXQuery
objectTypeValue
- the value of the object type or ObjectTypePredicate.ALL_OBJECT_TYPES
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |