Style Intelligence v12.0

inetsoft.sree.security
Class FSRole

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

public class FSRole
extends Role
implements inetsoft.util.XMLSerializable

This class defines the FSRole.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class inetsoft.sree.security.Role
ADMINISTRATOR, ADMINISTRATOR_R, desc, EVERYONE, name, roles
 
Fields inherited from interface inetsoft.uql.util.Identity
GROUP, ROLE, UNKNOWN_USER, USER
 
Constructor Summary
FSRole()
          Constructor.
FSRole(String name)
          Constructor.
FSRole(String name, String desc)
          Constructor.
FSRole(String name, String[] roles)
          Constructor.
 
Method Summary
 void parseXML(Element tag)
          Parse xml element representation.
 void setRoles(String[] roles)
          Set the roles of the role.
 void writeXML(PrintWriter writer)
          Write xml element representation to a print writer.
 
Methods inherited from class inetsoft.sree.security.Role
clone, create, getDescription, getName, getRoles, getType, isAdmin, toString
 
Methods inherited from class inetsoft.uql.util.AbstractIdentity
equals, getGroups, hashCode, isEditable, toIdentifier
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FSRole

public FSRole()
Constructor.


FSRole

public FSRole(String name)
Constructor.

Parameters:
name - the specified role's name.

FSRole

public FSRole(String name,
              String[] roles)
Constructor.

Parameters:
name - the specified role's name.
roles - the parent roles.

FSRole

public FSRole(String name,
              String desc)
Constructor.

Parameters:
name - the specified role's name.
desc - the specified description.
Method Detail

setRoles

public void setRoles(String[] roles)
Set the roles of the role.

Parameters:
roles - the roles of the role.

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.