Object
CatalogItem
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
Object
CatalogItemImpl
CatalogItem
, ConfigurableEntity
, Serializable
CategoryImpl
, ProductItemImpl
Field Summary |
protected |
|
Method Summary |
public void |
|
public void |
|
public void |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public long |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public void |
|
public void |
|
public void |
|
public |
|
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods from interface com.beasys.commerce.ebusiness.catalog. |
|
Methods from interface com.bea.p13n.property. |
|
Field Detail |
protected MutableCatalogItem
delegateItem
Method Detail |
DEPRECATED This method has been deprecated and now performs no operation.
public void addBusinessPolicy(Add a new business policy to the object with the specified keyString
policyKey,BusinessPolicy
businessPolicy)
throwsSystemException
,RemoteException
SystemException
RemoteException
DEPRECATED This method has been deprecated and now performs no operation. This functionality is now provided only through the EBCC.
public void addPropertyValue(Add the specified property value to the collection of values associated with the named key for the specified scope.String
scopeName,String
key,Object
propertyValue)
throwsSystemException
,RemoteException
SystemException
RemoteException
DEPRECATED This method has been deprecated and now performs no operation.
public void addPropertyValueMapped(Add the specified property value to the map object associated with the named key for the specified scope.String
scopeName,String
propertyKey,String
mappedKey,Object
propertyValue)
throwsSystemException
,RemoteException
SystemException
RemoteException
DEPRECATED This method has been deprecated and will now return a null.
publicRetrieve the business policy with the specified key.BusinessPolicy
getBusinessPolicy(String
policyKey)
throwsSystemException
,RemoteException
SystemException
RemoteException
public String
getContributor()
Get the contributor for this catalog item
public String
getCoverage()
Get the coverage for this catalog item
public Date
getCreationDate()
Get the creation date for this catalog item
public String
getCreator()
Get the creator for this catalog item
public String
getDescription(int index)
Get the description for this catalog item
public ImageInfo
getImage(int index)
Get an Image for this catalog item
DEPRECATED This method has been deprecated and will now return a null.
publicRetrieve the jndi name for an entity. A combination of pk string and jndi name is always unique between entities.String
getJndiName()
throwsRemoteException
RemoteException
public CatalogItemKey
getKey()
Get the primary key for this catalog item
public String
getLanguage()
Get the language for this catalog item
public Date
getModifiedDate()
Get the modified date for this catalog item
public String
getName()
Get the name for this catalog item
publicRetrieve the pk string for an entity. A combination of pk string and jndi name is always unique between entities.String
getPkString()
throwsRemoteException
RemoteException
DEPRECATED This method has been deprecated and will now return a null.
publicRetrieve the value associated with the named key in the default scope. If the entity does not have the property defined, the property will be searched in the successor hiearchy for the default scope. If the property could not be found in the successor chain, a lookup for the default value defined for the PropertyMetaData in the Schema is returned. The Schema is retrieved using the SchemaGroupName environment property defined for the bean. If the property meta data is not available (or there is no Schema defined) then the specified default value is returned.Object
getProperty(String
key,Object
defaultValue)
throwsSystemException
,RemoteException
SystemException
RemoteException
Related Topics
CatalogItemImpl.getProperty(String, String)
DEPRECATED This method has been deprecated and will now return a null.
publicRetrieve the value associated with the named key in the specified scope. If the entity does not have the property defined for the specified scope, the property will be searched in the successor hiearchy using the explicit successor first and then the successor for the specified scope. If the could not be found in the successors hiearchy, a lookup for default value defined for the PropertyMetaData in the Schema is returned. The Schema is retrieved using the SchemaGroupName environment property defined for the bean. If the property meta data is not available (or there is no Schema defined) then the specified default value is returned.Object
getProperty(String
scopeName,String
key,ConfigurableEntity
successor,Object
defaultValue)
throwsSystemException
,RemoteException
SystemException
RemoteException
Related Topics
CatalogItemImpl.getProperty(String, String)
publicRetrieve the value that was persisted for this entity for the given property, within the given property set. If the entity does not have a value persisted for this property, the default value from the property set will be returned.Object
getProperty(String
propertySet,String
propertyName)
throwsRemoteException
RemoteException
DEPRECATED This method has been deprecated and will now return a null.
publicRetrieve the String value of the property associated the named key in the specified scope.String
getPropertyAsString(String
scopeName,String
key,ConfigurableEntity
successor,String
defaultValue)
throwsSystemException
,RemoteException
SystemException
RemoteException
Related Topics
CatalogItemImpl.getPropertyAsString(String, String)
ConfigurableEntity.getProperty(String, String)
publicConvenience method to return a property as a String. This method now takes a property set name and property name as arguments as opposed to it's previous signature: getPropertyAsString(String key, String defaultValue)String
getPropertyAsString(String
propertySet,String
propertyName)
throwsRemoteException
RemoteException
DEPRECATED This method has been deprecated and will now return a null.
publicRetrieve the default value from the Schema for the named key and the specified scope. This method is used by the implementation of the getProperty methods for retrieving the default value for a property from the successor hierarchy.Object
getPropertyDefault(String
scopeName,String
key,ConfigurableEntity
successor)
throwsSystemException
,RemoteException
SystemException
RemoteException
DEPRECATED This method has been deprecated and will now return a null.
publicRetrieve the value associated with the named key in the specified scope but does not return a default value if the property does not exist for the entity of in the hierarchy of successors. This method is used by the implementation of the getProperty methods so that the search in the successor hierarchy does not return a default value from the Schema.Object
getPropertyNoDefault(String
scopeName,String
key,ConfigurableEntity
successor)
throwsSystemException
,RemoteException
SystemException
RemoteException
Related Topics
CatalogItemImpl.getPropertyNoDefault(String, String)
publicRetrieve 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. This method is used by the implementation of the getProperty methods so that the search in the successor hierarchy does not return a default value from the Schema.Object
getPropertyNoDefault(String
propertySet,String
propertyName)
throwsRemoteException
RemoteException
public String
getPublisher()
Get the publisher for this catalog item
public String
getRelation()
Get the relation for this catalog item
public String
getRights()
Get the rights for this catalog item
public String
getSource()
Get the source for this catalog item
DEPRECATED This method has been deprecated and will now return a null.
publicRetrieve the successor associated with this ConfigurableEntity for the specified scope.ConfigurableEntity
getSuccessor(String
scopeName)
throwsSystemException
,RemoteException
SystemException
RemoteException
public long getUniqueId()Retrieve the unique identifier generated for this ConfigurableEntity. The unique identifier is used by the EntityPropertyManager to optimize the foreign keys in the persistent storage. This method may not be implemented in a lightweight implementation of ConfigurableEntity.
throwsRemoteException
RemoteException
DEPRECATED This method has been deprecated and will now return a null.
publicRemove the business policy with the specified key.BusinessPolicy
removeBusinessPolicy(String
policyKey)
throwsSystemException
,RemoteException
SystemException
RemoteException
DEPRECATED This method has been deprecated and will now return a null.
publicRemove the property associated with the named key in the default scope.Object
removeProperty(String
key)
throwsSystemException
,RemoteException
SystemException
RemoteException
Related Topics
CatalogItemImpl.removeProperty(String, String)
publicRemove the property associated with the named key in the specified property set.Object
removeProperty(String
propertySet,String
propertyName)
throwsRemoteException
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)
RemoteException
DEPRECATED This method has been deprecated and will now return a null.
publicRemove the property value object from the collection associated with the named key in the specified scope.Object
removePropertyValue(String
scopeName,String
key,Object
propertyValue)
throwsSystemException
,RemoteException
SystemException
RemoteException
DEPRECATED This method has been deprecated and will now return a null.
publicRemove the property value object from the map associated with the named key in the specified scope.Object
removePropertyValueMapped(String
scopeName,String
propertyKey,String
mappedKey)
throwsSystemException
,RemoteException
SystemException
RemoteException
DEPRECATED This method has been deprecated and will now return a null.
publicRemove the successor for the specified scope.ConfigurableEntity
removeSuccessor(String
scopeName)
throwsRemoteException
RemoteException
DEPRECATED This method has been deprecated.
public void setProperty(Associate the specified value with the named key in the default scope.String
key,Object
value)
throwsSystemException
,RemoteException
SystemException
RemoteException
Related Topics
CatalogItemImpl.setProperty(String, String, Object)
public void setProperty(Associate the specified value with the named key in the specified property set. This method now takes a property set name, property name and value as arguments as opposed to it's previous signature: setProperty(String scopeName, String key, Object property)String
propertySet,String
propertyName,Object
value)
throwsPropertyValidationException
,RemoteException
PropertyValidationException
RemoteException
DEPRECATED This method has been deprecated and now performs no operation.
public void setSuccessor(Set the successor for the specified scope.String
scopeName,ConfigurableEntity
successor)
throwsSystemException
,RemoteException
SystemException
RemoteException
public String
toString()
Builds a string representation of this object.
Object.toString()