Class Group
- java.lang.Object
-
- lumis.portal.structure.sync.model.channel.Group
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class Group extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable
Group model.Documentation in this class focus synchronization behavior. About the use behind the fields in the portal, see
GroupConfig
.- Since:
- 6.2.0
- Version:
- $Revision$ $Date$
- See Also:
GroupConfig
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Group.GroupPortalPermissions
Group's portal permissions model.
-
Constructor Summary
Constructors Constructor Description Group()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyChannelTemplateLinkInfo(ChannelTemplateLinkInfo channelTemplateLinkInfo)
protected Group
clone()
Returns a shallow clone of this group.Group
cloneAndPostponeDependencies(java.util.Queue<AccessControlEntry> entriesToAdd, java.util.Queue<ParallelExecutor.IDatabaseTask> channelTemplateLinksToAdd)
Creates a clone of this group, without dependencies (which are postponed for add).AccessControlList
getAccessControlList()
java.lang.String
getAlias()
Channel
getChannel()
java.lang.String
getChannelId()
java.lang.String
getId()
java.util.List<GroupMemberXml>
getMembers()
Group.GroupPortalPermissions
getPortalPermissions()
Returns the portal permissions this group has.void
setChannel(Channel channel)
void
setPortalPermissions(java.util.Collection<AccessControlEntry> entries)
Sets the PortalPermissions of this group.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getAlias
public java.lang.String getAlias()
-
getChannel
public Channel getChannel()
-
setChannel
public void setChannel(Channel channel)
-
getAccessControlList
public AccessControlList getAccessControlList()
-
getChannelId
public java.lang.String getChannelId()
-
getMembers
public java.util.List<GroupMemberXml> getMembers()
-
getPortalPermissions
public Group.GroupPortalPermissions getPortalPermissions()
Returns the portal permissions this group has.- Returns:
- if the version of the structure file containing this group is before the support of synchronizing portal
permissions, this method will return
null
, otherwise it will return an object with the allow and deny permissions this group has in the portal ACL. - Since:
- 17.0.0
-
setPortalPermissions
public void setPortalPermissions(java.util.Collection<AccessControlEntry> entries)
Sets the PortalPermissions of this group. This method is to be called during syncOut as these values are not automatically read by this entity for optimization purposes, so the portal ACL entries can be read only once and reused.- Parameters:
entries
- the entries of the portal ACL.- Since:
- 17.0.0
-
cloneAndPostponeDependencies
public Group cloneAndPostponeDependencies(java.util.Queue<AccessControlEntry> entriesToAdd, java.util.Queue<ParallelExecutor.IDatabaseTask> channelTemplateLinksToAdd)
Creates a clone of this group, without dependencies (which are postponed for add).- Parameters:
entriesToAdd
- the queue for the ACL entries to add.channelTemplateLinksToAdd
- the queue for Channel Template Links to add.- Returns:
- the clone.
- Since:
- 6.2.0
-
clone
protected Group clone()
Returns a shallow clone of this group.- Overrides:
clone
in classjava.lang.Object
- Returns:
- the clone.
-
applyChannelTemplateLinkInfo
public void applyChannelTemplateLinkInfo(ChannelTemplateLinkInfo channelTemplateLinkInfo)
-
-