iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.core.resources
Class ISeriesEditableSrcPhysicalFileManager

java.lang.Object
  extended bycom.ibm.etools.iseries.core.resources.ISeriesEditableSrcPhysicalFileManager

public class ISeriesEditableSrcPhysicalFileManager
extends Object

Manages files that have been persisted locally for editing


Field Summary
static String Copyright
           
 
Method Summary
static ISeriesEditableSrcPhysicalFileManager getInstance()
          Get the singleton instance
 String getKey(String profileName, String connectionName, String remotePath)
          Get the key given the profile name, connection name, and the remote path
 ISeriesEditableSrcPhysicalFileMember getMember(IFile file)
          Given an IFile, returns the remote member from some persistent properties of the IFile.
 ISeriesRemoteEditRegistry getRegistry()
          Get the registry
 void setPersistentProperties(IFile file, ISeriesEditableSrcPhysicalFileMember member)
          Set persistent properties for an IFile given a ISeriesEditableSrcPhysicalFileMember object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

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

getInstance

public static ISeriesEditableSrcPhysicalFileManager getInstance()
Get the singleton instance

Returns:
the singleton instance of the manager

getRegistry

public ISeriesRemoteEditRegistry getRegistry()
Get the registry

Returns:
the registry

setPersistentProperties

public void setPersistentProperties(IFile file,
                                    ISeriesEditableSrcPhysicalFileMember member)
                             throws CoreException
Set persistent properties for an IFile given a ISeriesEditableSrcPhysicalFileMember object

Throws:
CoreException

getMember

public ISeriesEditableSrcPhysicalFileMember getMember(IFile file)
                                               throws CoreException,
                                                      com.ibm.etools.systems.core.messages.SystemMessageException
Given an IFile, returns the remote member from some persistent properties of the IFile.

Returns:
an instance of the remote object, or null if the properties of the IFile do not exist
Throws:
CoreException
com.ibm.etools.systems.core.messages.SystemMessageException

getKey

public String getKey(String profileName,
                     String connectionName,
                     String remotePath)
Get the key given the profile name, connection name, and the remote path


iSeries Remote Systems
v6.0.0

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.