|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.collab.ItemOperation
public class ItemOperation
Defines an operation that can be performed on an item.
Constructor Summary | |
---|---|
ItemOperation(int iID,
java.lang.Class[] operandTypes,
java.lang.String sInternalName)
Construct an ItemOperation that takes operands. |
|
ItemOperation(int iID,
java.lang.String sInternalName)
Construct an ItemOperation that takes no operands. |
Method Summary | |
---|---|
void |
checkOperandTypes(com.compoze.collab.spi.Context context,
java.lang.Object[] params)
Check whether parameters are compatible with the specified parameter types for this ItemOperation. |
java.lang.String |
getInternalName()
Gets the internal name of the item operation (used for debugging purposes). |
int |
getIntValue()
Gets the integer value of the operation so it can be switched on. |
java.lang.Class[] |
getOperandTypes()
Get the operand types. |
java.lang.String |
toString()
|
void |
updateDigest(java.security.MessageDigest digest)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ItemOperation(int iID, java.lang.String sInternalName)
iID
- the int IDpublic ItemOperation(int iID, java.lang.Class[] operandTypes, java.lang.String sInternalName)
iID
- the int IDoperandTypes
- the type for each elements of params[]Method Detail |
---|
public java.lang.String getInternalName()
null
)public int getIntValue()
public java.lang.Class[] getOperandTypes()
public final void checkOperandTypes(com.compoze.collab.spi.Context context, java.lang.Object[] params) throws CollaborationRuntimeException
context
- params
-
CollaborationRuntimeException
public java.lang.String toString()
toString
in class java.lang.Object
public void updateDigest(java.security.MessageDigest digest)
updateDigest
in interface com.compoze.collab.util.IDigestSupport
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |