|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperationSelectionRecord
This interface represents one selection record associated with an operation. A selection record
specifies a target business rule for the operation along with the start and end dates for
that target. The business rule should be invoked when the date falls within the specified
range. The user can create new instances of this interface in order to add new selection records
(new date ranges) to an Operation
. This is done using one of the
newOperationSelectionRecord
methods on the
OperationSelectionRecordList
interface.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
Operation |
getAssociatedOperation()
Get the operation with which this operation selection record is associated. |
BusinessRule |
getBusinessRuleTarget()
Get the business rule target for this selection record. |
java.util.Date |
getEndDate()
Get the end date for this operation selection record. |
java.util.Date |
getStartDate()
Get the start date for this operation selection record. |
void |
setBusinessRuleTarget(BusinessRule newBusinessRuleTarget)
Set the business rule target for this selection record. |
void |
setEndDate(java.util.Date newEndDate)
Set the end date for this operation selection record. |
void |
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 |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
java.util.Date getStartDate()
void setStartDate(java.util.Date newStartDate)
newStartDate
- The new start date.
ChangesNotAllowedException
- if changes to this object are temporarily
disallowed while other changes are being published.java.util.Date getEndDate()
void setEndDate(java.util.Date newEndDate)
newEndDate
- The new end date.
ChangesNotAllowedException
- if changes to this object are temporarily
disallowed while other changes are being published.BusinessRule getBusinessRuleTarget()
void setBusinessRuleTarget(BusinessRule newBusinessRuleTarget) throws ValidationException
newBusinessRuleTarget
- The new business rule target for this selection record. Must
not be null.
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.Operation getAssociatedOperation()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |