|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gxos.Collections
Provides necessary methods for collection management such as collection creation and initialization.
$Id: Collections.java,v 1.4 2001/04/24 21:03:42 balsoy Exp $
Constructor Summary | |
Collections()
|
Method Summary | |
static Collection |
createAdmin(TreeObject root)
|
static Collection |
createCapabilities(TreeObject root)
|
static Collection |
createCollection(TreeObject parent,
java.lang.String name)
Returns an empty collection with default values set. |
static Collection |
createDevices(TreeObject root)
|
static Collection |
createDocuments(TreeObject root)
|
static Collection |
createEvents(TreeObject root)
|
static Collection |
createMultimedia(TreeObject root)
|
static Collection |
createRootObject(java.lang.String rootName)
Returns an empty root collection with default values set. |
static Collection |
createUsers(TreeObject root)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Collections()
Method Detail |
public static Collection createCollection(TreeObject parent, java.lang.String name)
Returns an empty collection with default values set. Its
NodeType
NodeTypeType.COLLECTION.
NodeRooting
is set to NoteRootingType.INTERNALNODE
.
If the parent is given, then newly created collection is added to the parent's child list as well.
parent
- Parent object of this newly created collection.name
- Name of this collection.public static Collection createRootObject(java.lang.String rootName)
Returns an empty root collection with default values set. Its
NodeType is set to NodeTypeType.ROOTCONTEXT
.
NodeRooting is set to NoteRootingType.ROOT
.
Root collections do not require a parent object.
name
- Name of the root collection.public static Collection createCapabilities(TreeObject root)
public static Collection createUsers(TreeObject root)
public static Collection createDevices(TreeObject root)
public static Collection createDocuments(TreeObject root)
public static Collection createEvents(TreeObject root)
public static Collection createAdmin(TreeObject root)
public static Collection createMultimedia(TreeObject root)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |