|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISourceForgeSoap
The web service providing the core SourceForge functionality, such as authentication, project and membership information, etc.
| Method Summary | |
|---|---|
void |
addProjectMember(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String userName)
Make a user a member of a project. |
void |
createAssociation(java.lang.String sessionId,
java.lang.String originId,
java.lang.String targetId,
java.lang.String description)
Creates an association between two objects |
ProjectSoapDO |
createProject(java.lang.String sessionId,
java.lang.String name,
java.lang.String title,
java.lang.String description)
Create a project. |
ProjectSoapDO |
createProjectFromTemplate(java.lang.String sessionId,
java.lang.String templateId,
java.lang.String name,
java.lang.String title,
java.lang.String description)
Create a project from template. |
UserSoapDO |
createUser(java.lang.String sessionId,
java.lang.String userName,
java.lang.String email,
java.lang.String fullName,
java.lang.String locale,
java.lang.String timeZone,
boolean isSuperUser,
boolean isRestrictedUser,
java.lang.String password)
Creates a new user with the specified parameters. |
void |
deleteAssociation(java.lang.String sessionId,
java.lang.String originId,
java.lang.String targetId)
Deletes an association between two objects |
void |
deleteProject(java.lang.String sessionId,
java.lang.String projectId)
Delete a project. |
ProjectSoapList |
findProjects(java.lang.String sessionId,
java.lang.String queryString)
Finds a list of projects matching a search string. |
UserSoapList |
findUsers(java.lang.String sessionId,
java.lang.String queryString)
Finds a list of users matching a search string. |
java.lang.String |
getApiVersion()
Get SourceForge API version. |
AssociationSoapList |
getAssociationList(java.lang.String sessionId,
java.lang.String objectId)
List all of the associations for a given object. |
AuditHistorySoapList |
getAuditHistoryList(java.lang.String sessionId,
java.lang.String objectId)
Returns the list of changes made to the specified object in reverse chronological order. |
CommentSoapList |
getCommentList(java.lang.String sessionId,
java.lang.String objectId)
Gets list of comments for object. |
int |
getProjectAccessLevel(java.lang.String sessionId,
java.lang.String projectId)
Get the project's access level. |
ProjectSoapDO |
getProjectData(java.lang.String sessionId,
java.lang.String projectId)
Returns project data. |
long |
getProjectDiskUsage(java.lang.String sessionId,
java.lang.String projectId)
Get the filestorage disk utilization of a project specified by a project id |
ProjectSoapList |
getProjectList(java.lang.String sessionId)
Returns a list of all projects visible to the user. |
ProjectMemberSoapList |
getProjectMemberList(java.lang.String sessionId,
java.lang.String projectId)
Returns project membership list. |
long |
getProjectQuota(java.lang.String sessionId,
java.lang.String projectId)
Get the disk quota for a project. |
UserSoapDO |
getUserData(java.lang.String sessionId,
java.lang.String username)
Returns the user information. |
UserSoapList |
getUserList(java.lang.String sessionId,
SoapFilter filter)
Get a list of all users on the system. |
ProjectSoapList |
getUserProjectList(java.lang.String sessionId)
Returns a list of projects this user is a member of. |
java.lang.String |
getVersion(java.lang.String sessionId)
Get SourceForge version. |
VersionInformationSoapList |
getVersionInformationList(java.lang.String sessionId,
java.lang.String folderId)
Obtains a list of versions and last modified dates for the objects residing in the specified folder. |
boolean |
hasPermission(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String operationString,
java.lang.String objectId)
Check whether the current user has permission for an operation on a specified object |
boolean |
isHostedMode(java.lang.String sessionId)
Verify if the SourceForge appserver is running in Hosted Mode. |
void |
keepAlive(java.lang.String sessionId)
Keeps a session alive. this is a no-op that just validates the session and updates its last used time. |
ProjectSoapList |
listTemplates(java.lang.String sessionId)
List project templates within the installation. |
java.lang.String |
login(java.lang.String userName,
java.lang.String password)
Logs in a user and creates a new session. |
java.lang.String |
loginAnonymous(java.lang.String anonSharedSecret)
This method allows to login as anonymous to get CollabNet SourceForge Enterprise default acceess. |
java.lang.String |
loginWithToken(java.lang.String username,
java.lang.String oneTimeToken)
Logs in a user and creates a new session. |
void |
logoff(java.lang.String userName,
java.lang.String sessionId)
Ends a user's session. |
void |
reindexObject(java.lang.String sessionId,
java.lang.String objectId)
Re-indexes the contents of the specified project, folder, item or user. |
void |
removeProjectMember(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String userName)
Remove a user from a project. |
void |
setProjectAccessLevel(java.lang.String sessionId,
java.lang.String projectId,
int accessLevel)
Set the project access level to public (all users can view the project). |
void |
setProjectQuota(java.lang.String sessionId,
java.lang.String projectId,
long quota)
Get the disk quota for a project. |
void |
setUserData(java.lang.String sessionId,
UserSoapDO userData)
Sets the user information. |
| Method Detail |
|---|
java.lang.String getVersion(java.lang.String sessionId)
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getApiVersion()
throws java.rmi.RemoteException
java.rmi.RemoteException
void keepAlive(java.lang.String sessionId)
throws java.rmi.RemoteException
sessionId - the session id.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
java.rmi.RemoteException
java.lang.String loginAnonymous(java.lang.String anonSharedSecret)
throws java.rmi.RemoteException
anonSharedSecret - Shared secret for anonymous login. Its value must match the value set for sfmain.integration.security.shared_secret property set in sourceforge.properties file.
com.vasoftware.sf.soap44.fault.LoginFault - when the login information is incorrect.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
java.lang.String login(java.lang.String userName,
java.lang.String password)
throws java.rmi.RemoteException
userName - Name of the user.password - User password.
com.vasoftware.sf.soap44.fault.LoginFault - when the login information is incorrect.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
java.lang.String loginWithToken(java.lang.String username,
java.lang.String oneTimeToken)
throws java.rmi.RemoteException
username - Name of the user.oneTimeToken - a one time token for login.
com.vasoftware.sf.soap44.fault.LoginFault - when the login information is incorrect.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
void logoff(java.lang.String userName,
java.lang.String sessionId)
throws java.rmi.RemoteException
userName - User's name.sessionId - Session id.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
boolean hasPermission(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String operationString,
java.lang.String objectId)
throws java.rmi.RemoteException
sessionId - The current user session idprojectId - The project in which the operation is definedoperationString - The string representation of the operation. This should be in the format objectId - The object for which we are doing the permission check. Null if we're checking permission on the app folder of a project
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - The specified projectId or folderId was invalid
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - If the operationString is in an invalid format
java.rmi.RemoteExceptionOperationConstants
ProjectSoapList getProjectList(java.lang.String sessionId)
throws java.rmi.RemoteException
sessionId - User session key.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
java.rmi.RemoteException
ProjectSoapList getUserProjectList(java.lang.String sessionId)
throws java.rmi.RemoteException
sessionId - User session key.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
java.rmi.RemoteException
ProjectSoapDO createProject(java.lang.String sessionId,
java.lang.String name,
java.lang.String title,
java.lang.String description)
throws java.rmi.RemoteException
sessionId - User session key.name - The name of the project (can be null, will fall back to title or id)title - The title of the projectdescription - The description of the project
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.ObjectAlreadyExistsFault - when the project with that name already exists.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.lang.IllegalArgumentException - Invalid data was passed in
java.rmi.RemoteException
ProjectSoapDO createProjectFromTemplate(java.lang.String sessionId,
java.lang.String templateId,
java.lang.String name,
java.lang.String title,
java.lang.String description)
throws java.rmi.RemoteException
sessionId - User session key.templateId - The template project idname - The name of the project (can be null, will fall back to title or id)title - The title of the projectdescription - The description of the project
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.ObjectAlreadyExistsFault - when the project with that name already exists.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
ProjectSoapList listTemplates(java.lang.String sessionId)
throws java.rmi.RemoteException
sessionId - User session key.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.ObjectAlreadyExistsFault - when the project with that name already exists.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
ProjectSoapList findProjects(java.lang.String sessionId,
java.lang.String queryString)
throws java.rmi.RemoteException
sessionId - User session id.queryString - Query string.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.SearchQuerySyntaxFault - when the specified search query string is syntactically invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - when the query string is invalid.
java.rmi.RemoteException
ProjectSoapDO getProjectData(java.lang.String sessionId,
java.lang.String projectId)
throws java.rmi.RemoteException
sessionId - User session key.projectId - Project id.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified object id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
ProjectMemberSoapList getProjectMemberList(java.lang.String sessionId,
java.lang.String projectId)
throws java.rmi.RemoteException
sessionId - User session id.projectId - Id of the project.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified object id is invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
void addProjectMember(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String userName)
throws java.rmi.RemoteException
sessionId - User session id.projectId - Id of the project.userName - Name of the new user.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified object id is invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user doesn't have permission for this call.
java.rmi.RemoteException
void removeProjectMember(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String userName)
throws java.rmi.RemoteException
sessionId - User session id.projectId - Id of the project.userName - Name of the new user.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified object id is invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
com.vasoftware.sf.soap44.fault.RemoveOnlyProjectAdminFault - attempting to remove last project admin
java.rmi.RemoteException
UserSoapDO createUser(java.lang.String sessionId,
java.lang.String userName,
java.lang.String email,
java.lang.String fullName,
java.lang.String locale,
java.lang.String timeZone,
boolean isSuperUser,
boolean isRestrictedUser,
java.lang.String password)
throws java.rmi.RemoteException
sessionId - User's session id.userName - Name of the new user.email - Email of the new user.fullName - Full name of the new user.locale - Locale of the new user (currently supported locales are "en" for English, "ja" for Japanese).timeZone - User's time zone. The ID for a TimeZone, either an abbreviation such as "PST", a full name such as "America/Los_Angeles", or a custom ID such as "GMT-8:00".isSuperUser - Should user be given super-user privileges?isRestrictedUser - Should user be given restricted privileges?password - Password of the new user.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.ObjectAlreadyExistsFault - when the specified user already exists.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - when one or more user parameters are invalid.
com.vasoftware.sf.soap44.fault.UserLimitExceededFault - The user limit was exceeded
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
UserSoapDO getUserData(java.lang.String sessionId,
java.lang.String username)
throws java.rmi.RemoteException
sessionId - User session id.username - User name (login name)
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified object id is invalid.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - If the username is invalid
java.rmi.RemoteException
void setUserData(java.lang.String sessionId,
UserSoapDO userData)
throws java.rmi.RemoteException
sessionId - User session id.userData - User data
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified object id is invalid.
com.vasoftware.sf.soap44.fault.VersionMismatchFault - The user version being edited is not the latest one
com.vasoftware.sf.soap44.fault.ActivationUserAlreadyRemovedFault - This user is a removed user and cannot be activated
com.vasoftware.sf.soap44.fault.LastSuperUserFault - The user being edited is th last super user and cannot be un-superusered
com.vasoftware.sf.soap44.fault.IllegalUserModificationFault - If someone tried to edit a restricted property on a special user (like the status on the admin user).
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - if the user does not have permission to do this (only site admins can perform this operation)
com.vasoftware.sf.soap44.fault.VersionMismatchFault - when object data is stale
java.rmi.RemoteException
UserSoapList findUsers(java.lang.String sessionId,
java.lang.String queryString)
throws java.rmi.RemoteException
sessionId - User session id.queryString - Query string.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.SearchQuerySyntaxFault - when the specified search query string is syntactically invalid.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - when the query string is invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
java.rmi.RemoteException
UserSoapList getUserList(java.lang.String sessionId,
SoapFilter filter)
throws java.rmi.RemoteException
sessionId - User session id.filter - Search filter.
com.vasoftware.sf.soap44.fault.SearchQuerySyntaxFault - when the specified search query string is syntactically invalid.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
java.rmi.RemoteException
int getProjectAccessLevel(java.lang.String sessionId,
java.lang.String projectId)
throws java.rmi.RemoteException
sessionId - User session IdprojectId - The project Id
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is invalid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user doesn't have permission to perform the operation
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - When the project id is not a valid project id
java.rmi.RemoteExceptionProjectSoapDO.PUBLIC,
ProjectSoapDO.GATED_COMMUNITY,
ProjectSoapDO.PRIVATE
void setProjectAccessLevel(java.lang.String sessionId,
java.lang.String projectId,
int accessLevel)
throws java.rmi.RemoteException
sessionId - User session IdprojectId - The project IdaccessLevel - The access level to set the project to
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is invalid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user doesn't have permission to perform the operation
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - When the project id is not a valid project id
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - When the accessLevel is invalid
java.rmi.RemoteException
CommentSoapList getCommentList(java.lang.String sessionId,
java.lang.String objectId)
throws java.rmi.RemoteException
sessionId - User session id.objectId - Object id.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - When the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - When the object id is not valid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user doesn't have permission to perform the operation
com.vasoftware.sf.soap44.fault.SystemFault - When an unexpected system level error occurs.
java.rmi.RemoteException
void createAssociation(java.lang.String sessionId,
java.lang.String originId,
java.lang.String targetId,
java.lang.String description)
throws java.rmi.RemoteException
sessionId - User session id.originId - the origin object's idtargetId - the target object'd iddescription - the description for the association
com.vasoftware.sf.soap44.fault.InvalidSessionFault - if the user's session is not valid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - if the user does not have permission to create the association
com.vasoftware.sf.soap44.fault.SystemFault - if an unexpected system error occurs
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - if the origin or target objects do not exist
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - if a valid association cannot be created between the given objects
java.rmi.RemoteException
void deleteAssociation(java.lang.String sessionId,
java.lang.String originId,
java.lang.String targetId)
throws java.rmi.RemoteException
sessionId - User session id.originId - the origin object's idtargetId - the target object'd id
com.vasoftware.sf.soap44.fault.InvalidSessionFault - if the user's session is not valid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - if the user does not have permission to delete the association
com.vasoftware.sf.soap44.fault.SystemFault - if an unexpected system error occurs
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - if the origin or target objects do not exist
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - if an association does not exist between the given objects
java.rmi.RemoteException
void deleteProject(java.lang.String sessionId,
java.lang.String projectId)
throws java.rmi.RemoteException
sessionId - User session key.projectId - The id of the project to be deleted
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the specified session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - if we can't find the project with the specified projectid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user has insufficient privileges.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system error occurs.
java.rmi.RemoteException
AssociationSoapList getAssociationList(java.lang.String sessionId,
java.lang.String objectId)
throws java.rmi.RemoteException
sessionId - The current session id.objectId - The id of the object that has associations.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is not valid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - If the object does not exist or is deleted.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If you are not allowed to view the object or its associations.
com.vasoftware.sf.soap44.fault.SystemFault - If an unexpected error occurs.
java.rmi.RemoteException
AuditHistorySoapList getAuditHistoryList(java.lang.String sessionId,
java.lang.String objectId)
throws java.rmi.RemoteException
sessionId - The current session id.objectId - ID of the object.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is not valid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - If the object does not exist or is deleted.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If you are not allowed to view the object or its associations.
com.vasoftware.sf.soap44.fault.SystemFault - If an unexpected error occurs.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - If the objectId is not a task or an artifact.
java.rmi.RemoteException
VersionInformationSoapList getVersionInformationList(java.lang.String sessionId,
java.lang.String folderId)
throws java.rmi.RemoteException
sessionId - Soap session idfolderId - Folder to obtain the list for
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when session id is invalid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the folder does not exist.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when permissions are denied for the operation.
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected error occurs.
java.rmi.RemoteException
void reindexObject(java.lang.String sessionId,
java.lang.String objectId)
throws java.rmi.RemoteException
sessionId - User session ID (must be a system administrator to perform this operation)objectId - Project to re-index.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the user session ID is invalid or timed out.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - when the user does not have sufficient privileges (must be a system admin).
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified object ID is invalid.
java.rmi.RemoteException
boolean isHostedMode(java.lang.String sessionId)
throws java.rmi.RemoteException
com.vasoftware.sf.soap44.fault.InvalidSessionFault - when the user session ID is invalid or timed out.
java.rmi.RemoteException
long getProjectDiskUsage(java.lang.String sessionId,
java.lang.String projectId)
throws java.rmi.RemoteException
sessionId - the soap session keyprojectId - the id of the project
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - thrown if the project was not found.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - thrown if the session id is not valid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - thrown if sessionId is not a session started by an admin.
com.vasoftware.sf.soap44.fault.SystemFault - If there was a problem checking the permissions.
java.rmi.RemoteException
long getProjectQuota(java.lang.String sessionId,
java.lang.String projectId)
throws java.rmi.RemoteException
sessionId - The id of the current session.projectId - The id of the project.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session id is not valid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - If the project id does not exist.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user is not allowed to view this information.
com.vasoftware.sf.soap44.fault.SystemFault - If there was a problem checking the permissions.
java.rmi.RemoteException
void setProjectQuota(java.lang.String sessionId,
java.lang.String projectId,
long quota)
throws java.rmi.RemoteException
sessionId - The id of the current session.projectId - The id of the project.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session id is not valid.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - If the project id does not exist.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user is not allowed to view this information.
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||