Class LockVO


  • public class LockVO
    extends Object
    A LockVO represents a lock let by a user.
    Author:
    Ludovic Bertin
    • Constructor Detail

      • LockVO

        public LockVO​(org.silverpeas.core.workflow.api.user.User user,
                      Date lockDate,
                      String state,
                      boolean removableBySupervisor)
    • Method Detail

      • getUser

        public org.silverpeas.core.workflow.api.user.User getUser()
        Returns:
        the user
      • setUser

        public void setUser​(org.silverpeas.core.workflow.api.user.User user)
        Parameters:
        user - the user to set
      • getLockDate

        public Date getLockDate()
        Returns:
        the lockDate
      • setLockDate

        public void setLockDate​(Date lockDate)
        Parameters:
        lockDate - the lockDate to set
      • isRemovableBySupervisor

        public boolean isRemovableBySupervisor()
        Returns:
        the removableBySupervisor
      • setRemovableBySupervisor

        public void setRemovableBySupervisor​(boolean removableBySupervisor)
        Parameters:
        removableBySupervisor - the removableBySupervisor to set
      • getState

        public String getState()
        Returns:
        the state
      • setState

        public void setState​(String state)
        Parameters:
        state - the state to set