com.yahoo.marketing.apt
Interface UserService

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
UserServiceHttpBindingStub

public interface UserService
extends java.rmi.Remote


Method Summary
 UserResponse[] addUsersToAccount(User[] users)
           
 UserResponse addUserToAccount(User user)
           
 BasicResponse deleteRolesForUser(long userID)
           
 BasicResponse disableUser(long userID)
           
 BasicResponse[] disableUsers(long[] userIDs)
           
 BasicResponse enableUser(long userID)
           
 BasicResponse[] enableUsers(long[] userIDs)
           
 Capability[] getCapabilitiesForRole(Role role)
           
 Role[] getMyRoles()
           
 User getMyUser()
           
 Role[] getRolesForAgencyUser(long userID, long agencyContractID)
           
 Role[] getRolesForUser(long userID)
           
 User getUser(long userID)
           
 long getUserCountByAccountID()
           
 User[] getUsers(long[] userIDs)
           
 User[] getUsersByAccountID(int startElement, int numElements)
           
 BasicResponse resetUserPassword(long userID)
           
 BasicResponse setRolesForAgencyUser(long userID, Role[] roles, long agencyContractID)
           
 BasicResponse setRolesForUser(long userID, Role[] roles)
           
 boolean testUsername(java.lang.String userName)
           
 BasicResponse updateMyEmail(java.lang.String email)
           
 UserResponse updateUser(User user)
           
 UserResponse[] updateUsers(User[] users)
           
 

Method Detail

addUserToAccount

UserResponse addUserToAccount(User user)
                              throws java.rmi.RemoteException,
                                     ApiFault
Throws:
java.rmi.RemoteException
ApiFault

addUsersToAccount

UserResponse[] addUsersToAccount(User[] users)
                                 throws java.rmi.RemoteException,
                                        ApiFault
Throws:
java.rmi.RemoteException
ApiFault

deleteRolesForUser

BasicResponse deleteRolesForUser(long userID)
                                 throws java.rmi.RemoteException,
                                        ApiFault
Throws:
java.rmi.RemoteException
ApiFault

disableUser

BasicResponse disableUser(long userID)
                          throws java.rmi.RemoteException,
                                 ApiFault
Throws:
java.rmi.RemoteException
ApiFault

disableUsers

BasicResponse[] disableUsers(long[] userIDs)
                             throws java.rmi.RemoteException,
                                    ApiFault
Throws:
java.rmi.RemoteException
ApiFault

enableUser

BasicResponse enableUser(long userID)
                         throws java.rmi.RemoteException,
                                ApiFault
Throws:
java.rmi.RemoteException
ApiFault

enableUsers

BasicResponse[] enableUsers(long[] userIDs)
                            throws java.rmi.RemoteException,
                                   ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getCapabilitiesForRole

Capability[] getCapabilitiesForRole(Role role)
                                    throws java.rmi.RemoteException,
                                           ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getMyRoles

Role[] getMyRoles()
                  throws java.rmi.RemoteException,
                         ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getMyUser

User getMyUser()
               throws java.rmi.RemoteException,
                      ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getRolesForAgencyUser

Role[] getRolesForAgencyUser(long userID,
                             long agencyContractID)
                             throws java.rmi.RemoteException,
                                    ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getRolesForUser

Role[] getRolesForUser(long userID)
                       throws java.rmi.RemoteException,
                              ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getUser

User getUser(long userID)
             throws java.rmi.RemoteException,
                    ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getUserCountByAccountID

long getUserCountByAccountID()
                             throws java.rmi.RemoteException,
                                    ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getUsers

User[] getUsers(long[] userIDs)
                throws java.rmi.RemoteException,
                       ApiFault
Throws:
java.rmi.RemoteException
ApiFault

getUsersByAccountID

User[] getUsersByAccountID(int startElement,
                           int numElements)
                           throws java.rmi.RemoteException,
                                  ApiFault
Throws:
java.rmi.RemoteException
ApiFault

resetUserPassword

BasicResponse resetUserPassword(long userID)
                                throws java.rmi.RemoteException,
                                       ApiFault
Throws:
java.rmi.RemoteException
ApiFault

setRolesForAgencyUser

BasicResponse setRolesForAgencyUser(long userID,
                                    Role[] roles,
                                    long agencyContractID)
                                    throws java.rmi.RemoteException,
                                           ApiFault
Throws:
java.rmi.RemoteException
ApiFault

setRolesForUser

BasicResponse setRolesForUser(long userID,
                              Role[] roles)
                              throws java.rmi.RemoteException,
                                     ApiFault
Throws:
java.rmi.RemoteException
ApiFault

testUsername

boolean testUsername(java.lang.String userName)
                     throws java.rmi.RemoteException,
                            ApiFault
Throws:
java.rmi.RemoteException
ApiFault

updateMyEmail

BasicResponse updateMyEmail(java.lang.String email)
                            throws java.rmi.RemoteException,
                                   ApiFault
Throws:
java.rmi.RemoteException
ApiFault

updateUser

UserResponse updateUser(User user)
                        throws java.rmi.RemoteException,
                               ApiFault
Throws:
java.rmi.RemoteException
ApiFault

updateUsers

UserResponse[] updateUsers(User[] users)
                           throws java.rmi.RemoteException,
                                  ApiFault
Throws:
java.rmi.RemoteException
ApiFault