Class Role
java.lang.Object
com.suncode.pwfl.administration.structure.Role
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Pozwala dołączyć stanowiska, które posiadają role -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
int
hashCode()
boolean
boolean
void
void
setPackageId
(String packageId) void
setPositions
(Set<Position> positions) void
setProcessDefId
(String processDefId) void
toString()
-
Field Details
-
JOIN_POSITIONS
Pozwala dołączyć stanowiska, które posiadają role- See Also:
-
-
Constructor Details
-
Role
-
-
Method Details
-
getId
- Returns:
- the id
-
setId
- Parameters:
id
- the id to set
-
getRoleId
- Returns:
- the roleId
-
setRoleId
- Parameters:
roleId
- the roleId to set
-
getPackageId
- Returns:
- the packageId
-
setPackageId
- Parameters:
packageId
- the packageId to set
-
getProcessDefId
- Returns:
- the processDefId
-
setProcessDefId
- Parameters:
processDefId
- the processDefId to set
-
getPositions
- Returns:
- the positions
-
setPositions
- Parameters:
positions
- the positions to set
-
isPackageLevel
public boolean isPackageLevel() -
isProcessLevel
public boolean isProcessLevel() -
getRoleName
-
toString
-
hashCode
public int hashCode() -
equals
-