Style Intelligence v12.0

inetsoft.sree.security
Class FSGroup

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

public class FSGroup
extends Group
implements inetsoft.util.XMLSerializable

This class defines the group.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class inetsoft.sree.security.Group
groups, locale, name, roles
 
Fields inherited from interface inetsoft.uql.util.Identity
GROUP, ROLE, UNKNOWN_USER, USER
 
Constructor Summary
FSGroup()
          Constructor.
FSGroup(String name)
          Constructor.
FSGroup(String name, String locale, String[] groups, String[] roles)
          Constructor.
 
Method Summary
 void parseXML(Element tag)
          Parse xml element representation.
 void setGroups(String[] groups)
          Set parent groups.
 void setLocale(String locale)
          Set the locale of the group.
 void setRoles(String[] roles)
          Set roles assigned to the group.
 void writeXML(PrintWriter writer)
          Write xml element representation to a print writer.
 
Methods inherited from class inetsoft.sree.security.Group
clone, create, getGroups, getLocale, getName, getRoles, getType, toString
 
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
 

Constructor Detail

FSGroup

public FSGroup()
Constructor.


FSGroup

public FSGroup(String name)
Constructor.


FSGroup

public FSGroup(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

setRoles

public void setRoles(String[] roles)
Set roles assigned to the group.


setGroups

public void setGroups(String[] groups)
Set parent groups.


setLocale

public void setLocale(String locale)
Set the locale of the group.


writeXML

public void writeXML(PrintWriter writer)
Write xml element representation to a print writer.

Specified by:
writeXML in interface inetsoft.util.XMLSerializable
Parameters:
writer - the specified print writer.

parseXML

public void parseXML(Element tag)
              throws Exception
Parse xml element representation.

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Parameters:
tag - the specified xml element representation.
Throws:
Exception

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