public class AbstractConstraintDataManager extends AbstractDataManager implements ConstraintDataManager
Constructor and Description |
---|
AbstractConstraintDataManager() |
Modifier and Type | Method and Description |
---|---|
void |
applyConstraintChange(MboRemote constraintMboRemote,
MXTransaction txn)
Apply constraint change to the database
|
void |
applyConstraintChange(MboRemote constraintMboRemote,
java.lang.String ids,
MXTransaction txn)
Apply constraint change to the database
|
int |
constraintRecordCount(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjQueries)
Get the constraint records for a list of queries
|
void |
initializeConstraint(MXConstraint constraint,
java.lang.String objectName,
MboRemote mboObject)
Initialize the constraint after it is populated
|
void |
loadConstraint(MXConstraint constraint,
java.lang.String objectName,
MboRemote mboObject)
Load constraint from database
Initialize the constraint during the time when the model is loaded for display
by the gantt viewer.
|
void |
populateConstraintPropertyDetails()
Populate constraint with constraint property details.
|
void |
populateConstraints(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjQueries)
Populate constraint records in skdconstraint table
|
void |
saveConstraints(ilog.views.gantt.model.general.IlvGeneralConstraint constraint)
Save constraints to the database
|
getDataManagerContext, getLogger, getObjectName, getProjectMbo, getSKDDD, getSqlLogger, getUserInfo, setDataManagerContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDataManagerContext
public void applyConstraintChange(MboRemote constraintMboRemote, MXTransaction txn) throws SchedulerException
applyConstraintChange
in interface ConstraintDataManager
constraint
- mbotransaction
- SchedulerException
public void applyConstraintChange(MboRemote constraintMboRemote, java.lang.String ids, MXTransaction txn) throws SchedulerException
applyConstraintChange
in interface ConstraintDataManager
constraint
- mbotransaction
- SchedulerException
public void initializeConstraint(MXConstraint constraint, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
initializeConstraint
in interface ConstraintDataManager
constraint
- object
- namembo
- objectSchedulerException
public void loadConstraint(MXConstraint constraint, java.lang.String objectName, MboRemote mboObject) throws SchedulerException
loadConstraint
in interface ConstraintDataManager
constraint
- object
- namembo
- objectSchedulerException
public void populateConstraintPropertyDetails() throws SchedulerException
populateConstraintPropertyDetails
in interface ConstraintDataManager
SchedulerException
public void populateConstraints(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjQueries) throws SchedulerException
populateConstraints
in interface ConstraintDataManager
HashMap
SchedulerException
public int constraintRecordCount(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> refObjQueries) throws SchedulerException
constraintRecordCount
in interface ConstraintDataManager
HashMap
SchedulerException
public void saveConstraints(ilog.views.gantt.model.general.IlvGeneralConstraint constraint) throws SchedulerException
saveConstraints
in interface ConstraintDataManager
constraint
- SchedulerException