|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.FeatureDescriptor atg.beans.SerializableFeatureDescriptor atg.beans.DynamicPropertyDescriptor atg.repository.RepositoryPropertyDescriptor atg.repository.linked.RepositoryLinkPropertyDescriptor
public class RepositoryLinkPropertyDescriptor
A property descriptor which describes a property of a RepositoryItem which points to another RepsositoryItem in another Repository. Unlike the GSA's Repository-linking feature, this property searches the Repository that's pointed to for an item with a particular unique Id. The property that acts as a unique Id is specified in this descriptor's configuration.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.repository.RepositoryPropertyDescriptor |
---|
EMPTY_LIST, EMPTY_MAP, EMPTY_SET, FOREIGN_REPOSITORY_NAME, FOREIGN_REPOSITORY_PATH, mCollectionOrMap |
Fields inherited from class atg.beans.DynamicPropertyDescriptor |
---|
PORTABLE_VALUE_KEY |
Fields inherited from class atg.beans.SerializableFeatureDescriptor |
---|
BUNDLE_ATTRIBUTE_NAME, LOCALE_ATTRIBUTE_NAME |
Constructor Summary | |
---|---|
RepositoryLinkPropertyDescriptor()
Constructs a new RepositoryLinkPropertyDescriptor. |
Method Summary | |
---|---|
java.lang.Class |
getPropertyType()
Returns the property type. |
java.lang.Object |
getPropertyValue(RepositoryItemImpl pItem,
java.lang.Object pCachedValue)
Returns the value of the underlying property. |
java.lang.String |
getTypeName()
Returns the name this type uses in the XML file. |
java.lang.String |
getUniqueIdPropertyLocal()
Returns the property to use as the local unique id. |
java.lang.String |
getUniqueIdPropertyRemote()
Returns the property to use as the remote unique id. |
boolean |
isLoggingDebug()
Returns true if the repository we are part of is logging debug statements. |
void |
setPropertyValue(RepositoryItemImpl pItem,
java.lang.Object pValue)
Sets the property of this type for the item descriptor provided. |
void |
setUniqueIdPropertyLocal(java.lang.String pUniqueIdPropertyLocal)
Sets the property to use as the local unique id. |
void |
setUniqueIdPropertyRemote(java.lang.String pUniqueIdPropertyRemote)
Sets the property to use as the remote unique id. |
void |
setValue(java.lang.String pAttributeName,
java.lang.Object pValue)
Catches the attribute values that we care about and stores them in member variables. |
Methods inherited from class atg.beans.SerializableFeatureDescriptor |
---|
copyFeatureDescriptor, getDisplayName, getDisplayNameResource, getDisplaySortString, getShortDescription, getShortDescriptionResource, getSortString, setDisplayNameResource, setShortDescriptionResource |
Methods inherited from class java.beans.FeatureDescriptor |
---|
attributeNames, getName, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public RepositoryLinkPropertyDescriptor()
Method Detail |
---|
public java.lang.String getUniqueIdPropertyLocal()
public void setUniqueIdPropertyLocal(java.lang.String pUniqueIdPropertyLocal)
public java.lang.String getUniqueIdPropertyRemote()
public void setUniqueIdPropertyRemote(java.lang.String pUniqueIdPropertyRemote)
public java.lang.Class getPropertyType()
getPropertyType
in class DynamicPropertyDescriptor
public java.lang.String getTypeName()
getTypeName
in class RepositoryPropertyDescriptor
public void setValue(java.lang.String pAttributeName, java.lang.Object pValue)
Looks for:
uniqueIdPropertyLocal
: the name of the local
property to link against
uniqueIdPropertyRemote
: the name of the remote
property to link against
setValue
in class RepositoryPropertyDescriptor
public java.lang.Object getPropertyValue(RepositoryItemImpl pItem, java.lang.Object pCachedValue)
getPropertyValue
in class RepositoryPropertyDescriptor
public void setPropertyValue(RepositoryItemImpl pItem, java.lang.Object pValue)
setPropertyValue
in class RepositoryPropertyDescriptor
public boolean isLoggingDebug()
isLoggingDebug
in class RepositoryPropertyDescriptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |