atg.commerce.order
Interface ChangedProperties

All Superinterfaces:
java.util.Observer
All Known Implementing Classes:
B2BCommerceItemImpl, B2BHardgoodShippingGroup, B2BOrderImpl, B2BShippingGroupImpl, CommerceItemImpl, ConfigurableCommerceItem, CostCenterCommerceItemRelationship, CostCenterImpl, CostCenterOrderRelationship, CostCenterShippingGroupRelationship, CreditCard, ElectronicShippingGroup, GiftCertificate, GiftlistHandlingInstruction, HandlingInstructionImpl, HardgoodShippingGroup, InvoiceRequest, OrderImpl, PaymentGroupCommerceItemRelationship, PaymentGroupImpl, PaymentGroupOrderRelationship, PaymentGroupShippingGroupRelationship, ShippingGroupCommerceItemRelationship, ShippingGroupImpl, StoreCredit, SubSkuCommerceItem

public interface ChangedProperties
extends java.util.Observer

An interface which provides methods for determining what properties need to be saved to the repository.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 void addChangedProperty(java.lang.String pPropertyName)
          Adds a changedProperty
 void clearChangedProperties()
          Clears the changedProperties List
 java.util.Set getChangedProperties()
          Returns the changedProperties
 java.lang.Object getPropertyValue(java.lang.String pPropertyName)
          Returns a propertyValue
 MutableRepositoryItem getRepositoryItem()
          Returns the repositoryItem
 boolean getSaveAllProperties()
          Returns the saveAllProperties
 boolean isChanged()
          Returns the isChanged flag
 void setChanged(boolean pChanged)
          Marks this object as changed
 void setPropertyValue(java.lang.String pPropertyName, java.lang.Object pPropertyValue)
          Sets a propertyValue
 void setRepositoryItem(MutableRepositoryItem pRepositoryItem)
          Sets the repositoryItem
 void setSaveAllProperties(boolean pSaveAllProperties)
          Sets the saveAllProperties
 
Methods inherited from interface java.util.Observer
update
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

getSaveAllProperties

boolean getSaveAllProperties()
Returns the saveAllProperties


setSaveAllProperties

void setSaveAllProperties(boolean pSaveAllProperties)
Sets the saveAllProperties


isChanged

boolean isChanged()
Returns the isChanged flag


setChanged

void setChanged(boolean pChanged)
Marks this object as changed


getChangedProperties

java.util.Set getChangedProperties()
Returns the changedProperties


addChangedProperty

void addChangedProperty(java.lang.String pPropertyName)
Adds a changedProperty


clearChangedProperties

void clearChangedProperties()
Clears the changedProperties List


getRepositoryItem

MutableRepositoryItem getRepositoryItem()
Returns the repositoryItem


setRepositoryItem

void setRepositoryItem(MutableRepositoryItem pRepositoryItem)
Sets the repositoryItem


getPropertyValue

java.lang.Object getPropertyValue(java.lang.String pPropertyName)
Returns a propertyValue


setPropertyValue

void setPropertyValue(java.lang.String pPropertyName,
                      java.lang.Object pPropertyValue)
Sets a propertyValue