|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
| Method Summary | |
|---|---|
void |
clearLocalDefaultUserId()
Clear the local default user Id so next query will return the value from the preference store. |
boolean |
compareUserIds(String userId1,
String userId2)
Call this to compare two userIds taking case sensitivity |
void |
deletingHost()
Private method called when this connection is being deleted, so we can do any pre-death cleanup we need. |
String |
getAliasName()
|
IConnectorService[] |
getConnectorServices()
Returns all the connector services provided for this host |
String |
getDefaultUserId()
We return the default user Id. |
String |
getDescription()
|
boolean |
getForceUserIdToUpperCase()
Call this to query whether the default userId is to be uppercased. |
String |
getHostName()
|
ISystemHostPool |
getHostPool()
Set the parent connection pool this is owned by. |
String |
getLocalDefaultUserId()
Return the local default user Id without resolving up the food chain. |
ISubSystem[] |
getSubSystems()
Return the subsystem instances under this connection. |
ISystemProfile |
getSystemProfile()
Return the system profile that owns this connection |
String |
getSystemProfileName()
Return the name of the system profile that owns this connection |
String |
getSystemType()
|
boolean |
isOffline()
Returns the value of the 'Offline' attribute |
boolean |
isPromptable()
|
void |
renamingSystemProfile(String oldName,
String newName)
Private method called when this connection's profile is being rename, so we can do any pre-death cleanup we need. |
void |
setAliasName(String value)
|
void |
setDefaultUserId(String value)
Intercept of setDefaultUserId so we can force it to uppercase. |
void |
setDescription(String value)
|
void |
setHostName(String value)
|
void |
setHostPool(ISystemHostPool pool)
Set the parent connection pool this is owned by. |
void |
setOffline(boolean value)
Sets the value of the ' Offline' attribute |
void |
setPromptable(boolean value)
|
void |
setSystemType(String value)
|
| Methods inherited from interface org.eclipse.rse.core.model.IRSEModelObject |
|---|
getName |
| Methods inherited from interface org.eclipse.rse.core.model.IPropertySetContainer |
|---|
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet |
| Methods inherited from interface org.eclipse.rse.core.persistance.IRSEPersistableContainer |
|---|
commit, isDirty, setDirty, setWasRestored, wasRestored |
| Method Detail |
public ISystemProfile getSystemProfile()
public String getSystemProfileName()
public void setHostPool(ISystemHostPool pool)
public ISystemHostPool getHostPool()
public ISubSystem[] getSubSystems()
org.eclipse.rse.model.ISystemRegistry#getSubSystems(IHost)
public String getLocalDefaultUserId()
getDefaultUserId()public void clearLocalDefaultUserId()
Same as calling setDefaultUserId(null)
setDefaultUserId(String)public void deletingHost()
What we need to do is delete our entry in the preference store for our default userId.
public void renamingSystemProfile(String oldName,
String newName)
What we need to do is rename our entry in the preference store for our default userId.
public boolean getForceUserIdToUpperCase()
public boolean compareUserIds(String userId1,
String userId2)
public String getSystemType()
public void setSystemType(String value)
value - The new value of the SystemType attributepublic String getAliasName()
public void setAliasName(String value)
value - The new value of the AliasName attributepublic String getHostName()
public void setHostName(String value)
value - The new value of the HostName attributepublic String getDescription()
getDescription in interface IRSEModelObjectpublic void setDescription(String value)
value - The new value of the Description attributepublic String getDefaultUserId()
Further, it is possible that there is no default user id. If so, this method will go to the preference store and will try to get the default user Id per this connection's system type.
This is all transparent to the caller though.
public void setDefaultUserId(String value)
value - The new value of the DefaultUserId attributepublic boolean isPromptable()
public void setPromptable(boolean value)
value - The new value of the Promptable attributepublic boolean isOffline()
Is this connection offline? If so, there is no live connection. Subsystems decide how much to enable while offline.
setOffline(boolean),
org.eclipse.rse.model.ModelPackage#getSystemConnection_Offline()public void setOffline(boolean value)
Offline' attribute.
value - the new value of the 'Offline' attribute.isOffline()public IConnectorService[] getConnectorServices()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||