ilog.rules.teamserver.web.beans

Class LockBean

  • java.lang.Object
    • ilog.rules.teamserver.web.beans.LockBean
  • All Implemented Interfaces:
    java.io.Serializable


    public class LockBean
    extends java.lang.Object
    implements java.io.Serializable
    Information on the objects to be locked when the lock button is clicked.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      LockBean() 
    • Method Summary

      Methods 
      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
      • 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 java.util.List<IlrElementSummary> getElements()
        Gets the list of objects to be locked.
        Returns:
        a list of IlrElementHandle
      • setElements

        public void setElements(java.util.List<IlrElementSummary> elements)
        Sets the list of objects to be locked.
        Parameters:
        elements - a list of IlrElementHandle
      • getTitle

        public java.lang.String getTitle()
        Gets the title to display on the lock confirmation page.
        Returns:
        A title
      • getMessage

        public java.lang.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 java.lang.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.

© Copyright IBM Corp. 1987, 2017