|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoredVersion
Information for a version of a Firmware, Domain or Deployment Policy that must be maintained and persisted. This information can be used to deploy firmware or domain configuration to a DataPower device. The user of the dataAPI is responsible for pruning excess or older versions that are no longer useful.
The following interfaces extendStoredVersion
:
StoredFirmWareVersion
StoredDomainVersion
StoredDeploymentPolicyVersion
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2009_2010
|
static java.lang.String |
SCM_REVISION
|
Method Summary | |
---|---|
void |
delete()
Deletes the version from the repository. |
Blob |
getBlob()
Gets the binary image for this version. |
java.util.Date |
getTimestamp()
Gets the timestamp that signifies when the StoredVersion was created in the repository. |
java.lang.String |
getUserComment()
Gets the user comment that corresponds to this version. |
java.lang.Object |
getVersionedObject()
Gets a reference to the object that this StoredVersion describes. |
int |
getVersionNumber()
Gets the version number that this StoredVersion object represents. |
void |
setUserComment(java.lang.String comment)
This method is used to set the user comment that can be later retrieved via getUserComment() . |
Methods inherited from interface com.ibm.datapower.wamt.dataAPI.Persistable |
---|
getPrimaryKey |
Field Detail |
---|
static final java.lang.String COPYRIGHT_2009_2010
static final java.lang.String SCM_REVISION
Method Detail |
---|
int getVersionNumber()
setVersionNumber(int)
method. The combination of version number and Object reference forms the
primary key for a StoredVersion object in the repository.
java.lang.Object getVersionedObject()
java.util.Date getTimestamp()
setTimestamp(Date)
method. The timestamp is accessed from
DomainVersion.getTimestamp()
,
FirmwareVersion.getTimestamp()
, and
DeploymentPolicyVersion.getTimestamp()
java.lang.String getUserComment()
DomainVersion.getUserComment()
,
FirmwareVersion.getUserComment()
,
DeploymentPolicyVersion.getUserComment()
setUserComment(String)
void setUserComment(java.lang.String comment) throws DatastoreException
getUserComment()
. Calling this method will cause the
comment to be written to the repository. The comment is set by invoking
DomainVersion.setUserComment(String)
,
FirmwareVersion.setUserComment(String)
,
DeploymentPolicyVersion.setUserComment(String)
comment
- the user-defined comment to attach to this StoredVersion. It
may have reference to a new function, bug fix, change
management or problem management ticket, etc. This is a
freeform field of unlimited length.getUserComment()
Blob getBlob()
DomainVersion.getBlob()
,
FirmwareVersion.getBlob()
,
DeploymentPolicyVersion.getBlob()
The image is set by the clientAPI and store by the repository, so
there is no setBlob
method.
void delete() throws DatastoreException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |