Decision Center API

ilog.rules.teamserver.web.beans
Class LockBean

java.lang.Object
  extended by ilog.rules.teamserver.web.beans.LockBean
All Implemented Interfaces:
Serializable

public class LockBean
extends Object
implements Serializable

Information on the objects to be locked when the lock button is clicked.

See Also:
Serialized Form

Constructor Summary
LockBean()
           
 
Method Summary
 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.
 String getMessage()
          Gets the message to display in the lock confirmation page.
 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
 String lock()
          Lock the objects.
 void setElements(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockBean

public LockBean()
Method Detail

getElements

public List<IlrElementSummary> getElements()
Gets the list of objects to be locked.

Returns:
a list of IlrElementHandle

setElements

public void setElements(List<IlrElementSummary> elements)
Sets the list of objects to be locked.

Parameters:
elements - a list of IlrElementHandle

getTitle

public String getTitle()
Gets the title to display on the lock confirmation page.

Returns:
A title

getMessage

public String getMessage()
Gets the message to display in the lock confirmation page.

Returns:
A message

isRecursive

public boolean isRecursive()
Tells whether the lock must applied recursively

Returns:
true if the lock must be applied recursively

setRecursive

public void setRecursive(boolean recursive)
Tells whether the lock must applied recursively

Parameters:
recursive - true if the lock must be applied recursively

isPersistent

public boolean isPersistent()
Tells whether the lock must be persistent

Returns:
true if the lock must be be persistent

setPersistent

public void setPersistent(boolean persistent)
Tells whether the lock must be persistent

Parameters:
persistent - true if the lock must be be persistent

isRulePackage

public boolean isRulePackage()
Tells whether the elements to be locked are rule packages

Returns:
true if the elements to be locked are all rule packages.

lock

public String lock()
Lock the objects.

Returns:
A navigation constants

getInstance

public static LockBean getInstance()
Gets the instance of the lock bean in the faces context.

Returns:
The instance of the lock bean.

Decision Center API

© Copyright IBM Corp. 1987, 2013