|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.activity.xmldb.commands.CreateCollectionCommand
A Command to create a new collection.
| Constructor Summary | |
CreateCollectionCommand()
|
|
| Method Summary | |
void |
execute(CommandContext context)
Executes this command using the specified context. |
void |
initialise(org.w3c.dom.Element element)
Initialises this command by parsing the specified Element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CreateCollectionCommand()
| Method Detail |
public void initialise(org.w3c.dom.Element element)
throws CommonUserException
CommandElement.
The details retrieved may determine the behavior of the
execute method.
initialise in interface Commandelement - The Element that corresponds to this
command.
CommonUserException - If there is a poblem parsing element.
public void execute(CommandContext context)
throws CommonSystemException,
CommonUserException
Command
execute in interface Commandcontext - An CommandContext object from which
the current collection, the default output and
any inputs can be retrieved.
CommonUserException - If there is a user problem.
CommonSystemException - If there is a system problem executing the
command.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||