Skip navigation links


com.essbase.eas.essbase.defs
Class DefaultGroup

java.lang.Object
  extended by com.essbase.eas.essbase.defs.DefaultGroup

All Implemented Interfaces:
Group

public class DefaultGroup
extends java.lang.Object
implements Group

Defines a generic interface for essbase user. This interface should be useable in both server and client side applications.

Version:
1.00, 03/28/2001
Author:
Namita Varma
See Also:

Constructor Summary
DefaultGroup()
           
DefaultGroup(java.lang.String groupName)
           
DefaultGroup(java.lang.String groupName, Server s)
           
DefaultGroup(java.lang.String groupName, java.lang.String providerName, Server s)
           

 

Method Summary
 void addGroupListener(GroupListener l)
          add a listener to the Group's collection of listeners.
protected  void fireGroupRenamedEvent()
          fires Group renamed events to the listeners.
 java.lang.String getName()
           
 GroupProperties getProperties()
          returns properties object associated with this Group.
 GroupProperties getPropertiesCondensed()
          returns properties object associated with this group.
 java.lang.String getProviderName()
           
 Server getServer()
          get the server that this user object is defined in.
 java.util.List getUsers()
          returns users in this Group.
 void removeGroupListener(GroupListener l)
          removes an event listener from an Group
 void setName(java.lang.String value)
          implementation of the User interface setName() method.
 void setProperties(GroupProperties props)
          sets properties object associated with this Group.
 void setProviderName(java.lang.String providerName)
           
 void setServer(Server value)
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

DefaultGroup

public DefaultGroup()

DefaultGroup

public DefaultGroup(java.lang.String groupName)

DefaultGroup

public DefaultGroup(java.lang.String groupName,
                    Server s)

DefaultGroup

public DefaultGroup(java.lang.String groupName,
                    java.lang.String providerName,
                    Server s)

Method Detail

getProviderName

public java.lang.String getProviderName()
Specified by:
getProviderName in interface Group

setProviderName

public void setProviderName(java.lang.String providerName)
Specified by:
setProviderName in interface Group

getServer

public Server getServer()
get the server that this user object is defined in.
Specified by:
getServer in interface Group

setServer

public void setServer(Server value)
Specified by:
setServer in interface Group

getName

public java.lang.String getName()
Specified by:
getName in interface Group

getUsers

public java.util.List getUsers()
returns users in this Group.
Specified by:
getUsers in interface Group

setName

public void setName(java.lang.String value)
implementation of the User interface setName() method. Changes the name of this Essbase user and generates an UserEvent for the name change.
Specified by:
setName in interface Group

getProperties

public GroupProperties getProperties()
returns properties object associated with this Group.
Specified by:
getProperties in interface Group

getPropertiesCondensed

public GroupProperties getPropertiesCondensed()
returns properties object associated with this group. can be used to retrieve minimal properties
Specified by:
getPropertiesCondensed in interface Group

setProperties

public void setProperties(GroupProperties props)
sets properties object associated with this Group.
Specified by:
setProperties in interface Group

addGroupListener

public void addGroupListener(GroupListener l)
add a listener to the Group's collection of listeners.
Specified by:
addGroupListener in interface Group

removeGroupListener

public void removeGroupListener(GroupListener l)
removes an event listener from an Group
Specified by:
removeGroupListener in interface Group

fireGroupRenamedEvent

protected void fireGroupRenamedEvent()
fires Group renamed events to the listeners.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.