RSE
Release 3.0

org.eclipse.rse.core.model
Interface ISystemContainer

All Known Subinterfaces:
IRemoteContainer, IRemoteFile, ISystemFilterReference, ISystemModifiableContainer, IVirtualRemoteFile
All Known Implementing Classes:
AbstractRemoteFile, RemoteFile, RemoteFileEmpty, RemoteFileRoot, SystemFilterReference

public interface ISystemContainer

ISystemContainer is an interface implemented by objects that can contain remote resources.


Method Summary
 Object[] getContents(ISystemContentsType contentsType)
          Returns all the contents of the object (combining results of all filters
 boolean hasContents(ISystemContentsType contentsType)
          Returns whether the object has contents of a particular type.
 boolean isStale()
          Indicates whether the cached object is stale
 void markStale(boolean isStale)
          Marks the object as stale or not
 void markStale(boolean isStale, boolean clearCache)
          Marks the object as stale or not
 

Method Detail

hasContents

boolean hasContents(ISystemContentsType contentsType)
Returns whether the object has contents of a particular type.

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

getContents

Object[] getContents(ISystemContentsType contentsType)
Returns all the contents of the object (combining results of all filters

Parameters:
contentsType - type of contents
Returns:
an array of contents.

isStale

boolean isStale()
Indicates whether the cached object is stale

Returns:
whether the container is stale

markStale

void markStale(boolean isStale)
Marks the object as stale or not

Parameters:
isStale - whether the object is to be marked stale or not

markStale

void markStale(boolean isStale,
               boolean clearCache)
Marks the object as stale or not

Parameters:
isStale - whether the object is to be marked stale or not
clearCache - indicates whether or not to clear the cache

RSE
Release 3.0

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