atg.repository.dp
Class DerivedSearchConfigsPropertyDescriptor

java.lang.Object
  extended by java.beans.FeatureDescriptor
      extended by atg.beans.SerializableFeatureDescriptor
          extended by atg.beans.DynamicPropertyDescriptor
              extended by atg.repository.RepositoryPropertyDescriptor
                  extended by atg.repository.dp.DerivedSearchConfigsPropertyDescriptor
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class DerivedSearchConfigsPropertyDescriptor
extends RepositoryPropertyDescriptor

This custom property descriptor gives the List of searchConfigs derived from a baseSearchConfig.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static SearchConfigurationPropertyManager sPropertyManager
           
 
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
DerivedSearchConfigsPropertyDescriptor()
          Constructs an instanceof DerivedSearchConfigsPropertyDescriptor
DerivedSearchConfigsPropertyDescriptor(java.lang.String pPropertyName)
          Constructs an instanceof DerivedSearchConfigsPropertyDescriptor
DerivedSearchConfigsPropertyDescriptor(java.lang.String pPropertyName, java.lang.Class pPropertyType, java.lang.String pShortDescription)
          Constructs an instanceof DerivedSearchConfigsPropertyDescriptor
 
Method Summary
 java.lang.Object getPropertyValue(RepositoryItemImpl pItem, java.lang.Object pValue)
          Returns the derived configs
 java.lang.String getTypeName()
          Returns the name this type uses in the XML file.
protected  void initialize(RepositoryItemImpl pItem, java.lang.Object pValue)
          Invoked each time getPropertyValue is called.
 boolean isQueryable()
          Returns property Queryable
 boolean isWritable()
          Returns property Writable.
 
Methods inherited from class atg.repository.RepositoryPropertyDescriptor
clone, createPropertyDescriptorFromType, getCascadeDelete, getCascadeInsert, getCascadeUpdate, getComponentItemDescriptor, getComponentPropertyBeanInfo, getDefaultValue, getDefaultValueString, getItemDescriptor, getLocalizedResourceBundle, getPropertyBeanInfo, getPropertyItemDescriptor, getResourceBundle, getResourceBundleName, getUnmodifiableDefaultValue, isAssignableFrom, isCacheable, isCollectionOrMap, isDerived, isIdProperty, isIgnoreNullValue, isLoggingDebug, isMultiValued, isPersistent, isValidValue, isVersionable, isVersionableSet, registerPropertyDescriptorClass, setCacheable, setCascadeDelete, setCascadeInsert, setCascadeUpdate, setComponentItemDescriptor, setDefaultValue, setDefaultValueString, setDerived, setIdProperty, setIgnoreNullValue, setItemDescriptor, setLoggingDebug, setPersistent, setPropertyItemDescriptor, setPropertyType, setPropertyValue, setQueryable, setResourceBundleName, setValue, setVersionable, toString
 
Methods inherited from class atg.beans.DynamicPropertyDescriptor
createLocalePropertyEditor, createLocalePropertyEditor, createPropertyEditor, getComponentPropertyType, getPropertyEditorClass, getPropertyType, getUIPropertyEditor, isReadable, isRequired, setComponentPropertyType, setPropertyEditorClass, setReadable, setRequired, setWritable
 
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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


sPropertyManager

public static SearchConfigurationPropertyManager sPropertyManager
Constructor Detail

DerivedSearchConfigsPropertyDescriptor

public DerivedSearchConfigsPropertyDescriptor()
Constructs an instanceof DerivedSearchConfigsPropertyDescriptor


DerivedSearchConfigsPropertyDescriptor

public DerivedSearchConfigsPropertyDescriptor(java.lang.String pPropertyName)
Constructs an instanceof DerivedSearchConfigsPropertyDescriptor


DerivedSearchConfigsPropertyDescriptor

public DerivedSearchConfigsPropertyDescriptor(java.lang.String pPropertyName,
                                              java.lang.Class pPropertyType,
                                              java.lang.String pShortDescription)
Constructs an instanceof DerivedSearchConfigsPropertyDescriptor

Method Detail

isQueryable

public boolean isQueryable()
Returns property Queryable

Overrides:
isQueryable in class RepositoryPropertyDescriptor

isWritable

public boolean isWritable()
Returns property Writable.

Overrides:
isWritable in class DynamicPropertyDescriptor

initialize

protected void initialize(RepositoryItemImpl pItem,
                          java.lang.Object pValue)
Invoked each time getPropertyValue is called. This method should make sure that the internal data structures are setup to allow the property resolution to take place. For efficiency sake, it should recognize when the property descriptor is already initialized and does not perform it again.


getPropertyValue

public java.lang.Object getPropertyValue(RepositoryItemImpl pItem,
                                         java.lang.Object pValue)
Returns the derived configs

Overrides:
getPropertyValue in class RepositoryPropertyDescriptor

getTypeName

public java.lang.String getTypeName()
Returns the name this type uses in the XML file.

Overrides:
getTypeName in class RepositoryPropertyDescriptor