com.hyperion.css.common
Interface CSSNodeIF

All Superinterfaces:
java.io.Serializable

public interface CSSNodeIF
extends java.io.Serializable

Represents a user or group node. Added temporarily.

Since:
CSS v3.0 Jul 1, 2005
Author:
gkhanna

Method Summary
 java.lang.String getDescription()
          Returns the description
 java.lang.String getEmailAddress()
          Returns the email address.
 java.lang.String getFirstName()
          Returns the first name if this node is a user entry type.
 java.lang.String getIdentity()
          The identity of the user or group
 java.lang.String getLastName()
          Returns the last name if this node is a user entry type.
 java.lang.String getName()
          Returns the name => user id or group name
 CSSNodeIF[] getNextLevel()
          Returns the children/parent of this group.
 java.lang.String getType()
          Returns whether it is a USER or a GROUP
 boolean isActive()
          Returns true if the user is active.
 

Method Detail

getNextLevel

CSSNodeIF[] getNextLevel()
Returns the children/parent of this group. Empty array if there are no children/parent or this node is an user and not a group.

Returns:

getIdentity

java.lang.String getIdentity()
The identity of the user or group

Returns:
- the identity

getType

java.lang.String getType()
Returns whether it is a USER or a GROUP

Returns:
- the type determined by CSSAPIIF.ENTRY_TYPE_USERor CSSAPIIF.ENTRY_TYPE_GROUP

getName

java.lang.String getName()
Returns the name => user id or group name

Returns:
- name

getDescription

java.lang.String getDescription()
Returns the description

Returns:
- the description

getEmailAddress

java.lang.String getEmailAddress()
Returns the email address.

Returns:
- the email address if the entry type is user, empty String otherwise.

isActive

boolean isActive()
Returns true if the user is active. As of Joyce (CSS 3.0) only the native users can be active or inactive. Corporate directory users are not set to be active or inactive. So this call on the corprated directory users will always return true.

Returns:
- true if the user is active, false otherwise.

getFirstName

java.lang.String getFirstName()
Returns the first name if this node is a user entry type. Returns empty string if the node is a group entry type.

Since:
11.1.2

getLastName

java.lang.String getLastName()
Returns the last name if this node is a user entry type. Returns empty string if the node is a group entry type.

Since:
11.1.2


Copyright © 2005-2009 Oracle Corporation.