com.borland.scc.webservices.sccentities
Class MainEntitiesProxy

java.lang.Object
  extended by com.borland.scc.webservices.sccentities.MainEntitiesProxy
All Implemented Interfaces:
MainEntities, java.rmi.Remote

public class MainEntitiesProxy
extends java.lang.Object
implements MainEntities


Constructor Summary
MainEntitiesProxy()
           
MainEntitiesProxy(java.lang.String endpoint)
           
 
Method Summary
 void activateExecServer(long sessionId, int execServerId, int locationId)
           
 void activateProjects(long sessionId, int[] projectIds)
           
 boolean addBuild(long sessionId, java.lang.String product, java.lang.String version, java.lang.String build, java.lang.String descr, boolean isActive)
           
 boolean addLocationToProject(long sessionId, int projectId, int locationId)
           
 void addResourceTag(long sessionId, int locationId, int execServerId, java.lang.String resourceTag)
           
 int createExecServer(long sessionId, ExecServer execServer)
           
 int createLocation(long sessionId, LocationDetails locationDetails)
           
 int createProject(long sessionId, Project project)
           
 int createUser(long sessionId, UserDetails userDetails)
           
 int createUsergroup(long sessionId, UserGroup userGroup)
           
 void deactivateExecServer(long sessionId, int execServerId)
           
 void deactivateProjects(long sessionId, int[] projectIds)
           
 void deleteExecServer(long sessionId, int execServerId)
           
 void deleteLocations(long sessionId, int[] locationIds)
           
 void deleteProjects(long sessionId, int[] projectIds)
           
 void deleteUserGroup(long sessionId, int groupId)
           
 void deleteUsers(long sessionId, int[] userIdsToDelete)
           
 void encryptAndSetPassword(long sessionId, int userId, java.lang.String password)
           
 EssentialDescription[] getAllEssentials(long sessionId)
           
 UserGroupMembership[] getAllMemberships(long sessionId)
           
 Project[] getAllProjects(long sessionId, java.lang.String projectName)
           
 java.lang.String[] getAllResourceTags(long sessionId, int locationId, int execServerId)
           
 Role[] getAllRoles(long sessionId)
           
 UserGroup[] getAllUserGroups(long sessionId)
           
 java.lang.String[] getBuilds(long sessionId, java.lang.String product, java.lang.String version)
           
 java.lang.String[] getComponents(long sessionId, java.lang.String product)
           
 java.lang.String getEndpoint()
           
 EssentialGroup[] getEssentialGroups(long sessionId)
           
 EssentialDescription[] getEssentials(long sessionId, int parentId)
           
 EssentialSubGroup[] getEssentialSubGroups(long sessionId, int essentialGroupId)
           
 ExecServer getExecServerById(long sessionId, int execServerId)
           
 ExecServer[] getExecServersOfLocation(long sessionId, int locationId)
           
 FilePoolEntry[] getFilePoolEntries(long sessionId, int projectId)
           
 UserGroup getGroupById(long sessionId, int groupId)
           
 UserGroup getGroupByName(long sessionId, java.lang.String groupName)
           
 LocationDetails getLocationDetails(long sessionId, int locationId)
           
 Location[] getLocations(long sessionId)
           
 Location[] getLocationsForProject(long sessionId, int projectId)
           
 MainEntities getMainEntities()
           
 UserGroupMembership[] getMembershipsOfGroup(long sessionId, int groupId)
           
 UserGroupMembership[] getMembershipsOfUser(long sessionId, int userId)
           
 java.lang.String[] getPlatforms(long sessionId)
           
 java.lang.String[] getProducts(long sessionId)
           
 Project getProjectById(long sessionId, int projectId)
           
 java.lang.String[] getProjectNames(long sessionId)
           
 Project[] getProjects(long sessionId)
           
 Project[] getProjectsForUser(long sessionId, int userId, int appModuleId)
           
 Role getRoleById(long sessionId, int roleId)
           
 UserDetails getUserDetails(long sessionId, int userId)
           
 User[] getUsers(long sessionId, java.lang.String login)
           
 java.lang.String[] getVersions(long sessionId, java.lang.String product)
           
 boolean isMixedModeAuthentication(long sessionId, int userId)
           
 boolean removeLocationFromProject(long sessionId, int projectId, int locationId)
           
 void removeResourceTag(long sessionId, int locationId, int execServerId, java.lang.String resourceTag)
           
 void setEndpoint(java.lang.String endpoint)
           
 void setMixedModeAuthentication(long sessionId, int userId, boolean useMixedMode)
           
 void setPassword(long sessionId, int userId, java.lang.String password)
           
 void setProxyUsernameAndPasswordForLocation(long sessionId, int locationId, java.lang.String proxyUsername, java.lang.String proxyPassword)
           
 void updateExecServer(long sessionId, ExecServer execServer)
           
 void updateLocation(long sessionId, LocationDetails locationDetails)
           
 void updateMembershipsOfGroup(long sessionId, int groupId, UserGroupMembership[] memberships)
           
 void updateMembershipsOfUser(long sessionId, int userId, UserGroupMembership[] memberships)
           
 void updateProject(long sessionId, Project project)
           
 void updateUser(long sessionId, UserDetails userDetails)
           
 void updateUserGroup(long sessionId, UserGroup userGroup)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainEntitiesProxy

public MainEntitiesProxy()

MainEntitiesProxy

public MainEntitiesProxy(java.lang.String endpoint)
Method Detail

getEndpoint

public java.lang.String getEndpoint()

setEndpoint

public void setEndpoint(java.lang.String endpoint)

getMainEntities

public MainEntities getMainEntities()

getAllRoles

public Role[] getAllRoles(long sessionId)
                   throws java.rmi.RemoteException,
                          InvalidIdException,
                          InternalException
Specified by:
getAllRoles in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

setPassword

public void setPassword(long sessionId,
                        int userId,
                        java.lang.String password)
                 throws java.rmi.RemoteException,
                        MissingValueException,
                        InvalidIdException,
                        LoginException,
                        InternalException
Specified by:
setPassword in interface MainEntities
Throws:
java.rmi.RemoteException
MissingValueException
InvalidIdException
LoginException
InternalException

createLocation

public int createLocation(long sessionId,
                          LocationDetails locationDetails)
                   throws java.rmi.RemoteException,
                          MissingValueException,
                          InvalidIdException,
                          InternalException,
                          LoginException
Specified by:
createLocation in interface MainEntities
Throws:
java.rmi.RemoteException
MissingValueException
InvalidIdException
InternalException
LoginException

getLocations

public Location[] getLocations(long sessionId)
                        throws java.rmi.RemoteException,
                               InvalidIdException,
                               InternalException
Specified by:
getLocations in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getUsers

public User[] getUsers(long sessionId,
                       java.lang.String login)
                throws java.rmi.RemoteException,
                       InvalidIdException,
                       InternalException
Specified by:
getUsers in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getProducts

public java.lang.String[] getProducts(long sessionId)
                               throws java.rmi.RemoteException,
                                      InvalidIdException,
                                      InternalException
Specified by:
getProducts in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getComponents

public java.lang.String[] getComponents(long sessionId,
                                        java.lang.String product)
                                 throws java.rmi.RemoteException,
                                        InvalidIdException,
                                        InternalException
Specified by:
getComponents in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

encryptAndSetPassword

public void encryptAndSetPassword(long sessionId,
                                  int userId,
                                  java.lang.String password)
                           throws java.rmi.RemoteException,
                                  NotExistingValueException,
                                  MissingValueException,
                                  InvalidIdException,
                                  InternalException,
                                  LoginException
Specified by:
encryptAndSetPassword in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
MissingValueException
InvalidIdException
InternalException
LoginException

deleteExecServer

public void deleteExecServer(long sessionId,
                             int execServerId)
                      throws java.rmi.RemoteException,
                             InvalidIdException,
                             InternalException,
                             LoginException
Specified by:
deleteExecServer in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException
LoginException

updateExecServer

public void updateExecServer(long sessionId,
                             ExecServer execServer)
                      throws java.rmi.RemoteException,
                             NotExistingValueException,
                             InvalidIdException,
                             InternalException
Specified by:
updateExecServer in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
InternalException

deactivateExecServer

public void deactivateExecServer(long sessionId,
                                 int execServerId)
                          throws java.rmi.RemoteException,
                                 InvalidIdException,
                                 LoginException,
                                 InternalException
Specified by:
deactivateExecServer in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
LoginException
InternalException

updateUser

public void updateUser(long sessionId,
                       UserDetails userDetails)
                throws java.rmi.RemoteException,
                       NotExistingValueException,
                       MissingValueException,
                       ExistingKeyException,
                       InvalidIdException,
                       LoginException,
                       InternalException
Specified by:
updateUser in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
MissingValueException
ExistingKeyException
InvalidIdException
LoginException
InternalException

updateProject

public void updateProject(long sessionId,
                          Project project)
                   throws java.rmi.RemoteException,
                          NotExistingValueException,
                          InvalidStateException,
                          InvalidIdException,
                          LoginException,
                          InternalException
Specified by:
updateProject in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidStateException
InvalidIdException
LoginException
InternalException

getProjects

public Project[] getProjects(long sessionId)
                      throws java.rmi.RemoteException,
                             InvalidIdException,
                             InternalException
Specified by:
getProjects in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getProjectById

public Project getProjectById(long sessionId,
                              int projectId)
                       throws java.rmi.RemoteException,
                              NotExistingValueException,
                              InvalidIdException,
                              InternalException,
                              LoginException
Specified by:
getProjectById in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
InternalException
LoginException

updateLocation

public void updateLocation(long sessionId,
                           LocationDetails locationDetails)
                    throws java.rmi.RemoteException,
                           MissingValueException,
                           InvalidIdException,
                           InternalException,
                           LoginException
Specified by:
updateLocation in interface MainEntities
Throws:
java.rmi.RemoteException
MissingValueException
InvalidIdException
InternalException
LoginException

getBuilds

public java.lang.String[] getBuilds(long sessionId,
                                    java.lang.String product,
                                    java.lang.String version)
                             throws java.rmi.RemoteException,
                                    InvalidIdException,
                                    InternalException
Specified by:
getBuilds in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getProjectNames

public java.lang.String[] getProjectNames(long sessionId)
                                   throws java.rmi.RemoteException,
                                          InvalidIdException,
                                          InternalException
Specified by:
getProjectNames in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getVersions

public java.lang.String[] getVersions(long sessionId,
                                      java.lang.String product)
                               throws java.rmi.RemoteException,
                                      InvalidIdException,
                                      InternalException
Specified by:
getVersions in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

createExecServer

public int createExecServer(long sessionId,
                            ExecServer execServer)
                     throws java.rmi.RemoteException,
                            InvalidIdException,
                            InternalException,
                            LoginException
Specified by:
createExecServer in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException
LoginException

updateUserGroup

public void updateUserGroup(long sessionId,
                            UserGroup userGroup)
                     throws java.rmi.RemoteException,
                            InvalidIdException,
                            InternalException
Specified by:
updateUserGroup in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getPlatforms

public java.lang.String[] getPlatforms(long sessionId)
                                throws java.rmi.RemoteException,
                                       InvalidIdException,
                                       InternalException
Specified by:
getPlatforms in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getProjectsForUser

public Project[] getProjectsForUser(long sessionId,
                                    int userId,
                                    int appModuleId)
                             throws java.rmi.RemoteException,
                                    InvalidIdException,
                                    InternalException
Specified by:
getProjectsForUser in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getLocationsForProject

public Location[] getLocationsForProject(long sessionId,
                                         int projectId)
                                  throws java.rmi.RemoteException,
                                         InvalidIdException,
                                         InternalException
Specified by:
getLocationsForProject in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getLocationDetails

public LocationDetails getLocationDetails(long sessionId,
                                          int locationId)
                                   throws java.rmi.RemoteException,
                                          NotExistingValueException,
                                          InvalidIdException,
                                          InternalException,
                                          LoginException
Specified by:
getLocationDetails in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
InternalException
LoginException

deleteLocations

public void deleteLocations(long sessionId,
                            int[] locationIds)
                     throws java.rmi.RemoteException,
                            NotExistingValueException,
                            InvalidIdException,
                            InternalException,
                            LoginException
Specified by:
deleteLocations in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
InternalException
LoginException

setProxyUsernameAndPasswordForLocation

public void setProxyUsernameAndPasswordForLocation(long sessionId,
                                                   int locationId,
                                                   java.lang.String proxyUsername,
                                                   java.lang.String proxyPassword)
                                            throws java.rmi.RemoteException,
                                                   InvalidStateException,
                                                   InvalidIdException,
                                                   InternalException,
                                                   LoginException
Specified by:
setProxyUsernameAndPasswordForLocation in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidStateException
InvalidIdException
InternalException
LoginException

deleteUsers

public void deleteUsers(long sessionId,
                        int[] userIdsToDelete)
                 throws java.rmi.RemoteException,
                        NotExistingValueException,
                        InvalidIdException,
                        InternalException,
                        LoginException
Specified by:
deleteUsers in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
InternalException
LoginException

getUserDetails

public UserDetails getUserDetails(long sessionId,
                                  int userId)
                           throws java.rmi.RemoteException,
                                  NotExistingValueException,
                                  InvalidIdException,
                                  InternalException,
                                  LoginException
Specified by:
getUserDetails in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
InternalException
LoginException

createUser

public int createUser(long sessionId,
                      UserDetails userDetails)
               throws java.rmi.RemoteException,
                      ExistingKeyException,
                      MissingValueException,
                      InvalidIdException,
                      InternalException,
                      LoginException
Specified by:
createUser in interface MainEntities
Throws:
java.rmi.RemoteException
ExistingKeyException
MissingValueException
InvalidIdException
InternalException
LoginException

getAllProjects

public Project[] getAllProjects(long sessionId,
                                java.lang.String projectName)
                         throws java.rmi.RemoteException,
                                InvalidIdException,
                                InternalException
Specified by:
getAllProjects in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

createProject

public int createProject(long sessionId,
                         Project project)
                  throws java.rmi.RemoteException,
                         InvalidIdException,
                         LoginException,
                         InternalException
Specified by:
createProject in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
LoginException
InternalException

deleteProjects

public void deleteProjects(long sessionId,
                           int[] projectIds)
                    throws java.rmi.RemoteException,
                           NotExistingValueException,
                           InvalidIdException,
                           LoginException,
                           InternalException
Specified by:
deleteProjects in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
LoginException
InternalException

activateProjects

public void activateProjects(long sessionId,
                             int[] projectIds)
                      throws java.rmi.RemoteException,
                             InvalidIdException,
                             LoginException,
                             InternalException
Specified by:
activateProjects in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
LoginException
InternalException

deactivateProjects

public void deactivateProjects(long sessionId,
                               int[] projectIds)
                        throws java.rmi.RemoteException,
                               InvalidIdException,
                               LoginException,
                               InternalException
Specified by:
deactivateProjects in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
LoginException
InternalException

getExecServerById

public ExecServer getExecServerById(long sessionId,
                                    int execServerId)
                             throws java.rmi.RemoteException,
                                    NotExistingValueException,
                                    InvalidIdException,
                                    InternalException
Specified by:
getExecServerById in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
InternalException

getExecServersOfLocation

public ExecServer[] getExecServersOfLocation(long sessionId,
                                             int locationId)
                                      throws java.rmi.RemoteException,
                                             InvalidIdException,
                                             InternalException
Specified by:
getExecServersOfLocation in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

activateExecServer

public void activateExecServer(long sessionId,
                               int execServerId,
                               int locationId)
                        throws java.rmi.RemoteException,
                               NotExistingValueException,
                               InvalidIdException,
                               LoginException,
                               InternalException
Specified by:
activateExecServer in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
LoginException
InternalException

removeResourceTag

public void removeResourceTag(long sessionId,
                              int locationId,
                              int execServerId,
                              java.lang.String resourceTag)
                       throws java.rmi.RemoteException,
                              NotExistingValueException,
                              InvalidIdException,
                              LoginException,
                              InternalException
Specified by:
removeResourceTag in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
LoginException
InternalException

addResourceTag

public void addResourceTag(long sessionId,
                           int locationId,
                           int execServerId,
                           java.lang.String resourceTag)
                    throws java.rmi.RemoteException,
                           NotExistingValueException,
                           InvalidIdException,
                           LoginException,
                           InternalException
Specified by:
addResourceTag in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
LoginException
InternalException

getAllResourceTags

public java.lang.String[] getAllResourceTags(long sessionId,
                                             int locationId,
                                             int execServerId)
                                      throws java.rmi.RemoteException,
                                             NotExistingValueException,
                                             InvalidIdException,
                                             LoginException,
                                             InternalException
Specified by:
getAllResourceTags in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
LoginException
InternalException

addLocationToProject

public boolean addLocationToProject(long sessionId,
                                    int projectId,
                                    int locationId)
                             throws java.rmi.RemoteException,
                                    NotExistingValueException,
                                    InvalidStateException,
                                    InvalidIdException,
                                    InternalException,
                                    LoginException
Specified by:
addLocationToProject in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidStateException
InvalidIdException
InternalException
LoginException

removeLocationFromProject

public boolean removeLocationFromProject(long sessionId,
                                         int projectId,
                                         int locationId)
                                  throws java.rmi.RemoteException,
                                         NotExistingValueException,
                                         InvalidStateException,
                                         InvalidIdException,
                                         LoginException,
                                         InternalException
Specified by:
removeLocationFromProject in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidStateException
InvalidIdException
LoginException
InternalException

getAllEssentials

public EssentialDescription[] getAllEssentials(long sessionId)
                                        throws java.rmi.RemoteException,
                                               InvalidIdException,
                                               InternalException
Specified by:
getAllEssentials in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getEssentialGroups

public EssentialGroup[] getEssentialGroups(long sessionId)
                                    throws java.rmi.RemoteException,
                                           InvalidIdException,
                                           InternalException
Specified by:
getEssentialGroups in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getEssentialSubGroups

public EssentialSubGroup[] getEssentialSubGroups(long sessionId,
                                                 int essentialGroupId)
                                          throws java.rmi.RemoteException,
                                                 InvalidIdException,
                                                 InternalException
Specified by:
getEssentialSubGroups in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getEssentials

public EssentialDescription[] getEssentials(long sessionId,
                                            int parentId)
                                     throws java.rmi.RemoteException,
                                            InvalidIdException,
                                            InternalException
Specified by:
getEssentials in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getFilePoolEntries

public FilePoolEntry[] getFilePoolEntries(long sessionId,
                                          int projectId)
                                   throws java.rmi.RemoteException,
                                          InvalidIdException,
                                          InternalException
Specified by:
getFilePoolEntries in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

createUsergroup

public int createUsergroup(long sessionId,
                           UserGroup userGroup)
                    throws java.rmi.RemoteException,
                           InvalidIdException,
                           InternalException
Specified by:
createUsergroup in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getGroupByName

public UserGroup getGroupByName(long sessionId,
                                java.lang.String groupName)
                         throws java.rmi.RemoteException,
                                InvalidIdException,
                                InternalException
Specified by:
getGroupByName in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getGroupById

public UserGroup getGroupById(long sessionId,
                              int groupId)
                       throws java.rmi.RemoteException,
                              InvalidIdException,
                              InternalException
Specified by:
getGroupById in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getAllUserGroups

public UserGroup[] getAllUserGroups(long sessionId)
                             throws java.rmi.RemoteException,
                                    InvalidIdException,
                                    InternalException
Specified by:
getAllUserGroups in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

deleteUserGroup

public void deleteUserGroup(long sessionId,
                            int groupId)
                     throws java.rmi.RemoteException,
                            InvalidIdException,
                            InternalException
Specified by:
deleteUserGroup in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getMembershipsOfGroup

public UserGroupMembership[] getMembershipsOfGroup(long sessionId,
                                                   int groupId)
                                            throws java.rmi.RemoteException,
                                                   InvalidIdException,
                                                   InternalException
Specified by:
getMembershipsOfGroup in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getMembershipsOfUser

public UserGroupMembership[] getMembershipsOfUser(long sessionId,
                                                  int userId)
                                           throws java.rmi.RemoteException,
                                                  InvalidIdException,
                                                  InternalException
Specified by:
getMembershipsOfUser in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getAllMemberships

public UserGroupMembership[] getAllMemberships(long sessionId)
                                        throws java.rmi.RemoteException,
                                               InvalidIdException,
                                               InternalException
Specified by:
getAllMemberships in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

updateMembershipsOfGroup

public void updateMembershipsOfGroup(long sessionId,
                                     int groupId,
                                     UserGroupMembership[] memberships)
                              throws java.rmi.RemoteException,
                                     InvalidIdException,
                                     InternalException
Specified by:
updateMembershipsOfGroup in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

updateMembershipsOfUser

public void updateMembershipsOfUser(long sessionId,
                                    int userId,
                                    UserGroupMembership[] memberships)
                             throws java.rmi.RemoteException,
                                    InvalidIdException,
                                    InternalException
Specified by:
updateMembershipsOfUser in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

getRoleById

public Role getRoleById(long sessionId,
                        int roleId)
                 throws java.rmi.RemoteException,
                        InvalidIdException,
                        InternalException
Specified by:
getRoleById in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

addBuild

public boolean addBuild(long sessionId,
                        java.lang.String product,
                        java.lang.String version,
                        java.lang.String build,
                        java.lang.String descr,
                        boolean isActive)
                 throws java.rmi.RemoteException,
                        InvalidIdException,
                        InternalException
Specified by:
addBuild in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException

isMixedModeAuthentication

public boolean isMixedModeAuthentication(long sessionId,
                                         int userId)
                                  throws java.rmi.RemoteException,
                                         NotExistingValueException,
                                         InvalidIdException,
                                         InternalException
Specified by:
isMixedModeAuthentication in interface MainEntities
Throws:
java.rmi.RemoteException
NotExistingValueException
InvalidIdException
InternalException

setMixedModeAuthentication

public void setMixedModeAuthentication(long sessionId,
                                       int userId,
                                       boolean useMixedMode)
                                throws java.rmi.RemoteException,
                                       InvalidIdException,
                                       InternalException
Specified by:
setMixedModeAuthentication in interface MainEntities
Throws:
java.rmi.RemoteException
InvalidIdException
InternalException


Copyright © 2009. All Rights Reserved.