RSE
Release 1.0

org.eclipse.rse.core.subsystems
Interface IRemoteContainer

All Superinterfaces:
ISystemContainer
All Known Subinterfaces:
IRemoteFile, IVirtualRemoteFile
All Known Implementing Classes:
AbstractRemoteFile, DStoreFile, DStoreVirtualFile, LocalFile, LocalVirtualFile, RemoteFile

public interface IRemoteContainer
extends ISystemContainer


Method Summary
 void copyContentsTo(IRemoteContainer container)
          Copies the persistable contents from this one to another one
 Object[] getContents(ISystemContentsType contentsType, String filter)
          Returns the contents of the object.
 boolean hasContents(ISystemContentsType contentsType, String filter)
          Returns whether the object has contents of a particular type associated with the specified filter string.
 void replaceContent(Object oldObject, Object newObject)
           
 void setContents(ISystemContentsType contentsType, String filter, Object[] con)
          Sets the contents of this object that match a particular filter
 
Methods inherited from interface org.eclipse.rse.core.model.ISystemContainer
getContents, hasContents, isStale, markStale, markStale
 

Method Detail

hasContents

public boolean hasContents(ISystemContentsType contentsType,
                           String filter)
Returns whether the object has contents of a particular type associated with the specified filter string.

Parameters:
contentsType - type of contents
filter - criteria for contained contents
Returns:
true if the object has contents, false otherwise.

getContents

public Object[] getContents(ISystemContentsType contentsType,
                            String filter)
Returns the contents of the object.

Parameters:
contentsType - type of contents
filter - criteria for contained contents.
Returns:
an array of contents.

replaceContent

public void replaceContent(Object oldObject,
                           Object newObject)

setContents

public void setContents(ISystemContentsType contentsType,
                        String filter,
                        Object[] con)
Sets the contents of this object that match a particular filter

Parameters:
contentsType - type of contents
filter - matching criteria for the contained objects
con - the contained objects that match the filter

copyContentsTo

public void copyContentsTo(IRemoteContainer container)
Copies the persistable contents from this one to another one

Parameters:
container - the container to copy contents to

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.