Remote Systems
v6.4.1

com.ibm.etools.systems.subsystems
Interface IRemoteFileMutable

All Superinterfaces:
IRemoteContainer, IRemoteFile, IRemotePropertyHolder, ISystemContainer
All Known Implementing Classes:
RemoteFileImpl

public interface IRemoteFileMutable
extends IRemoteFile

Extends IRemoteFile to add the setter methods required by the subsystem that sets the attributes for this remote file.


Field Summary
static String copyright
           
 
Fields inherited from interface com.ibm.etools.systems.subsystems.IRemoteFile
CONNECTION_DELIMITER, ISROOT_NO, ISROOT_YES
 
Method Summary
 void setAbsolutePath(String fullyQualifiedName, String rootPart, boolean isRoot, boolean isDirectory)
          Internal method called by the subsystem factory methods.
 void setCanRead(boolean read)
          Internal method called by the subsystem.
 void setCanWrite(boolean can)
          Internal method called by the subsystem.
 void setExists(boolean exists)
          Internal method called by the subsystem.
 void setFile(Object obj)
          Internal method called by the subsystem.
 void setIsHidden(boolean hidden)
          Internal method called by the subsystem.
 void setIsLocal(boolean isLocal)
          Internal method called by the subsystem.
 void setLabel(String newLabel)
          Set the in-memory label.
 void setLastModified(long lastModified)
          Internal method called by the subsystem.
 void setLength(long length)
          Internal method called by the subsystem.
 void setLocalAbsolutePath(String localAbsolutePath)
          Internal method called by the subsystem.
 void setName(String newName)
          Set the in-memory name.
 
Methods inherited from interface com.ibm.etools.systems.subsystems.IRemoteFile
canRead, canWrite, compareTo, exists, getAbsolutePath, getAbsolutePathPlusConnection, getAllFilterStrings, getCanonicalPath, getClassification, getComment, getCompressedSize, getCompressionMethod, getCompressionRatio, getExpandedSize, getExtension, getFile, getFileWrapper, getFilterString, getLabel, getLastModified, getLastModifiedDate, getLength, getLineSeparator, getName, getParent, getParentName, getParentNoRoot, getParentRemoteFile, getParentRemoteFileSubSystem, getRoot, getSeparator, getSeparatorChar, getSystemConnection, isAncestorOf, isArchive, isBinary, isDescendantOf, isDirectory, isExecutable, isFile, isHidden, isLink, isRoot, isText, isVirtual, setFilterString, showBriefPropertySet, showReadOnlyProperty
 
Methods inherited from interface com.ibm.etools.systems.subsystems.IRemoteContainer
copyContentsTo, getContents, hasContents, replaceContent, setContents
 
Methods inherited from interface com.ibm.etools.systems.model.ISystemContainer
getContents, hasContents, isStale, markStale
 
Methods inherited from interface com.ibm.etools.systems.subsystems.IRemotePropertyHolder
getProperties, getProperty, isPropertyStale, markAllPropertiesStale, markPropertyStale, setProperties, setProperty
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Method Detail

setAbsolutePath

public void setAbsolutePath(String fullyQualifiedName,
                            String rootPart,
                            boolean isRoot,
                            boolean isDirectory)
Internal method called by the subsystem factory methods.

Important assumption: this is ALWAYS called immediately after instantiating.

Important assumption: subsystem's getSeparator() returns correct value at this point.

Parameters:
fullyQualifiedName - the full name including root, path and file/folder
rootPart - the root part. Should match first xx chars of fullyQualifiedName
isRoot - true if this is only a root folder
isDirectory - true if this is a directory or root versus a file

setExists

public void setExists(boolean exists)
Internal method called by the subsystem.


setLastModified

public void setLastModified(long lastModified)
Internal method called by the subsystem.


setLength

public void setLength(long length)
Internal method called by the subsystem.


setLabel

public void setLabel(String newLabel)
Set the in-memory label.


setName

public void setName(String newName)
Set the in-memory name. This is not a rename action, but rather the result of a successful rename action. Called by subsystem.


setCanWrite

public void setCanWrite(boolean can)
Internal method called by the subsystem.


setCanRead

public void setCanRead(boolean read)
Internal method called by the subsystem.


setIsHidden

public void setIsHidden(boolean hidden)
Internal method called by the subsystem.


setFile

public void setFile(Object obj)
Internal method called by the subsystem.


setIsLocal

public void setIsLocal(boolean isLocal)
Internal method called by the subsystem.


setLocalAbsolutePath

public void setLocalAbsolutePath(String localAbsolutePath)
Internal method called by the subsystem.


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.