|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beasys.commerce.ebusiness.catalog.MutableCatalogItemImpl
@Deprecated public class MutableCatalogItemImpl
This is the mutable implementation class for all mutable items contained by the Catalog. This class exposes data accessors and mutators for item data conforming to the Dublin Core Metadata. Refer to the DCM spec for details: Dublin Core Element Set
MutableCatalogItem
,
Serialized FormField Summary |
---|
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 See BEA Commerce product offering |
void |
addPropertyValue(String scopeName,
String key,
Object propertyValue)
Deprecated See BEA Commerce product offering |
void |
addPropertyValueMapped(String scopeName,
String propertyKey,
String mappedKey,
Object propertyValue)
Deprecated See BEA Commerce product offering |
protected void |
clearPropertyModifications()
Deprecated See BEA Commerce product offering |
BusinessPolicy |
getBusinessPolicy(String policyKey)
Deprecated See BEA Commerce product offering |
String |
getContributor()
Deprecated See BEA Commerce product offering |
String |
getCoverage()
Deprecated See BEA Commerce product offering |
Date |
getCreationDate()
Deprecated See BEA Commerce product offering |
String |
getCreator()
Deprecated See BEA Commerce product offering |
String |
getDescription(int index)
Deprecated See BEA Commerce product offering |
ImageInfo |
getImage(int index)
Deprecated See BEA Commerce product offering |
String |
getJndiName()
Deprecated See BEA Commerce product offering |
CatalogItemKey |
getKey()
Deprecated See BEA Commerce product offering |
String |
getLanguage()
Deprecated See BEA Commerce product offering |
protected Map |
getModificationMap()
Deprecated See BEA Commerce product offering |
Date |
getModifiedDate()
Deprecated See BEA Commerce product offering |
String |
getName()
Deprecated See BEA Commerce product offering |
String |
getPkString()
Deprecated See BEA Commerce product offering |
Map |
getProperties()
Deprecated See BEA Commerce product offering |
Map |
getProperties(String scopeName)
Deprecated See BEA Commerce product offering |
Object |
getProperty(String key,
Object defaultValue)
Deprecated See BEA Commerce product offering |
Object |
getProperty(String propertySet,
String propertyName)
Deprecated See BEA Commerce product offering |
Object |
getProperty(String scopeName,
String key,
ConfigurableEntity successor,
Object defaultValue)
Deprecated See BEA Commerce product offering |
String |
getPropertyAsString(String propertySet,
String propertyName)
Deprecated See BEA Commerce product offering |
String |
getPropertyAsString(String scopeName,
String key,
ConfigurableEntity successor,
String defaultValue)
Deprecated See BEA Commerce product offering |
Object |
getPropertyDefault(String scopeName,
String key,
ConfigurableEntity successor)
Deprecated See BEA Commerce product offering |
Object |
getPropertyNoDefault(String propertySet,
String propertyName)
Deprecated See BEA Commerce product offering |
Object |
getPropertyNoDefault(String scopeName,
String key,
ConfigurableEntity successor)
Deprecated See BEA Commerce product offering |
String |
getPublisher()
Deprecated See BEA Commerce product offering |
String |
getRelation()
Deprecated See BEA Commerce product offering |
String |
getRights()
Deprecated See BEA Commerce product offering |
String |
getSource()
Deprecated See BEA Commerce product offering |
ConfigurableEntity |
getSuccessor(String scopeName)
Deprecated See BEA Commerce product offering |
long |
getUniqueId()
Deprecated See BEA Commerce product offering |
protected void |
initPropertyModifications()
Deprecated See BEA Commerce product offering |
protected boolean |
isPropertyExplicit(String fieldName)
Deprecated See BEA Commerce product offering |
protected boolean |
isPropertyModified(String fieldName)
Deprecated See BEA Commerce product offering |
protected void |
modifyProperty(String fieldName,
Object value)
Deprecated See BEA Commerce product offering |
BusinessPolicy |
removeBusinessPolicy(String policyKey)
Deprecated See BEA Commerce product offering |
void |
removeProperties()
Deprecated See BEA Commerce product offering |
Object |
removeProperty(String key)
Deprecated See BEA Commerce product offering |
Object |
removeProperty(String propertySet,
String propertyName)
Deprecated See BEA Commerce product offering |
Object |
removePropertyValue(String scopeName,
String key,
Object propertyValue)
Deprecated See BEA Commerce product offering |
Object |
removePropertyValueMapped(String scopeName,
String propertyKey,
String mappedKey)
Deprecated See BEA Commerce product offering |
ConfigurableEntity |
removeSuccessor(String scopeName)
Deprecated See BEA Commerce product offering |
void |
setContributor(String contributor)
Deprecated See BEA Commerce product offering |
void |
setCoverage(String coverage)
Deprecated See BEA Commerce product offering |
void |
setCreationDate(Date date)
Deprecated See BEA Commerce product offering |
void |
setCreator(String creator)
Deprecated See BEA Commerce product offering |
void |
setDescription(int index,
String description)
Deprecated See BEA Commerce product offering |
void |
setImage(int index,
ImageInfo imageInfo)
Deprecated See BEA Commerce product offering |
void |
setLanguage(String language)
Deprecated See BEA Commerce product offering |
void |
setModifiedDate(Date date)
Deprecated See BEA Commerce product offering |
void |
setName(String name)
Deprecated See BEA Commerce product offering |
void |
setProperty(String key,
Object value)
Deprecated See BEA Commerce product offering |
void |
setProperty(String propertySet,
String propertyName,
Object value)
Deprecated See BEA Commerce product offering |
void |
setPublisher(String publisher)
Deprecated See BEA Commerce product offering |
void |
setRelation(String relation)
Deprecated See BEA Commerce product offering |
void |
setRights(String rights)
Deprecated See BEA Commerce product offering |
void |
setSource(String source)
Deprecated See BEA Commerce product offering |
void |
setSuccessor(String scopeName,
ConfigurableEntity successor)
Deprecated See BEA Commerce product offering |
String |
toString()
Deprecated See BEA Commerce product offering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public CatalogItemKey getKey()
getKey
in interface CatalogItem
CatalogItemKey
public String getName()
getName
in interface CatalogItem
public void setName(String name)
setName
in interface MutableCatalogItem
the
- new name for the itempublic String getDescription(int index)
getDescription
in interface CatalogItem
index
- the description to retrive, either CatalogItem.SHORT_DESCRIPTION_INDEX or CatalogItem.LONG_DESCRIPTION_INDEX
public void setDescription(int index, String description)
setDescription
in interface MutableCatalogItem
index
- the description to set, either CatalogItem.SHORT_DESCRIPTION_INDEX or CatalogItem.LONG_DESCRIPTION_INDEXdescription
- the new description for the itempublic String getCreator()
getCreator
in interface CatalogItem
public void setCreator(String creator)
setCreator
in interface MutableCatalogItem
creator
- the new creator for the itempublic String getPublisher()
getPublisher
in interface CatalogItem
public void setPublisher(String publisher)
setPublisher
in interface MutableCatalogItem
publisher
- the new publisher for the itempublic String getContributor()
getContributor
in interface CatalogItem
public void setContributor(String contributor)
setContributor
in interface MutableCatalogItem
contributor
- the new contributor for the itempublic Date getCreationDate()
getCreationDate
in interface CatalogItem
public void setCreationDate(Date date)
setCreationDate
in interface MutableCatalogItem
date
- the new creation date for the itempublic String getSource()
getSource
in interface CatalogItem
public void setSource(String source)
setSource
in interface MutableCatalogItem
source
- the new source for the itempublic String getLanguage()
getLanguage
in interface CatalogItem
public void setLanguage(String language)
setLanguage
in interface MutableCatalogItem
language
- the new language for the itempublic String getRelation()
getRelation
in interface CatalogItem
public void setRelation(String relation)
setRelation
in interface MutableCatalogItem
relation
- the new relation for the itempublic String getCoverage()
getCoverage
in interface CatalogItem
public void setCoverage(String coverage)
setCoverage
in interface MutableCatalogItem
coverage
- the new coverage for the itempublic String getRights()
getRights
in interface CatalogItem
public void setRights(String rights)
setRights
in interface MutableCatalogItem
rights
- the new rights for the itempublic ImageInfo getImage(int index)
getImage
in interface CatalogItem
index
- the image to retrive, either SMALL_IMAGE_INDEX or LARGE_IMAGE_INDEX
public void setImage(int index, ImageInfo imageInfo)
setImage
in interface MutableCatalogItem
index
- the image to set, either SMALL_IMAGE_INDEX or LARGE_IMAGE_INDEXan
- ImageInfo object for the imagepublic Date getModifiedDate()
getModifiedDate
in interface CatalogItem
public void setModifiedDate(Date date)
setModifiedDate
in interface MutableCatalogItem
the
- new modified date for the itempublic 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
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
public Map getProperties(String scopeName) 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
public Map getProperties() 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
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
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
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
public void removeProperties() throws SystemException, RemoteException
scopeName
- The name of the scope.key
- The name of the property to remove.
SystemException
RemoteException
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
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.
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
protected void clearPropertyModifications()
protected Map getModificationMap()
protected boolean isPropertyModified(String fieldName)
protected boolean isPropertyExplicit(String fieldName)
protected void initPropertyModifications()
protected void modifyProperty(String fieldName, Object value)
fieldName
- the name of the attrbutevalue
- the new value for the attributepublic String toString()
toString
in class Object
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |