com.ibm.wbiserver.brules.mgmt
Interface OperationSelectionRecord
All Superinterfaces:
BusinessRuleChangeDetector, BusinessRuleValidateable, java.io.Serializable
- public interface OperationSelectionRecord
- extends BusinessRuleValidateable, BusinessRuleChangeDetector, java.io.Serializable
Operation
. This is done using one of the
newOperationSelectionRecord
methods on the
OperationSelectionRecordList
interface.
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Method Summary
Modifier and Type | Method and Description |
---|---|
getAssociatedOperation()
Get the operation with which this operation selection record is associated.
|
|
getBusinessRuleTarget()
Get the business rule target for this selection record.
|
|
|
getEndDate()
Get the end date for this operation selection record.
|
|
getStartDate()
Get the start date for this operation selection record.
|
|
setBusinessRuleTarget(BusinessRule newBusinessRuleTarget)
Set the business rule target for this selection record.
|
|
setEndDate(java.util.Date newEndDate)
Set the end date for this operation selection record.
|
|
setStartDate(java.util.Date newStartDate)
Set the start date for this operation selection record.
|
Methods inherited from interface com.ibm.wbiserver.brules.mgmt.BusinessRuleValidateable |
---|
validate |
Methods inherited from interface com.ibm.wbiserver.brules.mgmt.BusinessRuleChangeDetector |
---|
hasChanges |
Field Detail
COPYRIGHT
- static final java.lang.String COPYRIGHT
See Also:
Method Detail
getStartDate
- java.util.Date getStartDate()
Get the start date for this operation selection record.
Returns:
The start date for this operation selection record. May be null.
setStartDate
- void setStartDate(java.util.Date newStartDate)
Set the start date for this operation selection record. The start date is allowed to
be null. A null value means that any date is after the start date, i.e. this operation
selection record is in effect at any time before the end date.
Parameters:
newStartDate
- The new start date. Throws:
ChangesNotAllowedException
- if changes to this object are temporarily
disallowed while other changes are being published. getEndDate
- java.util.Date getEndDate()
Get the end date for this operation selection record.
Returns:
The end date for this operation selection record. May be null.
setEndDate
- void setEndDate(java.util.Date newEndDate)
Set the end date for this operation selection record. The end date is allowed to
be null. A null value means that any date is before the end date, i.e. this operation
selection record is in effect at any time after the start date.
Parameters:
newEndDate
- The new end date. Throws:
ChangesNotAllowedException
- if changes to this object are temporarily
disallowed while other changes are being published. getBusinessRuleTarget
- BusinessRule getBusinessRuleTarget( )
Get the business rule target for this selection record. This is the business rule that is
to be invoked if the date being checked is within the date range for this selection record.
Returns:
The business rule target for this selection record.
setBusinessRuleTarget
- void setBusinessRuleTarget(BusinessRule newBusinessRuleTarget)
- throws ValidationException
Set the business rule target for this selection record. This is the business rule that is
to be invoked if the date being checked is within the date range for this selection record.
Parameters:
newBusinessRuleTarget
- The new business rule target for this selection record. Must
not be null. Throws:
java.lang.IllegalArgumentException
- if the new business rule target is null. ValidationException
- if the new business rule target is not in the available targets
list for the operation associated with this selection record. ChangesNotAllowedException
- if changes to this object are temporarily
disallowed while other changes are being published. getAssociatedOperation
- Operation getAssociatedOperation( )
Get the operation with which this operation selection record is associated.
Returns:
The operation with which this operation selection record is associated.