|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Rule
| Field Summary | |
|---|---|
static long |
ABOUT_GO_NEXT
|
static long |
ABOUT_GO_PREVIOUS
|
static long |
ABOUT_TO_PERSIST
|
static long |
ABOUT_TO_SERIALIZE
|
static long |
ABOUT_TO_VALIDATE
|
static long |
CHANGE
Indicates if this rule is of type change. |
static long |
CHANGE_AND_INITIALIZATION
Indicates if this rule is of type change & initialization. |
static long |
COPYCONTENT
|
static long |
DOM_DELETED
|
static long |
DOM_INITIALIZED
|
static long |
GO_NEXT
|
static long |
GO_PREVIOUS
|
static long |
LIST_ITEM_DESELECTED
|
static long |
LIST_ITEM_SELECTED
|
static long |
NONE
|
static long |
ONCREATE
Indicates if this rule is of type on creation time of visualizer. |
static long |
PAGE_SELECTED
|
static long |
PASTECONTENT
|
static long |
PERSISTENT
|
static long |
PROPERTYCHANGE
Indicates if this rule is of type property change. |
static long |
SAVEDOCUMENT
Indicates if this rule is of type save document. |
static long |
STRUCTURE_CHANGE
Indicates if this rule is of type structure change. |
static long |
STRUCTURE_CHANGE_ADD
Indicates if this rule is of type structure change (add). |
static long |
STRUCTURE_CHANGE_REMOVE
Indicates if this rule is of type structure change (remove). |
static long |
TYPE_COMMIT
|
static long |
VISUALIZED
Indicates if this rule is of type initializisation. |
| Method Summary | |
|---|---|
void |
apply(Type eventSource,
java.lang.Object event)
Applies ECA behaviour for the given sourceType |
void |
apply(Type eventSource,
java.lang.Object event,
boolean isRunningAsServer)
Applies ECA behaviour for the given sourceType. |
void |
apply(Type eventSource,
java.lang.Object event,
boolean isRunningAsServer,
java.util.Stack callStack)
|
java.lang.Object |
clone(Type newSource)
|
boolean |
doesConcern(Type sourceType)
Indicates if the passing type does concern this rule. |
java.util.List |
getActions()
Returns the actions for this rule. |
ConditionExpression |
getCondition()
Returns the defined condition for this rule. |
long |
getCreationId()
|
java.lang.String |
getId()
|
int |
getPriority()
|
long |
getRuleType()
Return the rule type. |
Type |
getSource()
Returns the source of this E-C-A rule. |
boolean |
isAboutGoNext()
|
boolean |
isAboutGoPrevious()
|
boolean |
isAboutToPersistRule()
Indicates if this rule is of type on persistent. |
boolean |
isAboutToSerialize()
|
boolean |
isAboutToValidateRule()
Indicates if this rule is about to validate. |
boolean |
isChangeAndInitializationRule()
Indicates if this rule is of type change & initialization. |
boolean |
isChangeRule()
Indicates if this rule is of type change. |
boolean |
isCopyContentRule()
Indicates if this rule is of type on copyContent. |
boolean |
isDomDeletedRule()
|
boolean |
isDomInitialized()
|
boolean |
isGoNext()
|
boolean |
isGoPrevious()
|
boolean |
isListItemDeselectedRule()
Indicates if this rule is of type listtypedeselected. |
boolean |
isListItemSelectedRule()
Indicates if this rule is of type listtypeselected. |
boolean |
isOnCreationRule()
Indicates if this rule is of type on creation. |
boolean |
isPageSelected()
|
boolean |
isPasteContentRule()
Indicates if this rule is of type on creation. |
boolean |
isPersistentRule()
Indicates if this rule is of type on persistent. |
boolean |
isPropertyChangeRule()
Indicates if this rule is of type property change. |
boolean |
isReleased()
|
boolean |
isSaveDocumentRule()
Indicates if this rule is of type save document. |
boolean |
isScopeIncludeActionTarget()
|
boolean |
isStructureChangeAddRule()
Indicates if this rule is of type structure change (add). |
boolean |
isStructureChangeRemoveRule()
Indicates if this rule is of type structure change (remove). |
boolean |
isStructureChangeRule()
Indicates if this rule is of type structure change. |
boolean |
isTypeCommit()
|
boolean |
isVisualizerInitializationRule()
Indicates if this rule is of type initializisation. |
void |
release()
Release all allocated resources for this rule. |
long |
removeRuleType(long removeType)
|
void |
setCondition(ConditionExpression condition)
Sets the condition of this rule. |
void |
setPriority(int priority)
Sets the priority of this rule. |
| Field Detail |
|---|
static final long ABOUT_GO_NEXT
static final long ABOUT_GO_PREVIOUS
static final long ABOUT_TO_PERSIST
static final long ABOUT_TO_SERIALIZE
static final long ABOUT_TO_VALIDATE
static final long CHANGE
static final long CHANGE_AND_INITIALIZATION
static final long COPYCONTENT
static final long DOM_DELETED
static final long DOM_INITIALIZED
static final long GO_NEXT
static final long GO_PREVIOUS
static final long LIST_ITEM_DESELECTED
static final long LIST_ITEM_SELECTED
static final long NONE
static final long ONCREATE
static final long PAGE_SELECTED
static final long PASTECONTENT
static final long PERSISTENT
static final long PROPERTYCHANGE
static final long SAVEDOCUMENT
static final long STRUCTURE_CHANGE
static final long STRUCTURE_CHANGE_ADD
static final long STRUCTURE_CHANGE_REMOVE
static final long TYPE_COMMIT
static final long VISUALIZED
| Method Detail |
|---|
void apply(Type eventSource,
java.lang.Object event)
event - TODO
void apply(Type eventSource,
java.lang.Object event,
boolean isRunningAsServer)
event - TODOisRunningAsServer - defines if this rule should be applied in server mode
void apply(Type eventSource,
java.lang.Object event,
boolean isRunningAsServer,
java.util.Stack callStack)
java.lang.Object clone(Type newSource)
boolean doesConcern(Type sourceType)
sourceType - source of an occured changeindicates - if the change was a simple property changejava.util.List getActions()
ConditionExpression getCondition()
long getCreationId()
java.lang.String getId()
int getPriority()
long getRuleType()
Type getSource()
boolean isAboutGoNext()
boolean isAboutGoPrevious()
boolean isAboutToPersistRule()
boolean isAboutToSerialize()
boolean isAboutToValidateRule()
boolean isChangeAndInitializationRule()
boolean isChangeRule()
boolean isCopyContentRule()
boolean isDomDeletedRule()
boolean isDomInitialized()
boolean isGoNext()
boolean isGoPrevious()
boolean isListItemDeselectedRule()
boolean isListItemSelectedRule()
boolean isOnCreationRule()
boolean isPageSelected()
boolean isPasteContentRule()
boolean isPersistentRule()
boolean isPropertyChangeRule()
boolean isReleased()
boolean isSaveDocumentRule()
boolean isScopeIncludeActionTarget()
boolean isStructureChangeAddRule()
boolean isStructureChangeRemoveRule()
boolean isStructureChangeRule()
boolean isTypeCommit()
boolean isVisualizerInitializationRule()
void release()
long removeRuleType(long removeType)
void setCondition(ConditionExpression condition)
condition - condition for this rulevoid setPriority(int priority)
priority -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||