java.lang.Object
com.suncode.pwfl.administration.structure.Role

@Entity public class Role extends Object
Klasa przechowująca informacje o rolach. Dane z tabeli pm_roles są synchronizowane z rolami w mapie podczas update'u lub załadowania pakietu.
Author:
Paweł Rosolak 24 lut 2014
  • Field Details

    • JOIN_POSITIONS

      public static final String JOIN_POSITIONS
      Pozwala dołączyć stanowiska, które posiadają role
      See Also:
  • Constructor Details

  • Method Details

    • getId

      public Long getId()
      Returns:
      the id
    • setId

      public void setId(Long id)
      Parameters:
      id - the id to set
    • getRoleId

      public String getRoleId()
      Returns:
      the roleId
    • setRoleId

      public void setRoleId(String roleId)
      Parameters:
      roleId - the roleId to set
    • getPackageId

      public String getPackageId()
      Returns:
      the packageId
    • setPackageId

      public void setPackageId(String packageId)
      Parameters:
      packageId - the packageId to set
    • getProcessDefId

      public String getProcessDefId()
      Returns:
      the processDefId
    • setProcessDefId

      public void setProcessDefId(String processDefId)
      Parameters:
      processDefId - the processDefId to set
    • getPositions

      public Set<Position> getPositions()
      Returns:
      the positions
    • setPositions

      public void setPositions(Set<Position> positions)
      Parameters:
      positions - the positions to set
    • isPackageLevel

      public boolean isPackageLevel()
    • isProcessLevel

      public boolean isProcessLevel()
    • getRoleName

      public String getRoleName()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object