public interface IConfiguredServerConnection
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<? extends ILockOnServer> |
getAllLocksOnServer()
Returns all locks set on the server.
|
java.util.Map<java.lang.String,IConfiguredProject> |
getConfiguredProjects()
Returns all currently configured projects of this server.
|
java.util.Map<java.lang.String,IServerGroup> |
getGroups()
Returns all groups available on this server.
|
java.util.Map<java.lang.String,IProjectOnServer> |
getProjectsOnServer()
Returns all projects stored on this server that are visible for the
current user.
|
java.lang.String |
getServerDumpAsFileName(java.lang.String fileNamePrefix,
java.util.Collection<? extends java.lang.String> projectUIDsToExclude)
Retrieves a server dump file from the server and returns the local file
name.
|
java.lang.String |
getServerID() |
java.lang.String |
getServerName() |
java.lang.String |
getServerURL() |
java.lang.String |
getUserDistinguishedName() |
java.lang.String |
getUserLoginID() |
java.lang.String |
getUserRealName() |
java.util.Map<java.lang.String,IServerUser> |
getUsers()
Returns all users available on this server.
|
boolean |
isConnected()
Returns if the server is currently connected.
|
boolean |
isSingleUserEnvironment()
Returns true in a single user edition.
|
boolean isSingleUserEnvironment()
boolean isConnected()
java.lang.String getServerID()
java.lang.String getServerName()
java.lang.String getServerURL()
java.lang.String getUserDistinguishedName()
java.lang.String getUserLoginID()
java.lang.String getUserRealName()
java.util.Map<java.lang.String,IConfiguredProject> getConfiguredProjects()
java.util.Map<java.lang.String,IProjectOnServer> getProjectsOnServer() throws de.plans.psc.client.communication.ServerNotAvailableException, de.plans.psc.shared.serverexceptions.EXServerException, de.plans.psc.client.communication.LoginCanceledException, de.plans.psc.client.communication.UnknownServerException
de.plans.psc.client.communication.UnknownServerExceptionde.plans.psc.client.communication.LoginCanceledExceptionde.plans.psc.shared.serverexceptions.EXServerExceptionde.plans.psc.client.communication.ServerNotAvailableExceptionjava.util.Map<java.lang.String,IServerUser> getUsers() throws de.plans.psc.client.communication.ServerNotAvailableException, de.plans.psc.shared.serverexceptions.EXServerException, de.plans.psc.client.communication.LoginCanceledException, de.plans.psc.client.communication.UnknownServerException
Key: user name,
Value: user
de.plans.psc.client.communication.UnknownServerExceptionde.plans.psc.client.communication.LoginCanceledExceptionde.plans.psc.shared.serverexceptions.EXServerExceptionde.plans.psc.client.communication.ServerNotAvailableExceptionjava.util.Map<java.lang.String,IServerGroup> getGroups() throws de.plans.psc.client.communication.ServerNotAvailableException, de.plans.psc.shared.serverexceptions.EXServerException, de.plans.psc.client.communication.LoginCanceledException, de.plans.psc.client.communication.UnknownServerException
Key: group name,
Value: group
de.plans.psc.client.communication.UnknownServerExceptionde.plans.psc.client.communication.LoginCanceledExceptionde.plans.psc.shared.serverexceptions.EXServerExceptionde.plans.psc.client.communication.ServerNotAvailableExceptionjava.lang.String getServerDumpAsFileName(java.lang.String fileNamePrefix,
java.util.Collection<? extends java.lang.String> projectUIDsToExclude)
fileNamePrefix - prefix that is added to the file nameprojectUIDsToExclude - UIDs of project to exclude from the dump
(null or empty for all projects)java.util.Collection<? extends ILockOnServer> getAllLocksOnServer() throws de.plans.psc.client.communication.ServerNotAvailableException, de.plans.psc.shared.serverexceptions.EXServerException, de.plans.psc.client.communication.LoginCanceledException, de.plans.psc.client.communication.UnknownServerException
de.plans.psc.client.communication.UnknownServerExceptionde.plans.psc.client.communication.LoginCanceledExceptionde.plans.psc.shared.serverexceptions.EXServerExceptionde.plans.psc.client.communication.ServerNotAvailableException