|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.gxos.gndi.context.GxContext
|
+--org.gxos.RootContext
A root object for Garnet Collaboration System. This object contains top level services. These are Admin, Capabilities, Devices, Documents, Events, Multimedia, Users and mega meetings.
$Id: RootContext.java,v 1.21 2001/09/27 19:31:43 balsoy Exp $
| Field Summary | |
static java.lang.String |
ARCHIVE
|
static java.lang.String |
RECYCLE
|
static java.lang.String |
TOP
|
| Fields inherited from class org.gxos.gndi.context.GxContext |
CURRENT, NULL, SELF, SELF_NAME, UNDEFINED |
| Fields inherited from interface javax.naming.Context |
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
| Constructor Summary | |
RootContext(java.lang.String root,
javax.naming.Context initial)
RootContext constructor. |
|
| Method Summary | |
void |
constructDevice(java.lang.String deviceAddr,
DeviceTypeType type)
Adds a new device to repository. |
void |
constructDevice(java.lang.String deviceAddr,
java.lang.String deviceType)
Adds a new device to repository. |
void |
constructEvent()
Creates an empty event object under the current root, i.e. |
void |
constructEvent(int seqno,
java.lang.String stream)
Creates an event object under the current root, i.e. |
void |
constructMeeting(java.lang.String megaMeetingURL,
Meeting meeting)
Adds a meeting under a megameeting, i.e. |
void |
constructMeeting(java.lang.String megaMeetingURL,
java.lang.String meetingName,
java.lang.String ownerID,
java.lang.String type)
Creates an empty meeting under a megameeting, i.e. |
void |
constructMegaMeeting(java.lang.String megaMeetingName)
Creates a megameeting under the current root, i.e. |
void |
constructUser(java.lang.String login,
java.lang.String password,
java.lang.String name,
java.lang.String pre,
java.lang.String suf,
java.lang.String email)
Creates a user object with given parameters, sets other values to defaults, and adds it to the current context. |
void |
constructUser(UserObject user)
Adds a user object to the user repository. |
GxContext |
getAdmin()
Returns context object for the top level Admin context. |
GxContext |
getCapabilities()
Returns context object for the top level Capabilities context. |
GxContext |
getDevices()
Returns context object for the top level Devices context. |
GxContext |
getDocuments()
Returns context object for the top level Documents context. |
GxContext |
getEvents()
Returns context object for the top level Events context. |
MeetingObject |
getMeeting(java.lang.String meeting)
Returns a meeting object. |
GxContext |
getMultimedia()
Returns context object for the top level Multimedia context. |
UserObject |
getUser(java.lang.String user)
Returns user object in the Users repository of this root context. |
GxContext |
getUsers()
Returns context object for the top level Users context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String RECYCLE
public static final java.lang.String TOP
public static final java.lang.String ARCHIVE
| Constructor Detail |
public RootContext(java.lang.String root,
javax.naming.Context initial)
throws javax.naming.NamingException
root - Root name for context.initial - Context returned by InitialContext function.javax.naming.NamingException - | Method Detail |
public GxContext getCapabilities()
throws javax.naming.NamingException
javax.naming.NamingException - if a naming error is encountered.
public GxContext getAdmin()
throws javax.naming.NamingException
javax.naming.NamingException - if a naming error is encountered.
public GxContext getDevices()
throws javax.naming.NamingException
javax.naming.NamingException - if a naming error is encountered.
public GxContext getDocuments()
throws javax.naming.NamingException
javax.naming.NamingException - if a naming error is encountered.
public GxContext getEvents()
throws javax.naming.NamingException
javax.naming.NamingException - if a naming error is encountered.
public GxContext getMultimedia()
throws javax.naming.NamingException
javax.naming.NamingException - if a naming error is encountered.
public GxContext getUsers()
throws javax.naming.NamingException
javax.naming.NamingException - if a naming error is encountered.
public void constructDevice(java.lang.String deviceAddr,
java.lang.String deviceType)
throws GxException
deviceAddr - Device's IP name, i.e. foo.bar.com.deviceType - Device type can be one of UNIX, Windows, Mac, or PDA.GxException - Device,
DeviceTypeType
public void constructDevice(java.lang.String deviceAddr,
DeviceTypeType type)
throws GxException
deviceAddr - Device's IP name, i.e. foo.bar.com.deviceType - Device type can be one of UNIX, WINDOWS, MAC, or PDA.GxException - Device,
DeviceTypeType
public void constructEvent()
throws GxException
GxException - Events
public void constructEvent(int seqno,
java.lang.String stream)
throws GxException
seqno - Sequence number of the eventstream - Name of the stream this event belongs to.GxException - Events
public void constructMegaMeeting(java.lang.String megaMeetingName)
throws GxException
megaMeetingName - Name of the mega meeting, i.e. Course1GxException - Meetings,
Collection
public void constructMeeting(java.lang.String megaMeetingURL,
Meeting meeting)
throws GxException
megaMeetingURL - GXOS name of the mega meeting this meeting will be added into.meeting - meeting object that will be added into a parenting mega meeting.GxException - Meetings,
Collection
public void constructMeeting(java.lang.String megaMeetingURL,
java.lang.String meetingName,
java.lang.String ownerID,
java.lang.String type)
throws GxException
megaMeetingURL - GXOS name of the megameeting this meeting will be created under.meetingName - name of the meeting.ownerID - identification information of the host user of this meeting.type - type of this meeting.GxException - Meetings,
Collectionpublic MeetingObject getMeeting(java.lang.String meeting)
meetingURI - meeting id must include megameetings as well.
public void constructUser(UserObject user)
throws GxException
user - new userGxException - UserObject,
Users
public void constructUser(java.lang.String login,
java.lang.String password,
java.lang.String name,
java.lang.String pre,
java.lang.String suf,
java.lang.String email)
throws GxException
login - login name of this userpassword - password for this username - full name of this user, i.e. James J Smith, John Doepre - name prefixes for the name if any, i.e. Prof.suf - name suffixes the name if any, i.e. Jr.email - email address of this userGxException - UserObject,
Userspublic UserObject getUser(java.lang.String user)
user - user ID as String.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||