RSE
Release 1.0

org.eclipse.rse.persistence
Interface IRSEPersistenceManager


public interface IRSEPersistenceManager


Method Summary
 boolean commit(IHost host)
           
 boolean commit(ISubSystem subSystem)
          Save this subsystem
 boolean commit(ISystemFilter filter)
          Save this filter
 boolean commit(ISystemFilterPool filterPool)
          Save all the filters in the filter pool
 boolean commit(ISystemFilterPoolManager filterPoolManager)
           
 boolean commit(ISystemHostPool connectionPool)
          Save all connections in the connection pool
 boolean commit(ISystemProfile profile)
          Save this profile
 boolean commit(ISystemProfileManager profileManager)
          Save all profiles
 void deleteProfile(String profileName)
          Delete the persistent form of a profile.
 boolean isExporting()
           
 boolean isImporting()
           
 void registerRSEPersistenceProvider(String id, IRSEPersistenceProvider provider)
          Register the persistence provider to be used when saving and restoring RSE doms.
 boolean restore(ISystemFilterPool filterPool)
          Restore all the filters for the filter pool
 boolean restore(ISystemHostPool connectionPool)
          Restore all connections in the connection pool
 boolean restore(ISystemProfileManager profileManager)
          Restore all profiles
 ISystemFilterPool restoreFilterPool(String name)
          Restore the filter pool
 ISystemFilterPoolManager restoreFilterPoolManager(ISystemProfile profile, Logger logger, ISystemFilterPoolManagerProvider caller, String name)
           
 

Method Detail

registerRSEPersistenceProvider

public void registerRSEPersistenceProvider(String id,
                                           IRSEPersistenceProvider provider)
Register the persistence provider to be used when saving and restoring RSE doms. The provider is registered under the provided id.

Parameters:
id - the provider id.
provider - the provider.

restore

public boolean restore(ISystemProfileManager profileManager)
Restore all profiles

Parameters:
profileManager -
Returns:
true if successful

commit

public boolean commit(ISystemProfileManager profileManager)
Save all profiles

Parameters:
profileManager -
Returns:
true if successful

commit

public boolean commit(IHost host)

restore

public boolean restore(ISystemHostPool connectionPool)
Restore all connections in the connection pool

Parameters:
connectionPool -
Returns:
true if successful

commit

public boolean commit(ISystemHostPool connectionPool)
Save all connections in the connection pool

Parameters:
connectionPool -
Returns:
true if successful

commit

public boolean commit(ISystemFilterPoolManager filterPoolManager)

commit

public boolean commit(ISystemFilterPool filterPool)
Save all the filters in the filter pool

Parameters:
filterPool -
Returns:
true if successful

commit

public boolean commit(ISystemFilter filter)
Save this filter

Parameters:
filter -
Returns:
true if successful

restore

public boolean restore(ISystemFilterPool filterPool)
Restore all the filters for the filter pool

Parameters:
filterPool -
Returns:
true if sucessful

restoreFilterPool

public ISystemFilterPool restoreFilterPool(String name)
Restore the filter pool

Parameters:
name -
Returns:
the filter pool if successful

commit

public boolean commit(ISubSystem subSystem)
Save this subsystem

Parameters:
subSystem -
Returns:
true if successful

commit

public boolean commit(ISystemProfile profile)
Save this profile

Parameters:
profile -
Returns:
true if successful

restoreFilterPoolManager

public ISystemFilterPoolManager restoreFilterPoolManager(ISystemProfile profile,
                                                         Logger logger,
                                                         ISystemFilterPoolManagerProvider caller,
                                                         String name)

isExporting

public boolean isExporting()

isImporting

public boolean isImporting()

deleteProfile

public void deleteProfile(String profileName)
Delete the persistent form of a profile.

Parameters:
profileName - The name of the profile to delete

RSE
Release 1.0

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