|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.data.LyOperation
public class LyOperation
This class represents an operation in a context.
LyContext
,
LyObject
Nested Class Summary | |
---|---|
static class |
LyOperation.Type
Operation types. |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyOperation(LyContext context,
java.util.ArrayList<LyOperation> operations)
Construct a new operation. |
|
LyOperation(LyContext context,
LyOperation.Type type,
LyObject object)
Constructs a new operation. |
|
LyOperation(LyContext context,
LyOperation.Type type,
LyObject object,
LyValueSet values)
Constructs a new operation. |
Method Summary | |
---|---|
int |
compareTo(LyOperation operation)
Implementation of the Comparable interface. |
void |
free()
Free this operation. |
java.util.Vector<LyError> |
getErrors(short level)
Gets the list of errors on locked objects with the specified level. |
LyObject |
getObject()
Gets the object impacted by this operation. |
LyOperation.Type |
getOperation()
Deprecated. Use getType(). |
LyOperation.Type |
getType()
To get the type of the current operation. |
java.lang.String |
toString()
Gets this object as a string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyOperation(LyContext context, LyOperation.Type type, LyObject object)
context
- the context of the operationtype
- the type of the operationobject
- the object impacted by the operationpublic LyOperation(LyContext context, LyOperation.Type type, LyObject object, LyValueSet values)
context
- the context of the operationtype
- the type of the operationobject
- the object impacted by the operationvalues
- the set of values for modifying the given object.public LyOperation(LyContext context, java.util.ArrayList<LyOperation> operations)
context
- the context of the operation.operations
- List of sub operations to add in this operation.Method Detail |
---|
public LyObject getObject()
public void free()
public int compareTo(LyOperation operation)
compareTo
in interface java.lang.Comparable<LyOperation>
o
- The operation to compare
public LyOperation.Type getType()
public LyOperation.Type getOperation()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Vector<LyError> getErrors(short level)
level
- Level of the errors
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |