Package com.soffid.iam.service
Interface UserService
-
public interface UserServiceService UserService
-
-
Field Summary
Fields Modifier and Type Field Description static StringREMOTE_PATHstatic StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringaddUser(es.caib.signatura.api.Signature signatura, String userType)Operation addUserStringaddUser(Collection<X509Certificate> certs, String userType)Operation addUserBpmUserProcesscreate(BpmUserProcess usuariWFProces)Operation createUsercreate(User usuari)Operation createExtranetCardcreateExtranetCard(String codiUsuari)Operation createExtranetCardStringcreateNewUserProcess(String nomProces, String codiUsuari, boolean canviaAProces)Operation createNewUserProcessUsercreateUser(byte[] peticio, es.caib.signatura.api.Signature signatura)Operation createUservoiddelete(BpmUserProcess usuariWFProces)Operation deletevoiddelete(User usuari)Operation deleteUserdisableUser(String codiUsuari)Operation disableUserAsyncProcessTrackerdisableUsers(String scimQuery, List<DisableObjectRule> rules)Operation disableUsersAsyncProcessTrackerdisableUsersPreview(String scimQuery, List<DisableObjectRule> rules, List<Object[]> actions)Operation disableUsersPreviewCollection<BpmUserProcess>findBpmUserProcessByProcessId(Long idProces)Operation findBpmUserProcessByProcessIdCollection<BpmUserProcess>findBpmUserProcessByUserName(String codiUsuari)Operation findBpmUserProcessByUserNameCollection<BpmUserProcess>findBpmUserProcessByUserNif(String nifUsuari)Operation findBpmUserProcessByUserNifCollection<ProcessInstance>findBpmUserProcessInstanceByUserName(String codiUsuari)Operation findBpmUserProcessInstanceByUserNameUserfindByShortName(String nomCurt)Operation findByShortNameUserDatafindDataByUserAndCode(String codiUsuari, String codiTipusDada)Operation findDataByUserAndCodeExtranetCardfindExtranetCardByUserNameAndCardName(String codiUsuari, String codiTargeta)Operation findExtranetCardByUserNameAndCardNameCollection<ExtranetCard>findExtranetCardsByUserName(String codiUsuari, String activa)Operation findExtranetCardsByUserNameHostfindHomeServerByUserName(String codiUsuari)Operation findHomeServerByUserNameHostfindMailServerByUserName(String codiUsuari)Operation findMailServerByUserNameCollection<NetworkAuthorization>findNetworksACByUserName(String codiUsuari)Operation findNetworksACByUserNameList<PasswordDomainStatus>findPasswordDomainStatus(String user)Operation findPasswordDomainStatusCollection<Printer>findPrintersByUserName(String codiUsuari)Operation findPrintersByUserNameHostfindProfileServerByUserName(String codiUsuari)Operation findProfileServerByUserNameCollection<Session>findSessionByUserName(String codiUsuari)Operation findSessionByUserNameMap<String,Object>findUserAttributes(String codiUsuari)Operation findUserAttributesCollection<User>findUserByCriteria(UserCriteria criteria)Operation findUserByCriteriaCollection<User>findUserByCriteria(String codi, String nom, String primerLlinatge, String nomCurt, String dataCreacio, String usuariCreacio, String actiu, String segonLlinatge, String multiSessio, String comentari, String tipusUsuari, String servidorPerfil, String servidorHome, String servidorCorreu, String codiGrupPrimari, String dni, String dominiCorreu, String grupSecundari, Boolean restringeixCerca)Operation findUserByCriteriaUserfindUserByDataTypeNameAndDataTypeValue(String codiTipusDada, String valorTipusDada)Operation findUserByDataTypeNameAndDataTypeValueList<User>findUserByJsonQuery(String query)Operation findUserByJsonQueryPagedResult<User>findUserByJsonQuery(String query, Integer startIndex, Integer count)Operation findUserByJsonQueryAsyncList<User>findUserByJsonQueryAsync(String query)Operation findUserByJsonQueryAsyncCollection<User>findUserByText(String text)Operation findUserByTextList<User>findUserByTextAndFilter(String text, String filter)Operation findUserByTextAndFilterPagedResult<User>findUserByTextAndFilter(String text, String filter, Integer start, Integer end)Operation findUserByTextAndFilterAsyncList<User>findUserByTextAndFilterAsync(String text, String filter)Operation findUserByTextAndFilterAsyncAsyncList<User>findUserByTextAsync(String text)Operation findUserByTextAsyncUserfindUserByUserId(Long idUsuari)Operation findUserByUserIdUserfindUserByUserName(String codiUsuari)Operation findUserByUserNameUserfindUserByUserNif(String nif)Operation findUserByUserNifCollection<UserData>findUserDataByUserName(String codiUsuari)Operation findUserDataByUserNameCollection<String>findUserNames()Operation findUserNamesCollection<PrinterUser>findUserPrintersByUserName(String codiUsuari)Operation findUserPrintersByUserNameCollection<Role>findUserRolesHierachyByUserName(String codiUsuari)Operation findUserRolesHierachyByUserNameCollection<Role>findUserRolesHierachyByUserName(String codiUsuari, Boolean incloureRolsUsuariDirectes)Operation findUserRolesHierachyByUserNameCollection<User>findUsersByCoreData(String codi, String nom, String primerLlinatge, String segonLlinatge, String dni)Operation findUsersByCoreDataCollection<User>findUsersByUserName(String codi)Operation findUsersByUserNameStringgenerateRandomPassword()Operation generateRandomPasswordCollection<SyncAgentTaskLog>getActiveTasks(String userName)Operation getActiveTasks Retrieves current synchronization tasks for userCollection<Role>getApplicationRolesByuserNameAndApplicationName(String codiUsuari, String codiAplicacio)Operation getApplicationRolesByuserNameAndApplicationNameCollection<Application>getApplicationsByUserName(String codiUsuari)Operation getApplicationsByUserNameCollection<Application>getBpmEnabledApplicationsByUserName(String codiUsuari)Operation getBpmEnabledApplicationsByUserNameCollection<BpmProcess>getBpmUserProcessList()Operation getBpmUserProcessListUsergetCurrentUser()Operation getCurrentUserCollection<DataType>getDataType()Operation getDataTypebyte[]getESSORules(String user)Operation getESSORulesStringgetFollowingName()Operation getFollowingNameCollection<PasswordStatus>getPasswordsUserType(Date dataInici, Date dataFi, String tipusUsuari)Operation getPasswordsUserTypeString[]getTasks(String codiUsuari)Operation getTasksCollection<RoleGrant>getUserExplicitRoles(long userId)Operation getUserExplicitRolesCollection<Group>getUserGroups(long userId)Operation getUserGroupsCollection<Group>getUserGroupsHierarchy(long userId)Operation getUserGroupsHierarchyCollection<Group>getUserGroupsHierarchy(long userId, String holderGroup)Operation getUserGroupsHierarchyUsergetUserInfo(String user)Operation getUserInfoCollection<RoleGrant>getUserRoles(long userId)Operation getUserRolesintisUpdatePendingExtended(String userName)Operation isUpdatePendingExtended Identifies if there is any pending change.voidmerge(Long srcId, Long targetId, Long eventId)Operation mergeString[]refreshChanges(String codiUsuari)Operation refreshChangesvoidsendPassword(String userName, String passwordDomain)Operation sendPassword Sends the current account password back to the target systemStringsetPassword(String codiUsuari, String codiDominiContrasenyes)Operation setPassword Generates a password for a uservoidsetPassword(String codiUsuari, String codiDominiContrasenyes, Password newPassword)Operation setPassword Sets a password for a userUsersetServersToUser(String codiUsuari, String nomServidorPerfil, String nomServidorCorreu, String nomServidorHome)Operation setServersToUserStringsetTemporaryPassword(String codiUsuari, String codiDominiContrasenyes)Operation setTemporaryPassword Generates a random temporary password for a uservoidsetTemporaryPassword(String codiUsuari, String codiDominiContrasenyes, Password newPassword)Operation setTemporaryPassword Sets a temporary password for a userBooleanshortNameExists(String nomCurt)Operation shortNameExistsvoidunlockPasswordDomain(String user, String passwordDomain)Operation unlockPasswordDomainBpmUserProcessupdate(BpmUserProcess usuariWFProces)Operation updateExtranetCardupdate(ExtranetCard targetaExtranet)Operation updateUserupdate(User usuari)Operation updatevoidupdateUserAttributes(String codiUsuari, Map<String,Object> attributes)Operation updateUserAttributesUserupdateUserCoreData(User usuari)Operation updateUserCoreData
-
-
-
Field Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getESSORules
byte[] getESSORules(String user) throws InternalErrorException, InternalErrorException
Operation getESSORules- Parameters:
user-- Returns:
- Throws:
InternalErrorException
-
findUserByJsonQueryAsync
AsyncList<User> findUserByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
Operation findUserByJsonQueryAsync- Parameters:
query-- Returns:
- Throws:
InternalErrorException
-
findUserByTextAndFilterAsync
AsyncList<User> findUserByTextAndFilterAsync(String text, String filter) throws InternalErrorException
Operation findUserByTextAndFilterAsync- Parameters:
text-filter-- Returns:
- Throws:
InternalErrorException
-
findUserByTextAsync
AsyncList<User> findUserByTextAsync(String text) throws InternalErrorException, InternalErrorException
Operation findUserByTextAsync- Parameters:
text-- Returns:
- Throws:
InternalErrorException
-
disableUsers
AsyncProcessTracker disableUsers(String scimQuery, List<DisableObjectRule> rules) throws InternalErrorException
Operation disableUsers- Parameters:
scimQuery-rules-- Returns:
- Throws:
InternalErrorException
-
disableUsersPreview
AsyncProcessTracker disableUsersPreview(String scimQuery, List<DisableObjectRule> rules, List<Object[]> actions) throws InternalErrorException
Operation disableUsersPreview- Parameters:
scimQuery-rules-actions-- Returns:
- Throws:
InternalErrorException
-
findUserByJsonQuery
PagedResult<User> findUserByJsonQuery(String query, Integer startIndex, Integer count) throws InternalErrorException, InternalErrorException
Operation findUserByJsonQuery- Parameters:
query-startIndex-count-- Returns:
- Throws:
InternalErrorException
-
findUserByTextAndFilter
PagedResult<User> findUserByTextAndFilter(String text, String filter, Integer start, Integer end) throws InternalErrorException
Operation findUserByTextAndFilter- Parameters:
text-filter-start-end-- Returns:
- Throws:
InternalErrorException
-
findDataByUserAndCode
UserData findDataByUserAndCode(String codiUsuari, String codiTipusDada) throws InternalErrorException, InternalErrorException
Operation findDataByUserAndCode- Parameters:
codiUsuari-codiTipusDada-- Returns:
- Throws:
InternalErrorException
-
findMailServerByUserName
Host findMailServerByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findMailServerByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findHomeServerByUserName
Host findHomeServerByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findHomeServerByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findProfileServerByUserName
Host findProfileServerByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findProfileServerByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
createExtranetCard
ExtranetCard createExtranetCard(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation createExtranetCard- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findExtranetCardByUserNameAndCardName
ExtranetCard findExtranetCardByUserNameAndCardName(String codiUsuari, String codiTargeta) throws InternalErrorException, InternalErrorException
Operation findExtranetCardByUserNameAndCardName- Parameters:
codiUsuari-codiTargeta-- Returns:
- Throws:
InternalErrorException
-
update
ExtranetCard update(ExtranetCard targetaExtranet) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
targetaExtranet-- Returns:
- Throws:
InternalErrorException
-
createUser
User createUser(byte[] peticio, es.caib.signatura.api.Signature signatura) throws InternalErrorException, InternalErrorException
Operation createUser- Parameters:
peticio-signatura-- Returns:
- Throws:
InternalErrorException
-
disableUser
User disableUser(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation disableUser- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
create
User create(User usuari) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
usuari-- Returns:
- Throws:
InternalErrorException
-
findByShortName
User findByShortName(String nomCurt) throws InternalErrorException, InternalErrorException
Operation findByShortName- Parameters:
nomCurt-- Returns:
- Throws:
InternalErrorException
-
findUserByDataTypeNameAndDataTypeValue
User findUserByDataTypeNameAndDataTypeValue(String codiTipusDada, String valorTipusDada) throws InternalErrorException, InternalErrorException
Operation findUserByDataTypeNameAndDataTypeValue- Parameters:
codiTipusDada-valorTipusDada-- Returns:
- Throws:
InternalErrorException
-
findUserByUserName
User findUserByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findUserByUserId
User findUserByUserId(Long idUsuari) throws InternalErrorException, InternalErrorException
Operation findUserByUserId- Parameters:
idUsuari-- Returns:
- Throws:
InternalErrorException
-
findUserByUserNif
User findUserByUserNif(String nif) throws InternalErrorException, InternalErrorException
Operation findUserByUserNif- Parameters:
nif-- Returns:
- Throws:
InternalErrorException
-
getCurrentUser
User getCurrentUser() throws InternalErrorException, InternalErrorException
Operation getCurrentUser- Returns:
- Throws:
InternalErrorException
-
getUserInfo
User getUserInfo(String user) throws InternalErrorException, InternalErrorException, InternalErrorException, UnknownUserException
Operation getUserInfo- Parameters:
user-- Returns:
- Throws:
InternalErrorExceptionUnknownUserException
-
setServersToUser
User setServersToUser(String codiUsuari, String nomServidorPerfil, String nomServidorCorreu, String nomServidorHome) throws InternalErrorException, InternalErrorException
Operation setServersToUser- Parameters:
codiUsuari-nomServidorPerfil-nomServidorCorreu-nomServidorHome-- Returns:
- Throws:
InternalErrorException
-
update
User update(User usuari) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
usuari-- Returns:
- Throws:
InternalErrorException
-
updateUserCoreData
User updateUserCoreData(User usuari) throws InternalErrorException, InternalErrorException
Operation updateUserCoreData- Parameters:
usuari-- Returns:
- Throws:
InternalErrorException
-
create
BpmUserProcess create(BpmUserProcess usuariWFProces) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
usuariWFProces-- Returns:
- Throws:
InternalErrorException
-
update
BpmUserProcess update(BpmUserProcess usuariWFProces) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
usuariWFProces-- Returns:
- Throws:
InternalErrorException
-
isUpdatePendingExtended
int isUpdatePendingExtended(String userName) throws InternalErrorException
Operation isUpdatePendingExtended Identifies if there is any pending change. 0 means no change pending, 1 task is on hald, 2 means synchronization in progress, 3 means error- Parameters:
userName-- Returns:
- Throws:
InternalErrorException
-
shortNameExists
Boolean shortNameExists(String nomCurt) throws InternalErrorException, InternalErrorException
Operation shortNameExists- Parameters:
nomCurt-- Returns:
- Throws:
InternalErrorException
-
addUser
String addUser(es.caib.signatura.api.Signature signatura, String userType) throws InternalErrorException, InternalErrorException
Operation addUser- Parameters:
signatura-userType-- Returns:
- Throws:
InternalErrorException
-
addUser
String addUser(Collection<X509Certificate> certs, String userType) throws InternalErrorException, InternalErrorException
Operation addUser- Parameters:
certs-userType-- Returns:
- Throws:
InternalErrorException
-
setTemporaryPassword
String setTemporaryPassword(String codiUsuari, String codiDominiContrasenyes) throws InternalErrorException, InternalErrorException
Operation setTemporaryPassword Generates a random temporary password for a user- Parameters:
codiUsuari-codiDominiContrasenyes-- Returns:
- Throws:
InternalErrorException
-
createNewUserProcess
String createNewUserProcess(String nomProces, String codiUsuari, boolean canviaAProces) throws InternalErrorException, InternalErrorException
Operation createNewUserProcess- Parameters:
nomProces-codiUsuari-canviaAProces-- Returns:
- Throws:
InternalErrorException
-
generateRandomPassword
String generateRandomPassword() throws InternalErrorException, InternalErrorException
Operation generateRandomPassword- Returns:
- Throws:
InternalErrorException
-
getFollowingName
String getFollowingName() throws InternalErrorException, InternalErrorException
Operation getFollowingName- Returns:
- Throws:
InternalErrorException
-
setPassword
String setPassword(String codiUsuari, String codiDominiContrasenyes) throws InternalErrorException, InternalErrorException
Operation setPassword Generates a password for a user- Parameters:
codiUsuari-codiDominiContrasenyes-- Returns:
- Throws:
InternalErrorException
-
getTasks
String[] getTasks(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation getTasks- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
refreshChanges
String[] refreshChanges(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation refreshChanges- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findUserDataByUserName
Collection<UserData> findUserDataByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserDataByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findPrintersByUserName
Collection<Printer> findPrintersByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findPrintersByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findUserRolesHierachyByUserName
Collection<Role> findUserRolesHierachyByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserRolesHierachyByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findUserRolesHierachyByUserName
Collection<Role> findUserRolesHierachyByUserName(String codiUsuari, Boolean incloureRolsUsuariDirectes) throws InternalErrorException, InternalErrorException
Operation findUserRolesHierachyByUserName- Parameters:
codiUsuari-incloureRolsUsuariDirectes-- Returns:
- Throws:
InternalErrorException
-
findBpmUserProcessInstanceByUserName
Collection<ProcessInstance> findBpmUserProcessInstanceByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findBpmUserProcessInstanceByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findBpmUserProcessByUserName
Collection<BpmUserProcess> findBpmUserProcessByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findBpmUserProcessByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findBpmUserProcessByProcessId
Collection<BpmUserProcess> findBpmUserProcessByProcessId(Long idProces) throws InternalErrorException, InternalErrorException
Operation findBpmUserProcessByProcessId- Parameters:
idProces-- Returns:
- Throws:
InternalErrorException
-
findBpmUserProcessByUserNif
Collection<BpmUserProcess> findBpmUserProcessByUserNif(String nifUsuari) throws InternalErrorException, InternalErrorException
Operation findBpmUserProcessByUserNif- Parameters:
nifUsuari-- Returns:
- Throws:
InternalErrorException
-
findSessionByUserName
Collection<Session> findSessionByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findSessionByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findExtranetCardsByUserName
Collection<ExtranetCard> findExtranetCardsByUserName(String codiUsuari, String activa) throws InternalErrorException, InternalErrorException
Operation findExtranetCardsByUserName- Parameters:
codiUsuari-activa-- Returns:
- Throws:
InternalErrorException
-
findUserByCriteria
Collection<User> findUserByCriteria(UserCriteria criteria) throws InternalErrorException, InternalErrorException
Operation findUserByCriteria- Parameters:
criteria-- Returns:
- Throws:
InternalErrorException
-
findUserByText
Collection<User> findUserByText(String text) throws InternalErrorException, InternalErrorException
Operation findUserByText- Parameters:
text-- Returns:
- Throws:
InternalErrorException
-
findUserNames
Collection<String> findUserNames() throws InternalErrorException, InternalErrorException
Operation findUserNames- Returns:
- Throws:
InternalErrorException
-
findUserByCriteria
Collection<User> findUserByCriteria(String codi, String nom, String primerLlinatge, String nomCurt, String dataCreacio, String usuariCreacio, String actiu, String segonLlinatge, String multiSessio, String comentari, String tipusUsuari, String servidorPerfil, String servidorHome, String servidorCorreu, String codiGrupPrimari, String dni, String dominiCorreu, String grupSecundari, Boolean restringeixCerca) throws InternalErrorException, InternalErrorException
Operation findUserByCriteria- Parameters:
codi-nom-primerLlinatge-nomCurt-dataCreacio-usuariCreacio-actiu-segonLlinatge-multiSessio-comentari-tipusUsuari-servidorPerfil-servidorHome-servidorCorreu-codiGrupPrimari-dni-dominiCorreu-grupSecundari-restringeixCerca-- Returns:
- Throws:
InternalErrorException
-
findUserPrintersByUserName
Collection<PrinterUser> findUserPrintersByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserPrintersByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
findUsersByUserName
Collection<User> findUsersByUserName(String codi) throws InternalErrorException, InternalErrorException
Operation findUsersByUserName- Parameters:
codi-- Returns:
- Throws:
InternalErrorException
-
findUsersByCoreData
Collection<User> findUsersByCoreData(String codi, String nom, String primerLlinatge, String segonLlinatge, String dni) throws InternalErrorException, InternalErrorException
Operation findUsersByCoreData- Parameters:
codi-nom-primerLlinatge-segonLlinatge-dni-- Returns:
- Throws:
InternalErrorException
-
findNetworksACByUserName
Collection<NetworkAuthorization> findNetworksACByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findNetworksACByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
getActiveTasks
Collection<SyncAgentTaskLog> getActiveTasks(String userName) throws InternalErrorException
Operation getActiveTasks Retrieves current synchronization tasks for user- Parameters:
userName-- Returns:
- Throws:
InternalErrorException
-
getApplicationsByUserName
Collection<Application> getApplicationsByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation getApplicationsByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
getBpmEnabledApplicationsByUserName
Collection<Application> getBpmEnabledApplicationsByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation getBpmEnabledApplicationsByUserName- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
getPasswordsUserType
Collection<PasswordStatus> getPasswordsUserType(Date dataInici, Date dataFi, String tipusUsuari) throws InternalErrorException, InternalErrorException
Operation getPasswordsUserType- Parameters:
dataInici-dataFi-tipusUsuari-- Returns:
- Throws:
InternalErrorException
-
getApplicationRolesByuserNameAndApplicationName
Collection<Role> getApplicationRolesByuserNameAndApplicationName(String codiUsuari, String codiAplicacio) throws InternalErrorException, InternalErrorException
Operation getApplicationRolesByuserNameAndApplicationName- Parameters:
codiUsuari-codiAplicacio-- Returns:
- Throws:
InternalErrorException
-
getDataType
Collection<DataType> getDataType() throws InternalErrorException, InternalErrorException
Operation getDataType- Returns:
- Throws:
InternalErrorException
-
getUserExplicitRoles
Collection<RoleGrant> getUserExplicitRoles(long userId) throws InternalErrorException, InternalErrorException, InternalErrorException, UnknownUserException
Operation getUserExplicitRoles- Parameters:
userId-- Returns:
- Throws:
InternalErrorExceptionUnknownUserException
-
getUserGroups
Collection<Group> getUserGroups(long userId) throws InternalErrorException, InternalErrorException
Operation getUserGroups- Parameters:
userId-- Returns:
- Throws:
InternalErrorException
-
getUserGroupsHierarchy
Collection<Group> getUserGroupsHierarchy(long userId) throws InternalErrorException, InternalErrorException, InternalErrorException, UnknownUserException
Operation getUserGroupsHierarchy- Parameters:
userId-- Returns:
- Throws:
InternalErrorExceptionUnknownUserException
-
getUserGroupsHierarchy
Collection<Group> getUserGroupsHierarchy(long userId, String holderGroup) throws InternalErrorException, InternalErrorException, UnknownUserException
Operation getUserGroupsHierarchy- Parameters:
userId-holderGroup-- Returns:
- Throws:
InternalErrorExceptionUnknownUserException
-
getUserRoles
Collection<RoleGrant> getUserRoles(long userId) throws InternalErrorException, InternalErrorException, InternalErrorException, UnknownUserException
Operation getUserRoles- Parameters:
userId-- Returns:
- Throws:
InternalErrorExceptionUnknownUserException
-
getBpmUserProcessList
Collection<BpmProcess> getBpmUserProcessList() throws InternalErrorException, InternalErrorException
Operation getBpmUserProcessList- Returns:
- Throws:
InternalErrorException
-
findPasswordDomainStatus
List<PasswordDomainStatus> findPasswordDomainStatus(String user) throws InternalErrorException
Operation findPasswordDomainStatus- Parameters:
user-- Returns:
- Throws:
InternalErrorException
-
findUserByJsonQuery
List<User> findUserByJsonQuery(String query) throws InternalErrorException, InternalErrorException
Operation findUserByJsonQuery- Parameters:
query-- Returns:
- Throws:
InternalErrorException
-
findUserByTextAndFilter
List<User> findUserByTextAndFilter(String text, String filter) throws InternalErrorException
Operation findUserByTextAndFilter- Parameters:
text-filter-- Returns:
- Throws:
InternalErrorException
-
findUserAttributes
Map<String,Object> findUserAttributes(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserAttributes- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
delete
void delete(User usuari) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
usuari-- Throws:
InternalErrorException
-
delete
void delete(BpmUserProcess usuariWFProces) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
usuariWFProces-- Throws:
InternalErrorException
-
merge
void merge(Long srcId, Long targetId, Long eventId) throws InternalErrorException
Operation merge- Parameters:
srcId-targetId-eventId-- Throws:
InternalErrorException
-
sendPassword
void sendPassword(String userName, String passwordDomain) throws InternalErrorException, InternalErrorException
Operation sendPassword Sends the current account password back to the target system- Parameters:
userName-passwordDomain-- Throws:
InternalErrorException
-
setPassword
void setPassword(String codiUsuari, String codiDominiContrasenyes, Password newPassword) throws InternalErrorException, InternalErrorException, BadPasswordException
Operation setPassword Sets a password for a user- Parameters:
codiUsuari-codiDominiContrasenyes-newPassword-- Throws:
InternalErrorExceptionBadPasswordException
-
setTemporaryPassword
void setTemporaryPassword(String codiUsuari, String codiDominiContrasenyes, Password newPassword) throws InternalErrorException, InternalErrorException, BadPasswordException
Operation setTemporaryPassword Sets a temporary password for a user- Parameters:
codiUsuari-codiDominiContrasenyes-newPassword-- Throws:
InternalErrorExceptionBadPasswordException
-
unlockPasswordDomain
void unlockPasswordDomain(String user, String passwordDomain) throws InternalErrorException
Operation unlockPasswordDomain- Parameters:
user-passwordDomain-- Throws:
InternalErrorException
-
updateUserAttributes
void updateUserAttributes(String codiUsuari, Map<String,Object> attributes) throws InternalErrorException, InternalErrorException
Operation updateUserAttributes- Parameters:
codiUsuari-attributes-- Throws:
InternalErrorException
-
-