Class Group.GroupPortalPermissions
- java.lang.Object
-
- lumis.portal.structure.sync.model.channel.Group.GroupPortalPermissions
-
- Enclosing class:
- Group
public static class Group.GroupPortalPermissions extends java.lang.Object
Group's portal permissions model.- Since:
- 17.0.0
- Version:
- $Revision$ $Date$
- See Also:
Group.portalPermissions
-
-
Constructor Summary
Constructors Constructor Description GroupPortalPermissions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.Collection<PortalPermissions>
getAllow()
Returns the permissions flagged as allow.java.util.Collection<PortalPermissions>
getDeny()
Returns the permissions flagged as deny.int
hashCode()
boolean
isEmpty()
Returnstrue
if no permissions (either allow or deny) are flagged.AccessControlEntry
toAccessControlEntry(java.lang.String principalId)
Converts this permissions to anAccessControlEntry
for the given principal id.
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
isEmpty
public boolean isEmpty()
Returnstrue
if no permissions (either allow or deny) are flagged.- Returns:
true
if no permissions (either allow or deny) are flagged,false
otherwise.- Since:
- 17.0.0
-
getAllow
public java.util.Collection<PortalPermissions> getAllow()
Returns the permissions flagged as allow.- Returns:
- a collection containing the permissions flagged as allow. If no allow permissions are flagged, an empty collection is returned.
- Since:
- 17.0.0
-
getDeny
public java.util.Collection<PortalPermissions> getDeny()
Returns the permissions flagged as deny.- Returns:
- a collection containing the permissions flagged as deny. If no deny permissions are flagged, an empty collection is returned.
- Since:
- 17.0.0
-
toAccessControlEntry
public AccessControlEntry toAccessControlEntry(java.lang.String principalId)
Converts this permissions to anAccessControlEntry
for the given principal id.- Parameters:
principalId
- the principal identifier.- Returns:
- the access control entry.
- Since:
- 17.0.0
-
-