public class LockBean
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
LockBean() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IlrElementSummary> |
getElements()
Gets the list of objects to be locked.
|
static LockBean |
getInstance()
Gets the instance of the lock bean in the faces context.
|
java.lang.String |
getMessage()
Gets the message to display in the lock confirmation page.
|
java.lang.String |
getTitle()
Gets the title to display on the lock confirmation page.
|
boolean |
isPersistent()
Tells whether the lock must be persistent
|
boolean |
isRecursive()
Tells whether the lock must applied recursively
|
boolean |
isRulePackage()
Tells whether the elements to be locked are rule packages
|
java.lang.String |
lock()
Lock the objects.
|
void |
setElements(java.util.List<IlrElementSummary> elements)
Sets the list of objects to be locked.
|
void |
setPersistent(boolean persistent)
Tells whether the lock must be persistent
|
void |
setRecursive(boolean recursive)
Tells whether the lock must applied recursively
|
public java.util.List<IlrElementSummary> getElements()
public void setElements(java.util.List<IlrElementSummary> elements)
elements - a list of IlrElementHandlepublic java.lang.String getTitle()
public java.lang.String getMessage()
public boolean isRecursive()
public void setRecursive(boolean recursive)
recursive - true if the lock must be applied recursivelypublic boolean isPersistent()
public void setPersistent(boolean persistent)
persistent - true if the lock must be be persistentpublic boolean isRulePackage()
public java.lang.String lock()
public static LockBean getInstance()
© Copyright IBM Corp. 1987, 2017