public class ContentTypeMatchRule extends DefaultRule
| Attribute | Values | Description | Required | Default |
|---|---|---|---|---|
| content.type |   | The object type name of the object. E.g. <attribute name="content.type" value="SOXIssue"/> | Yes |   |
| check.on | parent - Check on the parent only. This applies to associate.objects, disassociate.objects or reassign.primary.parent events only. child - Check on the child only. This applies to associate.objects, disassociate.objects or reassign.primary.parent events only. source - Check on the source only. This applies to copy, move or rename events only. destination - Check on the destination only. This applies to copy, move or rename events only. |
Determines the scope of the search. E.g. This applies to associate.objects, disassociate.objects, reassign.primary.parent, copy, move or rename events only. | No | parent - This applies to associate.objects, disassociate.objects or reassign.primary.parent events only. source - Check on the source only. This applies to copy, move or rename events only. |
<rule class="com.ibm.openpages.api.trigger.oob.ContentTypeMatchRule" >
<attribute name="content.type" value="LossEvent"/>
</rule>
| Constructor and Description |
|---|
ContentTypeMatchRule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isApplicable(AssociateResourceEvent event)
Check if the associate resource event should be applied.
|
boolean |
isApplicable(CopyResourceEvent event)
Check if the copy resource event should be applied.
|
boolean |
isApplicable(CreateResourceEvent event)
Check if the create resource event should be applied.
|
boolean |
isApplicable(CreateResourceWithRelationsEvent event)
Check if the create resource with relations event should be applied.
|
boolean |
isApplicable(DeleteResourceEvent event)
Check if the delete resource event should be applied.
|
boolean |
isApplicable(DisassociateResourceEvent event)
Check if the disassociate resource event should be applied.
|
boolean |
isApplicable(MoveResourceEvent event)
Check if the move resource event should be applied.
|
boolean |
isApplicable(ReassignPrimaryParentEvent event)
Check if the reassign primary parent event should be applied.
|
boolean |
isApplicable(RenameResourceEvent event)
Check if the rename resource event should be applied.
|
boolean |
isApplicable(UpdateResourceEvent event)
Check if the update resource event should be applied.
|
isApplicable, isApplicable, isApplicablegetAttributes, setAttributespublic boolean isApplicable(CreateResourceEvent event)
isApplicable in class DefaultRuleevent - a create resource event to be checked.public boolean isApplicable(UpdateResourceEvent event)
isApplicable in class DefaultRuleevent - an update resource event to be checked.public boolean isApplicable(AssociateResourceEvent event)
isApplicable in class DefaultRuleevent - an associate resource event to be checked.public boolean isApplicable(DisassociateResourceEvent event)
isApplicable in class DefaultRuleevent - a dissasociate resource event to be checked.public boolean isApplicable(CopyResourceEvent event)
isApplicable in class DefaultRuleevent - a copy resource event to be checked.public boolean isApplicable(DeleteResourceEvent event)
isApplicable in class DefaultRuleevent - a delete resource event to be checked.public boolean isApplicable(CreateResourceWithRelationsEvent event)
isApplicable in class DefaultRuleevent - a create resource with relations event to be checked.public boolean isApplicable(ReassignPrimaryParentEvent event)
isApplicable in class DefaultRuleevent - a reassign primary parent event to be checked.public boolean isApplicable(MoveResourceEvent event)
isApplicable in class DefaultRuleevent - a move resource event to be checked.public boolean isApplicable(RenameResourceEvent event)
isApplicable in class DefaultRuleevent - a rename resource event to be checked.
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2021. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.