com.ail.core.configure.server
Class GetNamespacesCommand

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.command.AbstractCommand
          extended by com.ail.core.command.Command
              extended by com.ail.core.configure.server.GetNamespacesCommand
All Implemented Interfaces:
CommandArg, GetNamespacesArg, java.io.Serializable, java.lang.Cloneable

public class GetNamespacesCommand
extends Command
implements GetNamespacesArg

Fetch a list of all the configuration namespaces known to the system. A collection of Strings is returned, one String for each namespace.

Version:
$Revision: 1.3 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
GetNamespacesCommand()
          Default constructor.
 
Method Summary
 CommandArg getArgs()
          {inheritDoc}
 java.util.Collection<java.lang.String> getNamespaces()
          Get the namespace collection.
 void setArgs(CommandArg arg)
          {inheritDoc}
 void setNamespaces(java.util.Collection<java.lang.String> namespaces)
          Set the namespaces collection attribute.
 
Methods inherited from class com.ail.core.command.Command
clone, getAccessor, getCallersCore, getConfiguration, getVersion, invoke, setAccessor, setCallersCore, setConfiguration, setService
 
Methods inherited from class com.ail.core.Type
addAttribute, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ail.core.command.CommandArg
getCallersCore, setCallersCore
 

Constructor Detail

GetNamespacesCommand

public GetNamespacesCommand()
Default constructor.

Method Detail

setArgs

public void setArgs(CommandArg arg)
{inheritDoc}

Specified by:
setArgs in class AbstractCommand
Parameters:
arg - Source for arguments

getArgs

public CommandArg getArgs()
{inheritDoc}

Specified by:
getArgs in class AbstractCommand
Returns:
This objects arguments.

setNamespaces

public void setNamespaces(java.util.Collection<java.lang.String> namespaces)
Set the namespaces collection attribute. This collections contains Strings, each representing a namespace.

Specified by:
setNamespaces in interface GetNamespacesArg

getNamespaces

public java.util.Collection<java.lang.String> getNamespaces()
Get the namespace collection.

Specified by:
getNamespaces in interface GetNamespacesArg
Returns:
The collection of instances of ConfigurationSummary
See Also:
GetNamespacesArg.setNamespaces(java.util.Collection)