com.ibm.ftt.projects.core.logical
Interface IRemoteResource

All Superinterfaces:
IAdaptable, ILogicalResource
All Known Subinterfaces:
LZOSDataSet, LZOSDataSetMember, LZOSPartitionedDataSet, LZOSResource, LZOSSequentialDataSet

public interface IRemoteResource
extends ILogicalResource

Abstract interface for a remote resource.


Field Summary
static String COPY_RIGHT
           
 
Method Summary
 boolean exists()
          Returns true if this resource exists in the file system.
 IOSImage getSystem()
          Returns the system associated with this resource.
 void goOffline()
          Changes the state for this resource to offline.
 void goOnline()
          Changes the state for this resource to online.
 boolean refersTo(IPhysicalResource physicalResource)
          Returns true if this resource corresponds to the specified resource.
 
Methods inherited from interface com.ibm.ftt.projects.core.logical.ILogicalResource
delete, deleteOverriddenPropertiesInCategory, deleteOverride, getCurrentPropertyGroup, getFullPath, getLogicalParent, getName, getOverriddenProperties, getPersistentProperty, getPhysicalResource, getResourcePublisher, getSessionProperty, getSubProject, refresh, remove, rename, setCurrentPropertyGroup, setOverride, setPersistentProperty, setSessionProperty
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

COPY_RIGHT

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

goOffline

void goOffline()
               throws OperationFailedException
Changes the state for this resource to offline. This is a no-op if the resource is already off-line. Note: this is just a model state change, and does not imply the resource has been downloaded to the workstation. It is assumed that any necessary downloads has already taken place prior to the invocation of the goOffline invocation. The state of all contained resources will be changed also.

Throws:
OperationFailedException

goOnline

void goOnline()
              throws OperationFailedException
Changes the state for this resource to online. This is a no-op if the resource is already online. Note: this is just a model state change, and does not imply the resource has been uploaded to the server. It is assumed that any necessary uploads and merges has already taken place prior to the invocation of the goOffline invocation. The state of all contained resources will be changed also.

Throws:
OperationFailedException

refersTo

boolean refersTo(IPhysicalResource physicalResource)
Returns true if this resource corresponds to the specified resource.

Parameters:
physicalResource - the IPhysicalResource in question
Returns:
true if this resource refers to the specified resource, false otherwise

exists

boolean exists()
Returns true if this resource exists in the file system.

Returns:
true if the resource exists, false otherwise

getSystem

IOSImage getSystem()
Returns the system associated with this resource.

Returns:
an IOSImage representing the system associated with this resource