RSE
Release 3.4

org.eclipse.rse.core.subsystems
Interface IRemoteContainer

All Superinterfaces:
ISystemContainer
All Known Subinterfaces:
IRemoteFile, IVirtualRemoteFile
All Known Implementing Classes:
AbstractRemoteFile, RemoteFile, RemoteFileEmpty, RemoteFileRoot

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

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

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

void replaceContent(Object oldObject,
                    Object newObject)

setContents

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

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

Parameters:
container - the container to copy contents to

RSE
Release 3.4

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