@Deprecated public class ProjectClient extends AbstractRPCClient
ProjectService
Modifier and Type | Field and Description |
---|---|
private SessionClient |
session
Deprecated.
|
Constructor and Description |
---|
ProjectClient(SessionClient session)
Deprecated.
Creates new ProjectClient object for an active session client.
|
Modifier and Type | Method and Description |
---|---|
ProjectInfo |
getById(int itemId)
Deprecated.
Get info about a project when you know the ID.
|
ProjectInfo[] |
getProjects(QueryOptions qOpt)
Deprecated.
Gets info about each projects that are available for the active session client.
|
void |
setActive(int projectId)
Deprecated.
Sets a project to be active.
|
getOperation, getService, getServiceFactory, invokeBlocking, invokeBlocking, invokeBlocking, invokeFileBlocking, setServiceFactory
private final SessionClient session
public ProjectClient(SessionClient session)
session
- The active session clientpublic ProjectInfo getById(int itemId) throws org.apache.axis2.AxisFault
itemId
- The ID of the projectorg.apache.axis2.AxisFault
- If communication with web service fails.public void setActive(int projectId) throws org.apache.axis2.AxisFault
projectId
- Id of the project that should be put active.org.apache.axis2.AxisFault
- If communication with web services fails.public ProjectInfo[] getProjects(QueryOptions qOpt) throws org.apache.axis2.AxisFault
qOpt
- Options to put on the query that gets the project from database.org.apache.axis2.AxisFault
- If communication with web service fails.