atg.purge
Class PurgeItem

java.lang.Object
  extended by atg.purge.PurgeItem

public class PurgeItem
extends java.lang.Object

Purge item represents the item we are purging. It should contain all the descriptive information about the item itself, parameters which are associated with purging process and status information.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static int ERROR_STATUS
           
static int SKIP_ERROR_STATUS
           
static int SKIP_STATUS
           
static int SUCCESS_STATUS
           
static int UNPROCESSED_STATUS
           
 
Constructor Summary
PurgeItem()
           
 
Method Summary
 java.lang.Throwable getError()
          Returns property error
 java.lang.String getId()
          Returns property id
 java.lang.String getItemType()
          Returns property itemType
 java.util.Map<java.lang.String,java.lang.Object> getParameters()
          Returns property parameters
 java.lang.Integer getStatus()
          Returns property status
 void setError(java.lang.Throwable pError)
          Sets property error
 void setId(java.lang.String pId)
          Sets property id
 void setItemType(java.lang.String pItemType)
          Sets property itemType
 void setParameters(java.util.Map<java.lang.String,java.lang.Object> pParameters)
          Sets property parameters
 void setStatus(java.lang.Integer pStatus)
          Sets property status
 java.lang.String toString()
          toString
 
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


UNPROCESSED_STATUS

public static final int UNPROCESSED_STATUS
See Also:
Constant Field Values

SUCCESS_STATUS

public static final int SUCCESS_STATUS
See Also:
Constant Field Values

SKIP_STATUS

public static final int SKIP_STATUS
See Also:
Constant Field Values

ERROR_STATUS

public static final int ERROR_STATUS
See Also:
Constant Field Values

SKIP_ERROR_STATUS

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

PurgeItem

public PurgeItem()
Method Detail

getId

public java.lang.String getId()
Returns property id

Returns:
the id value of purge item

setId

public void setId(java.lang.String pId)
Sets property id

Parameters:
pId - the id value of purge item

getItemType

public java.lang.String getItemType()
Returns property itemType

Returns:
the itemType value of purge item

setItemType

public void setItemType(java.lang.String pItemType)
Sets property itemType

Parameters:
pItemType - the itemType value of purge item

getStatus

public java.lang.Integer getStatus()
Returns property status

Returns:
the status value of purge item

setStatus

public void setStatus(java.lang.Integer pStatus)
Sets property status

Parameters:
pStatus - the status value of purge item

getParameters

public java.util.Map<java.lang.String,java.lang.Object> getParameters()
Returns property parameters

Returns:
the parameters which are associated with purge item

setParameters

public void setParameters(java.util.Map<java.lang.String,java.lang.Object> pParameters)
Sets property parameters

Parameters:
pParameters - the parameters which are associated with purge item

getError

public java.lang.Throwable getError()
Returns property error

Returns:
the error(if any) which is associated with purge item

setError

public void setError(java.lang.Throwable pError)
Sets property error

Parameters:
pError - the error(if any) which is associated with purge item

toString

public java.lang.String toString()
toString

Overrides:
toString in class java.lang.Object