Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.subsystems.qsys.resources
Interface IQSYSTemporaryStorage

All Known Implementing Classes:
TemporaryQSYSMember

public interface IQSYSTemporaryStorage


Field Summary
static String copyright
           
static String TEMP_STORAGE_PREFIX
           
 
Method Summary
 boolean copyToMember(String destMemberName)
          Copies the temporary storage object on top of the original source member, this method should be called only after create() method is executed successfully
 boolean create()
          Creates the temporary storage object on iSeries
 boolean delete()
          Deletes the temporary storage object from iSeries, this method should be called only after create() method is executed successfully
 String generateName()
          Generates a random name for this iSeries temporary storage object
 boolean uploadToISeries(IProgressMonitor monitor)
          Uploads the content from the local file to temporary storage object on iSeries, this method should be called only after create() method is executed successfully
 

Field Detail

copyright

static final String copyright
See Also:
Constant Field Values

TEMP_STORAGE_PREFIX

static final String TEMP_STORAGE_PREFIX
See Also:
Constant Field Values
Method Detail

generateName

String generateName()
Generates a random name for this iSeries temporary storage object

Returns:
generated name String

uploadToISeries

boolean uploadToISeries(IProgressMonitor monitor)
                        throws Exception
Uploads the content from the local file to temporary storage object on iSeries, this method should be called only after create() method is executed successfully

Parameters:
monitor -
Returns:
Boolean depending on the outcome of the upload operation
Throws:
Exception

copyToMember

boolean copyToMember(String destMemberName)
                     throws Exception
Copies the temporary storage object on top of the original source member, this method should be called only after create() method is executed successfully

Parameters:
destMemberName - Source member name
Returns:
Boolean depending on the outcome of the copy operation
Throws:
SystemMessageException
ISeriesEncapsulatedException
Exception

delete

boolean delete()
               throws SystemMessageException,
                      QSYSEncapsulatedException
Deletes the temporary storage object from iSeries, this method should be called only after create() method is executed successfully

Returns:
Boolean depending on the outcome of the delete operation
Throws:
SystemMessageException
ISeriesEncapsulatedException
QSYSEncapsulatedException

create

boolean create()
               throws SystemMessageException,
                      QSYSEncapsulatedException
Creates the temporary storage object on iSeries

Returns:
Boolean depending on the outcome of the create operation
Throws:
SystemMessageException
ISeriesEncapsulatedException
QSYSEncapsulatedException

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.