|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPTExpression
Expression interface. An expression uses operators to evaluate the boolean aritnmetic expression condition [ operator ] condition such as: if ((community == 10) AND (browser == netscape)) Expressions can contain other expressions
Method Summary | |
---|---|
void |
AddSubExpressions(int[] arExpressionIDs)
Adds the list of sub expressions inside the current expression. |
int |
GetActionType()
Gets the type of action to be performed if the expression evaluates to true. |
int |
GetActionValue()
Gets the action value to be performed if the expression evalutes to true. |
int |
GetConditionTypeID()
Gets the type of condition that is inside the expression. |
IValue |
GetConditionValue()
Gets the value of the condition for the current expression. |
int |
GetOperatorID()
Gets the operator that will be used to combine the list of sub expressions. |
int |
GetTopicPos()
Gets the priority of the expression categorized by action types. |
boolean |
IsCondition()
This expression is just a single condition, with no operator or other moderator. |
int[] |
QuerySubExpressionIDs()
Gets the list of sub expression IDs inside the current expression. |
void |
RemoveSubExpressions(int[] arExpressionIDs)
Removes the list of sub expressions inside the current expression. |
void |
SetActionType(int nActionType)
Sets the type of action to be performed if the expression evaluates to true. |
void |
SetActionValue(int nActionValue)
Sets the action value to be performed if the expression evalutes to true. |
void |
SetConditionTypeID(int nCondTypeID)
Sets the condition type ID of the expression. |
void |
SetConditionValue(int nValueType,
java.lang.Object objValue)
Sets the condition value of the condition for the expression. |
void |
SetOperatorID(int nOpID)
Sets the operator ID to be associated with the expression. |
void |
SetTopicPos(int nTopicPos)
Sets the priority of the expression categorized by action types. |
Methods inherited from interface com.plumtree.server.IPTObject |
---|
GetAdminFolderID, GetClassID, GetCreated, GetImageUUID, GetLastModified, GetObjectProperties, SetAdminFolderID, SetImageUUID, SetLastModified |
Methods inherited from interface com.plumtree.server.IPTLocalizable |
---|
GetDescription, GetIsLocalized, GetLocalizedDescription, GetLocalizedDescriptions, GetLocalizedName, GetLocalizedNames, GetName, GetPrimaryLang, GetSupportsLocalization, SetDescription, SetIsLocalized, SetLocalizedDescriptions, SetLocalizedNames, SetName, SetPrimaryLang |
Methods inherited from interface com.plumtree.server.IPTUnknown |
---|
GetInterfaces |
Methods inherited from interface com.plumtree.server.IPTServerContext |
---|
GetAccessLevel, GetACL, GetLastModifiedBy, GetLockState, GetObjectID, GetOwnerID, GetServerContextSettings, GetSession, GetSettings, LockObject, SetLastModifiedBy, SetObjectID, SetOwnerID, SetServerContextSettings, SetSettings, UnlockObject |
Methods inherited from interface com.plumtree.server.IPTStorable |
---|
Store |
Method Detail |
---|
boolean IsCondition()
int[] QuerySubExpressionIDs()
void AddSubExpressions(int[] arExpressionIDs)
arExpressionIDs
- - the list of sub expression IDs to be addedvoid RemoveSubExpressions(int[] arExpressionIDs)
arExpressionIDs
- - the list of sub expression IDs to be removedint GetOperatorID()
void SetOperatorID(int nOpID)
nOpID
- - the operator ID to be assignedint GetConditionTypeID()
void SetConditionTypeID(int nCondTypeID)
nCondTypeID
- - the ID to be assignedIValue GetConditionValue()
void SetConditionValue(int nValueType, java.lang.Object objValue)
nValueType
- - the type of the value: string, integerobjValue
- - the actual value to be storedint GetActionType()
void SetActionType(int nActionType)
nActionType
- - the type of action to be setint GetActionValue()
void SetActionValue(int nActionValue)
nActionValue
- - the action value to be setint GetTopicPos()
void SetTopicPos(int nTopicPos)
nTopicPos
- - the priority to be set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |