|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.ebusiness.catalog.CatalogItemImpl
@Deprecated public class 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
Deprecated |
Fields inherited from interface com.beasys.commerce.ebusiness.catalog.CatalogItem |
---|
LARGE_IMAGE_INDEX, LONG_DESCRIPTION_INDEX, MAX_DESCRIPTION, MAX_IMAGES, SHORT_DESCRIPTION_INDEX, SMALL_IMAGE_INDEX |
Fields inherited from interface com.bea.p13n.property.ConfigurableEntity |
---|
RESERVED_PROPERTY_SET |
Method Summary | |
---|---|
void |
addBusinessPolicy(String policyKey,
BusinessPolicy businessPolicy)
Deprecated This method has been deprecated and now performs no operation. |
void |
addPropertyValue(String scopeName,
String key,
Object propertyValue)
Deprecated This method has been deprecated and now performs no operation. This functionality is now provided only through the EBCC. |
void |
addPropertyValueMapped(String scopeName,
String propertyKey,
String mappedKey,
Object propertyValue)
Deprecated This method has been deprecated and now performs no operation. |
BusinessPolicy |
getBusinessPolicy(String policyKey)
Deprecated This method has been deprecated and will now return a null. |
String |
getContributor()
Deprecated Get the contributor for this catalog item |
String |
getCoverage()
Deprecated Get the coverage for this catalog item |
Date |
getCreationDate()
Deprecated Get the creation date for this catalog item |
String |
getCreator()
Deprecated Get the creator for this catalog item |
String |
getDescription(int index)
Deprecated Get the description for this catalog item |
ImageInfo |
getImage(int index)
Deprecated Get an Image for this catalog item |
String |
getJndiName()
Deprecated This method has been deprecated and will now return a null. |
CatalogItemKey |
getKey()
Deprecated Get the primary key for this catalog item |
String |
getLanguage()
Deprecated Get the language for this catalog item |
Date |
getModifiedDate()
Deprecated Get the modified date for this catalog item |
String |
getName()
Deprecated Get the name for this catalog item |
String |
getPkString()
Deprecated Retrieve the pk string for an entity. |
Object |
getProperty(String key,
Object defaultValue)
Deprecated This method has been deprecated and will now return a null. |
Object |
getProperty(String propertySet,
String propertyName)
Deprecated Retrieve the value that was persisted for this entity for the given property, within the given property set. |
Object |
getProperty(String scopeName,
String key,
ConfigurableEntity successor,
Object defaultValue)
Deprecated This method has been deprecated and will now return a null. |
String |
getPropertyAsString(String propertySet,
String propertyName)
Deprecated Convenience method to return a property as a String. |
String |
getPropertyAsString(String scopeName,
String key,
ConfigurableEntity successor,
String defaultValue)
Deprecated This method has been deprecated and will now return a null. |
Object |
getPropertyDefault(String scopeName,
String key,
ConfigurableEntity successor)
Deprecated This method has been deprecated and will now return a null. |
Object |
getPropertyNoDefault(String propertySet,
String propertyName)
Deprecated 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. |
Object |
getPropertyNoDefault(String scopeName,
String key,
ConfigurableEntity successor)
Deprecated This method has been deprecated and will now return a null. |
String |
getPublisher()
Deprecated Get the publisher for this catalog item |
String |
getRelation()
Deprecated Get the relation for this catalog item |
String |
getRights()
Deprecated Get the rights for this catalog item |
String |
getSource()
Deprecated Get the source for this catalog item |
ConfigurableEntity |
getSuccessor(String scopeName)
Deprecated This method has been deprecated and will now return a null. |
long |
getUniqueId()
Deprecated Retrieve the unique identifier generated for this ConfigurableEntity. |
BusinessPolicy |
removeBusinessPolicy(String policyKey)
Deprecated This method has been deprecated and will now return a null. |
Object |
removeProperty(String key)
Deprecated This method has been deprecated and will now return a null. |
Object |
removeProperty(String propertySet,
String propertyName)
Deprecated Remove the property associated with the named key in the specified property set. |
Object |
removePropertyValue(String scopeName,
String key,
Object propertyValue)
Deprecated This method has been deprecated and will now return a null. |
Object |
removePropertyValueMapped(String scopeName,
String propertyKey,
String mappedKey)
Deprecated This method has been deprecated and will now return a null. |
ConfigurableEntity |
removeSuccessor(String scopeName)
Deprecated This method has been deprecated and will now return a null. |
void |
setProperty(String key,
Object value)
Deprecated This method has been deprecated. |
void |
setProperty(String propertySet,
String propertyName,
Object value)
Deprecated Associate the specified value with the named key in the specified property set. |
void |
setSuccessor(String scopeName,
ConfigurableEntity successor)
Deprecated This method has been deprecated and now performs no operation. |
String |
toString()
Deprecated 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()
getKey
in interface CatalogItem
CatalogItemKey
public String getName()
getName
in interface CatalogItem
public String getDescription(int index)
getDescription
in interface CatalogItem
index
- the description to retrive, either CatalogItem.SHORT_DESCRIPTION_INDEX or CatalogItem.LONG_DESCRIPTION_INDEX
public String getCreator()
getCreator
in interface CatalogItem
public String getPublisher()
getPublisher
in interface CatalogItem
public String getContributor()
getContributor
in interface CatalogItem
public Date getCreationDate()
getCreationDate
in interface CatalogItem
public String getSource()
getSource
in interface CatalogItem
public String getLanguage()
getLanguage
in interface CatalogItem
public String getRelation()
getRelation
in interface CatalogItem
public String getCoverage()
getCoverage
in interface CatalogItem
public String getRights()
getRights
in interface CatalogItem
public ImageInfo getImage(int index)
getImage
in interface CatalogItem
index
- the image to retrive, either SMALL_IMAGE_INDEX or LARGE_IMAGE_INDEX
public Date getModifiedDate()
getModifiedDate
in interface CatalogItem
public String toString()
toString
in class Object
public void addPropertyValue(String scopeName, String key, Object propertyValue) throws SystemException, 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.
SystemException
RemoteException
public void addPropertyValueMapped(String scopeName, String propertyKey, String mappedKey, Object propertyValue) throws SystemException, 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.
SystemException
RemoteException
public Object getProperty(String key, Object defaultValue) throws SystemException, 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.
SystemException
RemoteException
getProperty(String, String)
public Object getProperty(String scopeName, String key, ConfigurableEntity successor, Object defaultValue) throws SystemException, 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.
SystemException
RemoteException
getProperty(String, String)
public String getPropertyAsString(String scopeName, String key, ConfigurableEntity successor, String defaultValue) throws SystemException, 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.
SystemException
RemoteException
getPropertyAsString(String, String)
,
ConfigurableEntity.getProperty(java.lang.String, java.lang.String)
public Object getPropertyDefault(String scopeName, String key, ConfigurableEntity successor) throws SystemException, 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.
SystemException
RemoteException
public Object getPropertyNoDefault(String scopeName, String key, ConfigurableEntity successor) throws SystemException, 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.
SystemException
RemoteException
getPropertyNoDefault(String, String)
public ConfigurableEntity getSuccessor(String scopeName) throws SystemException, RemoteException
scopeName
- The name of the scope.
SystemException
RemoteException
public Object removeProperty(String key) throws SystemException, RemoteException
key
- The name of the property to remove.
SystemException
RemoteException
removeProperty(String, String)
public Object removePropertyValue(String scopeName, String key, Object propertyValue) throws SystemException, 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.
SystemException
RemoteException
public Object removePropertyValueMapped(String scopeName, String propertyKey, String mappedKey) throws SystemException, 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.
SystemException
RemoteException
public ConfigurableEntity removeSuccessor(String scopeName) throws RemoteException
scopeName
- The name of the scope.
RemoteException
public void setProperty(String key, Object value) throws SystemException, RemoteException
name
- The name to associate the value with.value
- The value to associate with the name.
SystemException
RemoteException
setProperty(String, String, Object)
public void setSuccessor(String scopeName, ConfigurableEntity successor) throws SystemException, RemoteException
scopeName
- The name of the scope.successor
- The scope-level successor used during the
search of a property.
SystemException
RemoteException
public void addBusinessPolicy(String policyKey, BusinessPolicy businessPolicy) throws SystemException, RemoteException
SystemException
RemoteException
public BusinessPolicy getBusinessPolicy(String policyKey) throws SystemException, RemoteException
SystemException
RemoteException
public BusinessPolicy removeBusinessPolicy(String policyKey) throws SystemException, RemoteException
SystemException
RemoteException
public Object getProperty(String propertySet, String propertyName) throws RemoteException
getProperty
in interface ConfigurableEntity
propertySet
- The name of the property set to look inpropertyName
- The name of the property to retrieve.
RemoteException
public String getPropertyAsString(String propertySet, String propertyName) throws RemoteException
getPropertyAsString
in interface ConfigurableEntity
propertySet
- The name of the property set to look inpropertyName
- The name of the property to retrieve.
RemoteException
public Object getPropertyNoDefault(String propertySet, String propertyName) throws RemoteException
getPropertyNoDefault
in interface ConfigurableEntity
propertySet
- The name of the property setpropertyName
- The name of the property to retrieve.
RemoteException
public void setProperty(String propertySet, String propertyName, Object value) throws PropertyValidationException, RemoteException
setProperty
in interface ConfigurableEntity
propertySet
- The name of the property set.propertyName
- The name of the property to assignvalue
- The value to associate with the property name
PropertyValidationException
- If the property value does not match the PropertyDefinition for this property set
RemoteException
public Object removeProperty(String propertySet, String propertyName) throws 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)
removeProperty
in interface ConfigurableEntity
propertySet
- The name of the property set.propertyName
- The name of the property to remove.
RemoteException
public long getUniqueId() throws RemoteException
getUniqueId
in interface ConfigurableEntity
RemoteException
public String getPkString() throws RemoteException
getPkString
in interface ConfigurableEntity
RemoteException
public String getJndiName() throws RemoteException
getJndiName
in interface ConfigurableEntity
RemoteException
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |