Class Index | File Index

Classes


Class Security.Organization

A class which provides a Fabric organization information. Use SecurityManager#lookupOrganization method to get 'Security.Organization' object by the specified organization name.
Defined in: </home/ubuntu/streamscape/NeeveBuild/stjsapi/src/main/webapp/js/security/Organization.js>.

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

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

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

{String} getOrganization()
Returns this organization domain name
Returns:
This organization domain name

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

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

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

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

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

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