Package org.ametys.core.group
Class GroupIdentity
java.lang.Object
org.ametys.core.group.GroupIdentity
Class containing a group identity, i.e. the id of the group and
the id of its group directory.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
GetGet the group directory the group belongs togetId()
Get the if of the groupstatic String
groupIdentityToString
(GroupIdentity groupIdentity) Gets a string representation of aGroupIdentity
int
hashCode()
static GroupIdentity
stringToGroupIdentity
(String string) Returns theGroupIdentity
from its string representationtoString()
-
Constructor Details
-
GroupIdentity
Constructs a group identity- Parameters:
id
- The id of the groupdirectoryId
- The id of the group directory the group belongs to
-
-
Method Details
-
groupIdentityToString
Gets a string representation of aGroupIdentity
- Parameters:
groupIdentity
- The group identity- Returns:
- The string representation of the group identity.
-
stringToGroupIdentity
Returns theGroupIdentity
from its string representation- Parameters:
string
- The string representation of the group identity- Returns:
- The group identity from its string representation
-
getId
Get the if of the group- Returns:
- The id of the group
-
getDirectoryId
GetGet the group directory the group belongs to- Returns:
- The id of the group directory the group belongs to
-
hashCode
-
equals
-
toString
-