com.pmease.quickbuild.model
Class Group

java.lang.Object
  extended by com.pmease.quickbuild.model.AbstractEntity
      extended by com.pmease.quickbuild.model.Group
All Implemented Interfaces:
java.io.Serializable

@Entity
public class Group
extends AbstractEntity

See Also:
Serialized Form

Field Summary
static java.lang.String ANONYMOUS_NAME
           
static java.lang.String REGISTER_NAME
           
 
Constructor Summary
Group()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.util.Collection<Authorization> getAuthorizations()
          Get authorizations
 java.lang.String getDescription()
           
 java.util.Collection<Membership> getMemberships()
          Get memberships
 java.lang.String getName()
           
 java.util.HashMap<java.lang.String,VersionedDocument> getPluginSettingDOMs()
          Get map of plugin id to plugin setting data.
 java.util.Collection<GroupShare> getShares()
           
 int hashCode()
           
 boolean isAdmin()
           
 boolean isAgentAllowed()
           
 boolean isExpandAllAllowed()
           
 boolean isForceHttps()
           
 boolean isNodeAttributesAllowed()
           
 boolean isScriptAllowed()
           
 boolean isShareDashboardAllowed()
           
 boolean isSystemLogAllowed()
           
 boolean isViewAlertsAllowed()
           
 void setAdmin(boolean admin)
           
 void setAgentAllowed(boolean agentAllowed)
           
 void setAuthorizations(java.util.Collection<Authorization> authorizations)
           
 void setDescription(java.lang.String description)
           
 void setExpandAllAllowed(boolean expandAllAllowed)
           
 void setForceHttps(boolean forceHttps)
           
 void setMemberships(java.util.Collection<Membership> memberships)
           
 void setName(java.lang.String name)
           
 void setNodeAttributesAllowed(boolean nodeAttributesAllowed)
           
 void setPluginSettingDOMs(java.util.HashMap<java.lang.String,VersionedDocument> pluginSettingDOMs)
           
 void setScriptAllowed(boolean scriptAllowed)
           
 void setShareDashboardAllowed(boolean shareDashboardAllowed)
           
 void setShares(java.util.Collection<GroupShare> shares)
           
 void setSystemLogAllowed(boolean systemLogAllowed)
           
 void setViewAlertsAllowed(boolean viewAlertsAllowed)
           
 
Methods inherited from class com.pmease.quickbuild.model.AbstractEntity
getId, isNew, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANONYMOUS_NAME

public static final java.lang.String ANONYMOUS_NAME
See Also:
Constant Field Values

REGISTER_NAME

public static final java.lang.String REGISTER_NAME
See Also:
Constant Field Values
Constructor Detail

Group

public Group()
Method Detail

getName

@NotEmpty
public java.lang.String getName()
Get name of the group.


setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()
Get description of the group.


setDescription

public void setDescription(java.lang.String description)

isAdmin

public boolean isAdmin()
Whether or not this is an administrative group.


setAdmin

public void setAdmin(boolean admin)

isNodeAttributesAllowed

public boolean isNodeAttributesAllowed()
Whether or not this group is allowed to access grid node attributes.


setNodeAttributesAllowed

public void setNodeAttributesAllowed(boolean nodeAttributesAllowed)

isSystemLogAllowed

public boolean isSystemLogAllowed()
Whether or not this group is allowed to access system log.


setSystemLogAllowed

public void setSystemLogAllowed(boolean systemLogAllowed)

isExpandAllAllowed

public boolean isExpandAllAllowed()
Whether or not this group is allowed to expand all configurations.


setExpandAllAllowed

public void setExpandAllAllowed(boolean expandAllAllowed)

isAgentAllowed

public boolean isAgentAllowed()
Whether or not this group is allowed to run user agents.


setAgentAllowed

public void setAgentAllowed(boolean agentAllowed)

isScriptAllowed

public boolean isScriptAllowed()
Whether or not this group is allowed to create scripts.


setScriptAllowed

public void setScriptAllowed(boolean scriptAllowed)

isShareDashboardAllowed

public boolean isShareDashboardAllowed()

setShareDashboardAllowed

public void setShareDashboardAllowed(boolean shareDashboardAllowed)

isViewAlertsAllowed

public boolean isViewAlertsAllowed()

setViewAlertsAllowed

public void setViewAlertsAllowed(boolean viewAlertsAllowed)

isForceHttps

public boolean isForceHttps()

setForceHttps

public void setForceHttps(boolean forceHttps)

getMemberships

public java.util.Collection<Membership> getMemberships()
Get memberships


setMemberships

public void setMemberships(java.util.Collection<Membership> memberships)

getShares

public java.util.Collection<GroupShare> getShares()

setShares

public void setShares(java.util.Collection<GroupShare> shares)

getAuthorizations

public java.util.Collection<Authorization> getAuthorizations()
Get authorizations


setAuthorizations

public void setAuthorizations(java.util.Collection<Authorization> authorizations)

getPluginSettingDOMs

public java.util.HashMap<java.lang.String,VersionedDocument> getPluginSettingDOMs()
Get map of plugin id to plugin setting data. This data structure is used to hold group level settings required by various plugins.


setPluginSettingDOMs

public void setPluginSettingDOMs(java.util.HashMap<java.lang.String,VersionedDocument> pluginSettingDOMs)

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class AbstractEntity

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractEntity


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.