|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
static String |
copyright
|
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 |
deletingConnection()
Private method called when this connection is being deleted, so we can do any pre-death cleanup we need. |
String |
getAliasName()
|
RemoteCmdSubSystem |
getCmdSubSystem()
Return the pre-supplied subsystem for command shell access. |
SystemConnectionPool |
getConnectionPool()
Set the parent connection pool this is owned by. |
String |
getDefaultUserId()
We return the default user Id. |
String |
getDescription()
|
RemoteFileSubSystem |
getFileSubSystem()
Return the pre-supplied subsystem for file system access. |
boolean |
getForceUserIdToUpperCase()
Call this to query whether the default userId is to be uppercased. |
String |
getHostName()
|
String |
getLocalDefaultUserId()
Return the local default user Id without resolving up the food chain. |
SubSystem[] |
getSubSystems()
Return the subsystem instances under this connection. |
SystemProfile |
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 |
setConnectionPool(SystemConnectionPool pool)
Set the parent connection pool this is owned by. |
void |
setDefaultUserId(String value)
Intercept of setDefaultUserId so we can force it to uppercase. |
void |
setDescription(String value)
|
void |
setHostName(String value)
|
void |
setOffline(boolean value)
Sets the value of the ' Offline ' attribute |
void |
setPromptable(boolean value)
|
void |
setSystemType(String value)
|
Field Detail |
public static final String copyright
Method Detail |
public SystemProfile getSystemProfile()
public String getSystemProfileName()
public void setConnectionPool(SystemConnectionPool pool)
public SystemConnectionPool getConnectionPool()
public SubSystem[] getSubSystems()
SystemRegistry.getSubSystems(SystemConnection)
public RemoteFileSubSystem getFileSubSystem()
SystemRegistry.getFileSubSystem(SystemConnection)
public RemoteCmdSubSystem getCmdSubSystem()
SystemRegistry.getCmdSubSystem(SystemConnection)
public String getLocalDefaultUserId()
getDefaultUserId()
public void clearLocalDefaultUserId()
Same as calling setDefaultUserId(null)
setDefaultUserId(String)
public void deletingConnection()
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()
public 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)
,
ModelPackage.getSystemConnection_Offline()
public void setOffline(boolean value)
Offline
' attribute.
value
- the new value of the 'Offline' attribute.isOffline()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |