com.ibm.datapower.wamt.dataAPI
Interface StoredDomainVersion

All Superinterfaces:
Persistable, StoredVersion
All Known Implementing Classes:
StoredDomainVersionImpl

public interface StoredDomainVersion
extends StoredVersion

Information that must be maintained and persisted for a version of a Domain object in the repository. StoredDomainVersions can be deployed to a DataPower device.

When creating a StoredDomainVersion that has a Blob, please read the Blob class javadoc about verifying the contents are not in a byte array via Blob.hasBytes().


Field Summary
static java.lang.String COPYRIGHT_2009_2010
           
static java.lang.String SCM_REVISION
           
 
Method Summary
 StoredDomain getDomain()
          Get the StoredDomain that contains this version.
 java.lang.String getPrimaryKey()
          Unique identifier for this StoredDomainVersion.
 void recordDomainVersion(java.io.OutputStream outputStream)
          Generate a Domain Configuration Deployment Report.
 
Methods inherited from interface com.ibm.datapower.wamt.dataAPI.StoredVersion
delete, getBlob, getTimestamp, getUserComment, getVersionedObject, getVersionNumber, setUserComment
 

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

getPrimaryKey

java.lang.String getPrimaryKey()
Unique identifier for this StoredDomainVersion. This is invoked by DomainVersion.getPrimaryKey(). There is no setPrimaryKey exposed since it is managed by the dataAPI implementation.

Specified by:
getPrimaryKey in interface Persistable
Returns:
the unique identifier for this object

getDomain

StoredDomain getDomain()
Get the StoredDomain that contains this version. This is invoked by DomainVersion.getDomain()

Returns:
StoredDomain object

recordDomainVersion

void recordDomainVersion(java.io.OutputStream outputStream)
Generate a Domain Configuration Deployment Report. The implementation of this interface is optional.

Parameters:
outputStream - that will be used to write the report


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