com.ibm.datapower.wamt.dataAPI
Interface StoredDeployableConfiguration

All Superinterfaces:
Persistable
All Known Subinterfaces:
StoredDomain
All Known Implementing Classes:
StoredDomainImpl

public interface StoredDeployableConfiguration
extends Persistable

The version information that must be maintained and persisted for a managed Domain that represents a domain on a DataPower device. StoredDomain extends StoredDeployableConfiguration


Field Summary
static java.lang.String COPYRIGHT_2009_2010
           
static java.lang.String SCM_REVISION
           
 
Method Summary
 void delete()
          Deletes this StoredDeployableConfiguration.
 int getHighestVersionNumber()
          Returns the highest version number that has EVER been used for a version of this object.
 StoredVersion[] getVersions()
          Returns the versions of the specified StoredDeployableConfiguration from the repository.
 
Methods inherited from interface com.ibm.datapower.wamt.dataAPI.Persistable
getPrimaryKey
 

Field Detail

COPYRIGHT_2009_2010

static final java.lang.String COPYRIGHT_2009_2010
See Also:
Constant Field Values

SCM_REVISION

static final java.lang.String SCM_REVISION
See Also:
Constant Field Values
Method Detail

getVersions

StoredVersion[] getVersions()
Returns the versions of the specified StoredDeployableConfiguration from the repository. This is invoked from Domain.getVersions()

Returns:
the Versions of the specified StoredDeployableConfiguration. The array is in chronological order with the oldest version first in the array.

getHighestVersionNumber

int getHighestVersionNumber()
Returns the highest version number that has EVER been used for a version of this object. Used to create unique identifiers for the versions of this object. It is OK for this number to wrap as long as it doesn't create duplicated identifiers among the current set of versions. The version number is calculated and maintained by the dataAPI implementation and there is no setHighestVersion. This is called by Domain.getHighestVersionNumber()

Returns:
The highest version number that has EVER been for a version of this object

delete

void delete()
            throws DatastoreException,
                   NotEmptyInRepositoryException
Deletes this StoredDeployableConfiguration. The StoredDomain will be removed from the StoredDevice that contains it. This is invoked from Device.removeManagedDomain(String)

Note: The Local File System implementation clears the StoredDomain object and removes the element from the WAMT.repository.xml file. It does not remove any contained elements. The logic to remove the contained elements is handled in the clientAPI.



© Copyright IBM Corp. 2006, 2010 All Rights Reserved.