Package com.soffid.iam.service
Interface UserService
-
public interface UserService
Service UserService
-
-
Field Summary
Fields Modifier and Type Field Description static String
REMOTE_PATH
static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
addUser(es.caib.signatura.api.Signature signatura, String userType)
Operation addUserString
addUser(Collection<X509Certificate> certs, String userType)
Operation addUserBpmUserProcess
create(BpmUserProcess usuariWFProces)
Operation createUser
create(User usuari)
Operation createExtranetCard
createExtranetCard(String codiUsuari)
Operation createExtranetCardString
createNewUserProcess(String nomProces, String codiUsuari, boolean canviaAProces)
Operation createNewUserProcessUser
createUser(byte[] peticio, es.caib.signatura.api.Signature signatura)
Operation createUservoid
delete(BpmUserProcess usuariWFProces)
Operation deletevoid
delete(User usuari)
Operation deleteUser
disableUser(String codiUsuari)
Operation disableUserAsyncProcessTracker
disableUsers(String scimQuery, List<DisableObjectRule> rules)
Operation disableUsersAsyncProcessTracker
disableUsersPreview(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 findBpmUserProcessInstanceByUserNameUser
findByShortName(String nomCurt)
Operation findByShortNameUserData
findDataByUserAndCode(String codiUsuari, String codiTipusDada)
Operation findDataByUserAndCodeExtranetCard
findExtranetCardByUserNameAndCardName(String codiUsuari, String codiTargeta)
Operation findExtranetCardByUserNameAndCardNameCollection<ExtranetCard>
findExtranetCardsByUserName(String codiUsuari, String activa)
Operation findExtranetCardsByUserNameHost
findHomeServerByUserName(String codiUsuari)
Operation findHomeServerByUserNameHost
findMailServerByUserName(String codiUsuari)
Operation findMailServerByUserNameCollection<NetworkAuthorization>
findNetworksACByUserName(String codiUsuari)
Operation findNetworksACByUserNameList<PasswordDomainStatus>
findPasswordDomainStatus(String user)
Operation findPasswordDomainStatusCollection<Printer>
findPrintersByUserName(String codiUsuari)
Operation findPrintersByUserNameHost
findProfileServerByUserName(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 findUserByCriteriaUser
findUserByDataTypeNameAndDataTypeValue(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 findUserByTextAsyncUser
findUserByUserId(Long idUsuari)
Operation findUserByUserIdUser
findUserByUserName(String codiUsuari)
Operation findUserByUserNameUser
findUserByUserNif(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 findUsersByUserNameString
generateRandomPassword()
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 getBpmUserProcessListUser
getCurrentUser()
Operation getCurrentUserCollection<DataType>
getDataType()
Operation getDataTypebyte[]
getESSORules(String user)
Operation getESSORulesString
getFollowingName()
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 getUserGroupsHierarchyUser
getUserInfo(String user)
Operation getUserInfoCollection<RoleGrant>
getUserRoles(long userId)
Operation getUserRolesint
isUpdatePendingExtended(String userName)
Operation isUpdatePendingExtended Identifies if there is any pending change.void
merge(Long srcId, Long targetId, Long eventId)
Operation mergeString[]
refreshChanges(String codiUsuari)
Operation refreshChangesvoid
sendPassword(String userName, String passwordDomain)
Operation sendPassword Sends the current account password back to the target systemString
setPassword(String codiUsuari, String codiDominiContrasenyes)
Operation setPassword Generates a password for a uservoid
setPassword(String codiUsuari, String codiDominiContrasenyes, Password newPassword)
Operation setPassword Sets a password for a userUser
setServersToUser(String codiUsuari, String nomServidorPerfil, String nomServidorCorreu, String nomServidorHome)
Operation setServersToUserString
setTemporaryPassword(String codiUsuari, String codiDominiContrasenyes)
Operation setTemporaryPassword Generates a random temporary password for a uservoid
setTemporaryPassword(String codiUsuari, String codiDominiContrasenyes, Password newPassword)
Operation setTemporaryPassword Sets a temporary password for a userBoolean
shortNameExists(String nomCurt)
Operation shortNameExistsvoid
unlockPasswordDomain(String user, String passwordDomain)
Operation unlockPasswordDomainBpmUserProcess
update(BpmUserProcess usuariWFProces)
Operation updateExtranetCard
update(ExtranetCard targetaExtranet)
Operation updateUser
update(User usuari)
Operation updatevoid
updateUserAttributes(String codiUsuari, Map<String,Object> attributes)
Operation updateUserAttributesUser
updateUserCoreData(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:
InternalErrorException
UnknownUserException
-
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:
InternalErrorException
UnknownUserException
-
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:
InternalErrorException
UnknownUserException
-
getUserGroupsHierarchy
Collection<Group> getUserGroupsHierarchy(long userId, String holderGroup) throws InternalErrorException, InternalErrorException, UnknownUserException
Operation getUserGroupsHierarchy- Parameters:
userId
-holderGroup
-- Returns:
- Throws:
InternalErrorException
UnknownUserException
-
getUserRoles
Collection<RoleGrant> getUserRoles(long userId) throws InternalErrorException, InternalErrorException, InternalErrorException, UnknownUserException
Operation getUserRoles- Parameters:
userId
-- Returns:
- Throws:
InternalErrorException
UnknownUserException
-
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:
InternalErrorException
BadPasswordException
-
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:
InternalErrorException
BadPasswordException
-
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
-
-