|
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 | |
---|---|
boolean |
addConnection(SystemConnection conn)
Add a new connection to the list. |
SystemConnection |
cloneConnection(SystemConnectionPool targetPool,
SystemConnection conn,
String aliasName)
Duplicates a given connection in this list within this list or another list. |
SystemConnection |
createConnection(String systemType,
String aliasName,
String hostName)
Create a connection. |
SystemConnection |
createConnection(String systemType,
String aliasName,
String hostName,
String description)
Create a connection. |
SystemConnection |
createConnection(String systemType,
String aliasName,
String hostName,
String description,
String defaultUserId,
int defaultUserIdLocation)
Create a connection. |
void |
deleteConnection(SystemConnection conn)
Removes a given connection from the list and deletes it from disk. |
SystemConnection |
getConnection(int pos)
Return the connection at the given zero-based offset |
SystemConnection |
getConnection(String aliasName)
Return a connection given its name. |
int |
getConnectionCount()
Return the number of SystemConnection objects within this pool. |
int |
getConnectionPosition(SystemConnection conn)
Return the zero-based position of a SystemConnection object within its profile. |
EList |
getConnections()
|
String |
getName()
|
SystemConnection[] |
getSystemConnections()
Return array of connections in this pool |
SystemProfile |
getSystemProfile()
Return the system profile that owns this connection pool |
void |
moveConnections(SystemConnection[] conns,
int delta)
Move existing connections a given number of positions in the same pool. |
void |
orderConnections(String[] names)
Order connections according to user preferences. |
void |
renameConnection(SystemConnection conn,
String newName)
Renames a given connection in the list. |
void |
renameConnectionPool(String newName)
Rename this connection pool. |
void |
save()
|
void |
save(SystemConnection connection)
|
void |
setName(String value)
|
void |
updateConnection(SystemConnection conn,
String systemType,
String aliasName,
String hostName,
String description,
String defaultUserId,
int defaultUserIdLocation)
Update an existing connection given the new information. |
Field Detail |
public static final String copyright
Method Detail |
public SystemProfile getSystemProfile()
public void renameConnectionPool(String newName)
public SystemConnection[] getSystemConnections()
public SystemConnection createConnection(String systemType, String aliasName, String hostName) throws Exception
Exception
public SystemConnection createConnection(String systemType, String aliasName, String hostName, String description) throws Exception
Exception
public SystemConnection createConnection(String systemType, String aliasName, String hostName, String description, String defaultUserId, int defaultUserIdLocation) throws Exception
Exception
public void updateConnection(SystemConnection conn, String systemType, String aliasName, String hostName, String description, String defaultUserId, int defaultUserIdLocation) throws Exception
conn
- SystemConnection to be updatedsystemType
- system type matching one of the system type names defined via the
systemtype extension point.aliasName
- unique connection name.hostName
- ip name of host.description
- optional description of the connection. Can be null.defaultUserId
- userId to use as the default for the subsystems.defaultUserIdLocation
- where to set the given default user Id. See ISystemUserIdConstants
Exception
public SystemConnection getConnection(String aliasName)
public SystemConnection getConnection(int pos)
public boolean addConnection(SystemConnection conn)
public void deleteConnection(SystemConnection conn)
This will:
conn
- SystemConnection object to removepublic void renameConnection(SystemConnection conn, String newName) throws Exception
conn
- SystemConnection object to renamenewName
- The new name to give that connection.
Exception
public int getConnectionPosition(SystemConnection conn)
public int getConnectionCount()
public SystemConnection cloneConnection(SystemConnectionPool targetPool, SystemConnection conn, String aliasName) throws Exception
targetPool
- The SystemConnectionPool to hold the copied connection. Can equal this connection, as long as alias name is uniqueconn
- SystemConnection object (within our pool) to clone
Exception
public void moveConnections(SystemConnection[] conns, int delta)
conns
- Array of SystemConnections to move.public void orderConnections(String[] names)
public void save() throws Exception
Exception
public void save(SystemConnection connection) throws Exception
Exception
public String getName()
public void setName(String value)
value
- The new value of the Name attributepublic EList getConnections()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |