Style Intelligence v12.0

inetsoft.sree.security
Class Group

java.lang.Object
  extended by inetsoft.uql.util.AbstractIdentity
      extended by inetsoft.sree.security.Group
All Implemented Interfaces:
inetsoft.uql.util.Identity, Serializable, Cloneable
Direct Known Subclasses:
FSGroup

public class Group
extends inetsoft.uql.util.AbstractIdentity

This class defines the group.

See Also:
Serialized Form

Field Summary
protected  String[] groups
           
protected  String locale
           
protected  String name
           
protected  String[] roles
           
 
Fields inherited from interface inetsoft.uql.util.Identity
GROUP, ROLE, UNKNOWN_USER, USER
 
Constructor Summary
Group()
          Constructor.
Group(String name)
          Constructor.
Group(String name, String locale, String[] groups, String[] roles)
          Constructor.
 
Method Summary
 Object clone()
          Clone the object.
 XPrincipal create()
          Create one user.
 String[] getGroups()
          Get parent groups.
 String getLocale()
          Get the locale of the group.
 String getName()
          Get the name of the group.
 String[] getRoles()
          Get roles assigned to the group.
 int getType()
          Get the type of the identity.
 String toString()
          Get a string representation of this object.
 
Methods inherited from class inetsoft.uql.util.AbstractIdentity
equals, hashCode, isEditable, toIdentifier
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name

roles

protected String[] roles

groups

protected String[] groups

locale

protected String locale
Constructor Detail

Group

public Group()
Constructor.


Group

public Group(String name)
Constructor.


Group

public Group(String name,
             String locale,
             String[] groups,
             String[] roles)
Constructor.

Parameters:
name - group's name.
locale - group's locale.
groups - parent groups.
roles - roles assigned to this group.
Method Detail

getName

public String getName()
Get the name of the group.


getRoles

public String[] getRoles()
Get roles assigned to the group.

Specified by:
getRoles in interface inetsoft.uql.util.Identity
Overrides:
getRoles in class inetsoft.uql.util.AbstractIdentity

getGroups

public String[] getGroups()
Get parent groups.

Specified by:
getGroups in interface inetsoft.uql.util.Identity
Overrides:
getGroups in class inetsoft.uql.util.AbstractIdentity

getLocale

public String getLocale()
Get the locale of the group.


clone

public Object clone()
Clone the object.

Specified by:
clone in interface inetsoft.uql.util.Identity
Overrides:
clone in class inetsoft.uql.util.AbstractIdentity

getType

public int getType()
Get the type of the identity.


create

public XPrincipal create()
Create one user.


toString

public String toString()
Get a string representation of this object.

Overrides:
toString in class inetsoft.uql.util.AbstractIdentity

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.