|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoredFirmware
The information related to Firmware
that must be maintained and
persisted for a firmware that can
be deployed to a device. This includes the device type, model type, strict features list,
and non-strict feature list.
It acts as a container for different levels of firmware, i.e. FirmwareVersion objects for a specific
device type.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2009_2010
|
static java.lang.String |
SCM_REVISION
|
Method Summary | |
---|---|
void |
delete()
Deletes the persisted instance of this StoredFirmware. |
DeviceType |
getDeviceType()
Gets the deviceType of this StoredFirmware. |
int |
getHighestVersionNumber()
Gets the highest version number that has EVER been used for a version of this object. |
ModelType |
getModelType()
Gets the modelType of this StoredFirmware. |
StringCollection |
getNonstrictFeatures()
Gets the StringCollection that represents the nonstrict features supported by this firmware. |
java.lang.String |
getPrimaryKey()
Returns the unique identifier for this StoredFirmware. |
StringCollection |
getStrictFeatures()
Gets the StringCollection that represents the strict features supported by this firmware. |
StoredFirmwareVersion[] |
getVersions()
Returns all the FirmwareVersions contained by this StoredFirmware object. |
void |
remove(StoredFirmwareVersion firmwareVersion)
Removes the specifed StoredFirmwareVersion from this StoredFirmware. |
Field Detail |
---|
static final java.lang.String COPYRIGHT_2009_2010
static final java.lang.String SCM_REVISION
Method Detail |
---|
DeviceType getDeviceType()
setDeviceType
method. This is invoked by
Firmware.getDeviceType()
Note: The Local File System implementation persists device type as an attribute on firmwares element in the WAMT.repository.xml file.
ModelType getModelType()
setModelType
method. This is invoked by
Firmware.getModelType()
Note: The Local File System implementation persists device model type as an attribute on firmwares element in the WAMT.repository.xml file.
StringCollection getStrictFeatures()
StoredFirmware is specific to a combination of device type + model type +
strictfeatures + nonstrictFeatures. The strictFeatures attribute is
immutable, so there is no setStrictFeatures
method. This is invoked by
Firmware.getStrictFeatures()
Note: The Local File System implementation persists the collection of strict features as an attribute on firmwares element in the WAMT.repository.xml file.
StringCollection getNonstrictFeatures()
StoredFirmware is specific to a combination of device type + model type +
strictfeatures + nonstrictFeatures. The nonstrictFeatures attribute is
immutable, so there is no setNonstrictFeatures
method. This is invoked by
Firmware.getNonstrictFeatures()
Note: The Local File System implementation persists the collection of non-strict features as an attribute on firmwares element in the WAMT.repository.xml file.
StoredFirmwareVersion[] getVersions()
Firmware.getVersions()
int getHighestVersionNumber()
Firmware.getHighestVersionNumber()
Note: The Local File System implementation persists the highest version number as an attribute on firmwares element in the WAMT.repository.xml file.
java.lang.String getPrimaryKey()
Firmware.getPrimaryKey()
.
There is no setPrimaryKey
exposed since it is managed by the
dataAPI implementation.
Note: The Local File System implementation combines the device type, model type, strict features and non-strict features as the unique identifier of this object.
getPrimaryKey
in interface Persistable
void remove(StoredFirmwareVersion firmwareVersion) throws NotExistInRepositoryException
Firmware.remove(com.ibm.datapower.wamt.clientAPI.Version)
.
firmwareVersion
- the StoredFirmwareVersion to removeRepository.createFirmwareVersion(StoredFirmware, Blob, String, Date, String, Date)
void delete() throws NotEmptyInRepositoryException, DatastoreException
Manager.remove(com.ibm.datapower.wamt.clientAPI.Firmware)
which
also contains the logic to removes any contained FirmwareVersions.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |