com.ail.core.configure.server
Class GetNamespacesHistoryCommand

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.GetNamespacesHistoryCommand
All Implemented Interfaces:
CommandArg, GetNamespacesHistoryArg, java.io.Serializable, java.lang.Cloneable

public class GetNamespacesHistoryCommand
extends Command
implements GetNamespacesHistoryArg

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
GetNamespacesHistoryCommand()
          Default constructor.
 
Method Summary
 CommandArg getArgs()
          {inheritDoc}
 java.lang.String getNamespaceArg()
          
 java.util.Collection<ConfigurationSummary> getNamespacesRet()
          Get the namespace collection.
 void setArgs(CommandArg arg)
          {inheritDoc}
 void setNamespaceArg(java.lang.String namespaceArg)
          The namespace arg tells the command which namespace to return the history for.
 void setNamespacesRet(java.util.Collection<ConfigurationSummary> 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

GetNamespacesHistoryCommand

public GetNamespacesHistoryCommand()
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.

setNamespacesRet

public void setNamespacesRet(java.util.Collection<ConfigurationSummary> namespaces)
Set the namespaces collection attribute. This collections contains ConfigurationSummary, each representing a point in the namespace's history.

Specified by:
setNamespacesRet in interface GetNamespacesHistoryArg

getNamespacesRet

public java.util.Collection<ConfigurationSummary> getNamespacesRet()
Get the namespace collection.

Specified by:
getNamespacesRet in interface GetNamespacesHistoryArg
Returns:
The collection of instances of ConfigurationSummary
See Also:
#setNamespaces

getNamespaceArg

public java.lang.String getNamespaceArg()

Specified by:
getNamespaceArg in interface GetNamespacesHistoryArg
Returns:
The namespace to return the history for.
See Also:
GetNamespacesHistoryArg.setNamespaceArg(String)

setNamespaceArg

public void setNamespaceArg(java.lang.String namespaceArg)
The namespace arg tells the command which namespace to return the history for.

Specified by:
setNamespaceArg in interface GetNamespacesHistoryArg
Parameters:
namespaceArg - The namespace to return the history for.