| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.purge.condition.AbstractPurgeCondition
atg.purge.condition.PurgeDateCondition
public class PurgeDateCondition
Purge condition implementation based on propertyName, comparison relation and number of days.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| Constructor Summary | |
|---|---|
| PurgeDateCondition() | |
| Method Summary | |
|---|---|
|  Query | createQuery(RepositoryView pView)Create a "date" query object based on propertyName, comparison relation and number of days. | 
|  int | getComparison()Returns property comparison | 
|  java.util.Date | getDate()Returns date value | 
|  java.lang.Integer | getDays()Returns property days | 
|  java.lang.String | getPropertyName()Returns property propertyName | 
|  void | setComparison(int pComparison)Sets property comparison | 
|  void | setDays(java.lang.Integer pDays)Sets property days | 
|  void | setPropertyName(java.lang.String pPropertyName)Sets property propertyName | 
| Methods inherited from class atg.purge.condition.AbstractPurgeCondition | 
|---|
| clone, getDefaultName, getDisplayKey, getDisplayName, isEnabled, setDefaultName, setDisplayKey, setEnabled | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail | 
|---|
public PurgeDateCondition()
| Method Detail | 
|---|
public java.util.Date getDate()
public java.lang.String getPropertyName()
propertyName
public void setPropertyName(java.lang.String pPropertyName)
propertyName
pPropertyName - the property name involved in conditionpublic java.lang.Integer getDays()
days
public void setDays(java.lang.Integer pDays)
days
pDays - the number of days for conditionpublic int getComparison()
comparison
public void setComparison(int pComparison)
comparison
pComparison - the comparison relation for condition. See QueryBuilder class for possible comparison relation values
public Query createQuery(RepositoryView pView)
                  throws RepositoryException
pView - the repository view
RepositoryException - if an error occurred while creating query object.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||