public class Organization extends CloneableDataObject
Title: Service Event Fabric Core
Description: Defines a Security Organization.
Copyright: Copyright (c) 2011
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Modifier and Type | Method and Description |
---|---|
Organization |
clone()
Clones the organization.
|
int |
compareTo(com.streamscape.sef.security.AbstractEntity other) |
java.lang.String |
getDescription()
Returns the description of the organization.
|
CIString |
getDomain()
Returns the domain associated with the organization.
|
CIString |
getName()
Returns the name of the organization.
|
boolean |
hasMember(java.lang.String memberName)
Checks if the organization has the specified member (group or user).
|
boolean |
hasMembers()
Checks if the organization has any members (groups or users).
|
boolean |
isValid()
Checks if the organization is valid.
|
java.util.List |
listMembers()
Returns a sorted list of names of all members (groups and users) in the organization.
|
void |
setDescription(java.lang.String description)
Sets the specified description of the organization.
|
java.lang.String |
toString() |
getSerialVersionUID
public CIString getName()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description to be set.public CIString getDomain()
public boolean hasMember(java.lang.String memberName)
memberName
- the name of the member to be checked.true
if the group has the specified member, false
otherwise.public boolean hasMembers()
true
if the organization has members, false
otherwise.public java.util.List listMembers()
public boolean isValid()
true
if the organization is valid, false
otherwise.public Organization clone()
clone
in interface CloneableObject
public int compareTo(com.streamscape.sef.security.AbstractEntity other)
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.