public class WOConstraintDataManager extends AbstractConstraintDataManager
Constructor and Description |
---|
WOConstraintDataManager() |
Modifier and Type | Method and Description |
---|---|
void |
applyConstraintChange(MboRemote constraint,
MXTransaction txn)
Apply changes to constraint.
|
void |
applyConstraintChange(MboRemote constraint,
java.lang.String ids,
MXTransaction txn)
Apply changes to constraint.
|
int |
constraintRecordCount(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjQueries)
Get the constraint count .
|
java.lang.String[] |
getConstraintKeys(java.lang.String activityId)
Get the keys for a constraint.
|
void |
initializeConstraint(MXConstraint constraint,
java.lang.String objectName,
MboRemote mboObject)
Initialize constraint .
|
void |
loadConstraint(MXConstraint constraint,
java.lang.String objectName,
MboRemote mboObject)
Load constraint related information
|
void |
populateConstraintPropertyDetails()
Populate the constraint with property details.
|
void |
populateConstraints(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjQueries)
Populate the constraint.
|
saveConstraints
getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSqlLogger, getUserInfo, setDataManagerContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataManagerContext
public void initializeConstraint(MXConstraint constraint, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
initializeConstraint
in interface ConstraintDataManager
initializeConstraint
in class AbstractConstraintDataManager
reservation
- objectName
- mboObject
- SchedulerException
public int constraintRecordCount(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjQueries) throws SchedulerException
constraintRecordCount
in interface ConstraintDataManager
constraintRecordCount
in class AbstractConstraintDataManager
HashMap - ArrayList> refObjActQueryList - Hashmap of activity object name and queries
SchedulerException
public void populateConstraints(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjQueries) throws SchedulerException
populateConstraints
in interface ConstraintDataManager
populateConstraints
in class AbstractConstraintDataManager
HashMap - ArrayList> refObjQueryList - Hashmap of activity object name and queries
SchedulerException
public void populateConstraintPropertyDetails() throws SchedulerException
populateConstraintPropertyDetails
in interface ConstraintDataManager
populateConstraintPropertyDetails
in class AbstractConstraintDataManager
SchedulerException
public void applyConstraintChange(MboRemote constraint, MXTransaction txn) throws SchedulerException
applyConstraintChange
in interface ConstraintDataManager
applyConstraintChange
in class AbstractConstraintDataManager
constraint
- mbotransaction
- SchedulerException
public void applyConstraintChange(MboRemote constraint, java.lang.String ids, MXTransaction txn) throws SchedulerException
applyConstraintChange
in interface ConstraintDataManager
applyConstraintChange
in class AbstractConstraintDataManager
constraint
- mbotransaction
- SchedulerException
public java.lang.String[] getConstraintKeys(java.lang.String activityId)
activityId
- public void loadConstraint(MXConstraint constraint, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
loadConstraint
in interface ConstraintDataManager
loadConstraint
in class AbstractConstraintDataManager
constraint
- object
- namembo
- objectSchedulerException