Remote Systems
v6.4.1

com.ibm.etools.systems.subsystems
Interface IRemoteContainer

All Superinterfaces:
ISystemContainer
All Known Subinterfaces:
IRemoteFile, IRemoteFileMutable
All Known Implementing Classes:
LocalFileImpl, RemoteFileImpl, UniversalFileImpl

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 com.ibm.etools.systems.model.ISystemContainer
getContents, hasContents, isStale, 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

Remote Systems
v6.4.1

Copyright © 2005 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.