Class Index | File Index

Classes


Class Security.Group

A class which provides a Fabric users group information. Use SecurityManager#lookupGroup method to get 'Security.Group' object by the specified group name.
Defined in: <D:\Programs\Neeve\Projects\NeeveBuild\stjsapi/src/main/webapp/js\security\Group.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Security.Group(fabricConnection)
Creates a new users group in Fabric
Method Summary
Method Attributes Method Name and Description
AccessControlList 
Returns the access control list of this group
String 
Returns the description of this group
String 
Returns the list of this group members
String 
Returns the name of this group
String 
Returns the organization name for this group
boolean 
hasMember(memberName)
Returns if this group has the specified user as its member
boolean 
Returns if this group has members (is not empty)
boolean 
Returns if this group is valid
String 
Returns the sorted list of this group members
void 
setAccessControlList(accessControlList)
Sets the access control list for this group
void 
setDescription(description)
Sets the description for this group
Class Detail
Security.Group(fabricConnection)
Creates a new users group in Fabric
Parameters:
{HTTPFabricConnection} fabricConnection
The fabric connection via which all the methods are invoked
Method Detail
{AccessControlList} getAccessControlList()
Returns the access control list of this group
Returns:
This group access control list

{String} getDescription()
Returns the description of this group
Returns:
This group description

{String[]} getMembers()
Returns the list of this group members
Returns:
This group members list

{String} getName()
Returns the name of this group
Returns:
This group name

{String} getOrganization()
Returns the organization name for this group
Returns:
This group organization name

{boolean} hasMember(memberName)
Returns if this group has the specified user as its member
Parameters:
{String} memberName
The name of the user to be checked
Returns:
True if this group has the specified user as its member

{boolean} hasMembers()
Returns if this group has members (is not empty)
Returns:
True if this group has members (is not empty)

{boolean} isValid()
Returns if this group is valid
Returns:
True if this group is valid

{String[]} listMembers()
Returns the sorted list of this group members
Returns:
This group members sorted list

setAccessControlList(accessControlList)
Sets the access control list for this group
Parameters:
{AccessControlList} accessControlList
The new access control list to be set for this group

setDescription(description)
Sets the description for this group
Parameters:
{String} description
The new description to be set for this group

Copyright © 2015-2021 StreamScape Technologies. All rights reserved.