atg.commerce.promotion
Class ClosenessQualifierImportExportInfo

java.lang.Object
  extended by atg.commerce.promotion.ClosenessQualifierImportExportInfo

public class ClosenessQualifierImportExportInfo
extends java.lang.Object

This class contains all of the information about a closeness qualifier as required by the Promotions Import Export API.


Field Summary
static int ACTION_ADD
           
static int ACTION_DELETE
           
static int ACTION_UPDATE
           
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ClosenessQualifierImportExportInfo()
           
 
Method Summary
 int getAction()
          Get the action.
 java.util.Map<java.lang.String,java.lang.String> getClosenessQualifierPropertyValues()
          Get the closeness qualifier property values.
 java.util.Map<java.lang.String,java.lang.String> getClosenessQualifierTemplateValues()
          Get the closeness qualifier template values.
 void setAction(int pAction)
          Set the action.
 void setClosenessQualifierPropertyValues(java.util.Map<java.lang.String,java.lang.String> pClosenessQualifierPropertyValues)
          Set the closeness qualifier property values.
 void setClosenessQualifierTemplateValues(java.util.Map<java.lang.String,java.lang.String> pClosenessQualifierTemplateValues)
          Set the closeness qualifier template values.
 java.lang.String toString()
          Get information about the class values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


ACTION_ADD

public static final int ACTION_ADD
See Also:
Constant Field Values

ACTION_UPDATE

public static final int ACTION_UPDATE
See Also:
Constant Field Values

ACTION_DELETE

public static final int ACTION_DELETE
See Also:
Constant Field Values
Constructor Detail

ClosenessQualifierImportExportInfo

public ClosenessQualifierImportExportInfo()
Method Detail

setAction

public void setAction(int pAction)
Set the action. Specifies whether the closeness qualifier action is to add a new closeness qualifier, update an existing one, or delete a closeness qualifier.

Parameters:
pAction - - the action to set.

getAction

public int getAction()
Get the action.

Returns:
- the action.

setClosenessQualifierPropertyValues

public void setClosenessQualifierPropertyValues(java.util.Map<java.lang.String,java.lang.String> pClosenessQualifierPropertyValues)
Set the closeness qualifier property values. This is a map of the closeness qualifier property / value pairs. Each map key matches a closeness qualifier repository item property name.

Parameters:
pClosenessQualifierPropertyValues - - the property map to set.

getClosenessQualifierPropertyValues

public java.util.Map<java.lang.String,java.lang.String> getClosenessQualifierPropertyValues()
Get the closeness qualifier property values.

Returns:
- the property values map.

setClosenessQualifierTemplateValues

public void setClosenessQualifierTemplateValues(java.util.Map<java.lang.String,java.lang.String> pClosenessQualifierTemplateValues)
Set the closeness qualifier template values. This is a map of the template place-holder / value pairs. Each map key matches a place-holder in the closeness qualifier portion of the template.

Parameters:
pClosenessQualifierTemplateValues - - the template values map (i.e. placeholder values) to set.

getClosenessQualifierTemplateValues

public java.util.Map<java.lang.String,java.lang.String> getClosenessQualifierTemplateValues()
Get the closeness qualifier template values.

Returns:
- the template values map.

toString

public java.lang.String toString()
Get information about the class values.

Overrides:
toString in class java.lang.Object
Returns:
- the class data values.