|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.ebusiness.catalog.CatalogItemImpl
This is the implementation class for all items contained by the Catalog. This class exposes data accessors for item data conforming to the Dublin Core Metadata. Refer to the DCM spec for details. Dublin Core Element Set
Field Summary | |
protected MutableCatalogItem |
delegateItem
|
Method Summary | |
void |
addBusinessPolicy(java.lang.String policyKey,
BusinessPolicy businessPolicy)
Deprecated. This method has been deprecated and now performs no operation. |
void |
addPropertyValue(java.lang.String scopeName,
java.lang.String key,
java.lang.Object propertyValue)
Deprecated. This method has been deprecated and now performs no operation. This functionality is now provided only through the EBCC. |
void |
addPropertyValueMapped(java.lang.String scopeName,
java.lang.String propertyKey,
java.lang.String mappedKey,
java.lang.Object propertyValue)
Deprecated. This method has been deprecated and now performs no operation. |
BusinessPolicy |
getBusinessPolicy(java.lang.String policyKey)
Deprecated. This method has been deprecated and will now return a null. |
java.lang.String |
getContributor()
Get the contributor for this catalog item |
java.lang.String |
getCoverage()
Get the coverage for this catalog item |
java.util.Date |
getCreationDate()
Get the creation date for this catalog item |
java.lang.String |
getCreator()
Get the creator for this catalog item |
java.lang.String |
getDescription(int index)
Get the description for this catalog item |
ImageInfo |
getImage(int index)
Get an Image for this catalog item |
java.lang.String |
getJndiName()
Deprecated. This method has been deprecated and will now return a null. |
CatalogItemKey |
getKey()
Get the primary key for this catalog item |
java.lang.String |
getLanguage()
Get the language for this catalog item |
java.util.Date |
getModifiedDate()
Get the modified date for this catalog item |
java.lang.String |
getName()
Get the name for this catalog item |
java.lang.String |
getPkString()
Retrieve the pk string for an entity. |
java.lang.Object |
getProperty(java.lang.String key,
java.lang.Object defaultValue)
Deprecated. This method has been deprecated and will now return a null. |
java.lang.Object |
getProperty(java.lang.String propertySet,
java.lang.String propertyName)
Retrieve the value that was persisted for this entity for the given property, within the given property set. |
java.lang.Object |
getProperty(java.lang.String scopeName,
java.lang.String key,
ConfigurableEntity successor,
java.lang.Object defaultValue)
Deprecated. This method has been deprecated and will now return a null. |
java.lang.String |
getPropertyAsString(java.lang.String propertySet,
java.lang.String propertyName)
Convenience method to return a property as a String. |
java.lang.String |
getPropertyAsString(java.lang.String scopeName,
java.lang.String key,
ConfigurableEntity successor,
java.lang.String defaultValue)
Deprecated. This method has been deprecated and will now return a null. |
java.lang.Object |
getPropertyDefault(java.lang.String scopeName,
java.lang.String key,
ConfigurableEntity successor)
Deprecated. This method has been deprecated and will now return a null. |
java.lang.Object |
getPropertyNoDefault(java.lang.String propertySet,
java.lang.String propertyName)
Retrieve the value associated with the named key in the specified property set, but does not return a default value from the property's PropertyDefinition if a value was not persisted for this entity. |
java.lang.Object |
getPropertyNoDefault(java.lang.String scopeName,
java.lang.String key,
ConfigurableEntity successor)
Deprecated. This method has been deprecated and will now return a null. |
java.lang.String |
getPublisher()
Get the publisher for this catalog item |
java.lang.String |
getRelation()
Get the relation for this catalog item |
java.lang.String |
getRights()
Get the rights for this catalog item |
java.lang.String |
getSource()
Get the source for this catalog item |
ConfigurableEntity |
getSuccessor(java.lang.String scopeName)
Deprecated. This method has been deprecated and will now return a null. |
long |
getUniqueId()
Retrieve the unique identifier generated for this ConfigurableEntity. |
BusinessPolicy |
removeBusinessPolicy(java.lang.String policyKey)
Deprecated. This method has been deprecated and will now return a null. |
java.lang.Object |
removeProperty(java.lang.String key)
Deprecated. This method has been deprecated and will now return a null. |
java.lang.Object |
removeProperty(java.lang.String propertySet,
java.lang.String propertyName)
Remove the property associated with the named key in the specified property set. |
java.lang.Object |
removePropertyValue(java.lang.String scopeName,
java.lang.String key,
java.lang.Object propertyValue)
Deprecated. This method has been deprecated and will now return a null. |
java.lang.Object |
removePropertyValueMapped(java.lang.String scopeName,
java.lang.String propertyKey,
java.lang.String mappedKey)
Deprecated. This method has been deprecated and will now return a null. |
ConfigurableEntity |
removeSuccessor(java.lang.String scopeName)
Deprecated. This method has been deprecated and will now return a null. |
void |
setProperty(java.lang.String key,
java.lang.Object value)
Deprecated. This method has been deprecated. |
void |
setProperty(java.lang.String propertySet,
java.lang.String propertyName,
java.lang.Object value)
Associate the specified value with the named key in the specified property set. |
void |
setSuccessor(java.lang.String scopeName,
ConfigurableEntity successor)
Deprecated. This method has been deprecated and now performs no operation. |
java.lang.String |
toString()
Builds a string representation of this object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected MutableCatalogItem delegateItem
Method Detail |
public CatalogItemKey getKey()
public java.lang.String getName()
public java.lang.String getDescription(int index)
index
- the description to retrive, either CatalogItem.SHORT_DESCRIPTION_INDEX or CatalogItem.LONG_DESCRIPTION_INDEXpublic java.lang.String getCreator()
public java.lang.String getPublisher()
public java.lang.String getContributor()
public java.util.Date getCreationDate()
public java.lang.String getSource()
public java.lang.String getLanguage()
public java.lang.String getRelation()
public java.lang.String getCoverage()
public java.lang.String getRights()
public ImageInfo getImage(int index)
index
- the image to retrive, either SMALL_IMAGE_INDEX or LARGE_IMAGE_INDEXpublic java.util.Date getModifiedDate()
public java.lang.String toString()
public void addPropertyValue(java.lang.String scopeName, java.lang.String key, java.lang.Object propertyValue) throws SystemException, java.rmi.RemoteException
scopeName
- The name of the scope.key
- The name to associate the collection of values with.propertyValue
- The value to associate with the key and scope.public void addPropertyValueMapped(java.lang.String scopeName, java.lang.String propertyKey, java.lang.String mappedKey, java.lang.Object propertyValue) throws SystemException, java.rmi.RemoteException
scopeName
- The name of the scope.propertykey
- The name to associate the map object with.mappedkey
- The map key to associate the value in the map.propertyValue
- The value put in the map for the map key.public java.lang.Object getProperty(java.lang.String key, java.lang.Object defaultValue) throws SystemException, java.rmi.RemoteException
key
- The name of the property to retrieve.defaultValue
- The value to return if that property is
not set and there is not default value
found in the Schema.getProperty(String, String)
public java.lang.Object getProperty(java.lang.String scopeName, java.lang.String key, ConfigurableEntity successor, java.lang.Object defaultValue) throws SystemException, java.rmi.RemoteException
scopeName
- The name of the scope.key
- The name of the property to retrieve.successor
- The explicit successor to use for sucessor hiearchy
search if the entity does not have the property defined.defaultValue
- The value to return if that property is not set.getProperty(String, String)
public java.lang.String getPropertyAsString(java.lang.String scopeName, java.lang.String key, ConfigurableEntity successor, java.lang.String defaultValue) throws SystemException, java.rmi.RemoteException
scopeName
- The name of the scope.key
- The name of the property to retrieve.successor
- The explicit successor to use for sucessor hiearchy
search if the entity does not have the property defined.defaultValue
- The String to return if that property is not set.getPropertyAsString(String, String)
,
com.beasys.commerce.foundation.ConfigurableEntity#getProperty(String scopeName, String key, ConfigurableEntity successor, Object defaultValue)
public java.lang.Object getPropertyDefault(java.lang.String scopeName, java.lang.String key, ConfigurableEntity successor) throws SystemException, java.rmi.RemoteException
scopeName
- The name of the scope.key
- The name of the property to retrieve.successor
- The explicit successor to use for sucessor hiearchy
search if the entity does not have the property defined.public java.lang.Object getPropertyNoDefault(java.lang.String scopeName, java.lang.String key, ConfigurableEntity successor) throws SystemException, java.rmi.RemoteException
scopeName
- The name of the scope.key
- The name of the property to retrieve.successor
- The explicit successor to use for sucessor hiearchy
search if the entity does not have the property defined.getPropertyNoDefault(String, String)
public ConfigurableEntity getSuccessor(java.lang.String scopeName) throws SystemException, java.rmi.RemoteException
scopeName
- The name of the scope.public java.lang.Object removeProperty(java.lang.String key) throws SystemException, java.rmi.RemoteException
key
- The name of the property to remove.removeProperty(String, String)
public java.lang.Object removePropertyValue(java.lang.String scopeName, java.lang.String key, java.lang.Object propertyValue) throws SystemException, java.rmi.RemoteException
scopeName
- The name of the scope.key
- The name of the property that is associated
with the collection of values.propertyValue
- The object to remove from the collection.public java.lang.Object removePropertyValueMapped(java.lang.String scopeName, java.lang.String propertyKey, java.lang.String mappedKey) throws SystemException, java.rmi.RemoteException
scopeName
- The name of the scope.propertykey
- The name of the property that is associated
with the map.propertyValue
- The map key of the object to remove from the map.public ConfigurableEntity removeSuccessor(java.lang.String scopeName) throws java.rmi.RemoteException
scopeName
- The name of the scope.public void setProperty(java.lang.String key, java.lang.Object value) throws SystemException, java.rmi.RemoteException
name
- The name to associate the value with.value
- The value to associate with the name.setProperty(String, String, Object)
public void setSuccessor(java.lang.String scopeName, ConfigurableEntity successor) throws SystemException, java.rmi.RemoteException
scopeName
- The name of the scope.successor
- The scope-level successor used during the
search of a property.public void addBusinessPolicy(java.lang.String policyKey, BusinessPolicy businessPolicy) throws SystemException, java.rmi.RemoteException
public BusinessPolicy getBusinessPolicy(java.lang.String policyKey) throws SystemException, java.rmi.RemoteException
public BusinessPolicy removeBusinessPolicy(java.lang.String policyKey) throws SystemException, java.rmi.RemoteException
public java.lang.Object getProperty(java.lang.String propertySet, java.lang.String propertyName) throws java.rmi.RemoteException
propertySet
- The name of the property set to look inpropertyName
- The name of the property to retrieve.public java.lang.String getPropertyAsString(java.lang.String propertySet, java.lang.String propertyName) throws java.rmi.RemoteException
propertySet
- The name of the property set to look inpropertyName
- The name of the property to retrieve.public java.lang.Object getPropertyNoDefault(java.lang.String propertySet, java.lang.String propertyName) throws java.rmi.RemoteException
propertySet
- The name of the property setpropertyName
- The name of the property to retrieve.public void setProperty(java.lang.String propertySet, java.lang.String propertyName, java.lang.Object value) throws PropertyValidationException, java.rmi.RemoteException
propertySet
- The name of the property set.propertyName
- The name of the property to assignvalue
- The value to associate with the property namepublic java.lang.Object removeProperty(java.lang.String propertySet, java.lang.String propertyName) throws java.rmi.RemoteException
NOTE: if an explicit setter method is found for this property, this method will set the value to null. This method now takes a property set name and property name as arguments as opposed to it's previous signature: removeProperty(String scopeName, String key)
propertySet
- The name of the property set.propertyName
- The name of the property to remove.public long getUniqueId() throws java.rmi.RemoteException
public java.lang.String getPkString() throws java.rmi.RemoteException
public java.lang.String getJndiName() throws java.rmi.RemoteException
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |