Package com.soffid.iam.service
Interface MailListsService
-
public interface MailListsService
Service MailListsService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkEmptyMailList(String nomLlistaCorreu, String codiDomini)
Operation checkEmptyMailListExternalName
create(ExternalName correuExtern)
Operation createMailDomain
create(MailDomain dominiCorreu)
Operation createMailList
create(MailList llistaCorreu)
Operation createMailListRelated
create(MailListRelated relacioLlistaCorreu)
Operation createUserMailList
create(UserMailList llistaCorreuUsuari)
Operation createvoid
delete(ExternalName correuExtern)
Operation deletevoid
delete(MailDomain dominiCorreu)
Operation deletevoid
delete(MailList llistaCorreu)
Operation deletevoid
delete(MailListRelated relacioLlistaCorreu)
Operation deletevoid
deleteAtomic(ExternalName correuExtern)
Operation deleteAtomicvoid
deleteAtomic(MailListRelated relacioLlistaCorreu)
Operation deleteAtomicvoid
deleteAtomic(UserMailList llistaCorreuUsuari)
Operation deleteAtomicvoid
deleteUserMailList(UserMailList llistaCorreuUsuari)
Operation deleteUserMailListCollection<ExternalName>
findExternalMailsByNameListAndDomainName(String nomLlistaCorreu, String codiDomini)
Operation findExternalMailsByNameListAndDomainNameCollection<Group>
findGroupMembers(String nomLlistaCorreu, String codiDomini)
Operation findGroupMembersMailDomain
findMailDomainByName(String codi)
Operation findMailDomainByNameCollection<MailDomain>
findMailDomainsByFilter(String codi, String descripcio, String obsolet)
Operation findMailDomainsByFilterPagedResult<MailDomain>
findMailDomainsByJsonQuery(String query, Integer first, Integer max)
Operation findMailDomainsByJsonQueryAsyncList<MailDomain>
findMailDomainsByJsonQueryAsync(String query)
Operation findMailDomainsByJsonQueryAsyncPagedResult<MailDomain>
findMailDomainsByTextAndFilter(String text, String query, Integer first, Integer max)
Operation findMailDomainsByTextAndFilterAsyncList<MailDomain>
findMailDomainsByTextAndFilterAsync(String text, String query)
Operation findMailDomainsByTextAndFilterAsyncCollection<MailList>
findMailListByJsonQuery(String query)
Operation findMailListByJsonQueryAsyncList<MailList>
findMailListByJsonQueryAsync(String query)
Operation findMailListByJsonQueryAsyncMailList
findMailListByNameAndDomainName(String nomLlistaCorreu, String codiDomini)
Operation findMailListByNameAndDomainNamePagedResult<MailList>
findMailListByTextAndFilter(String text, String query, Integer first, Integer max)
Operation findMailListByTextAndFilterAsyncList<MailList>
findMailListByTextAndFilterAsync(String text, String query)
Operation findMailListByTextAndFilterAsyncCollection<MailList>
findMailListsByData(String nom, String domini, String descripcio, String membres)
Operation findMailListsByDataMailListRelated
findRelationsMailListByNameAndBelongsMailListNameAndNameAndContainsMailListName(String nomPertany, String dominiCorreuPertany, String nomConte, String dominiCorreuConte)
Operation findRelationsMailListByNameAndBelongsMailListNameAndNameAndContainsMailListNameCollection<MailListRelated>
findRelationsMailListByNameBelongsMailListAndDomainName(String nomLlistaCorreuPertany, String codiDomini)
Operation findRelationsMailListByNameBelongsMailListAndDomainNameCollection<MailListRelated>
findRelationsMailListByNameContainsMailListAndDomainName(String nomLlistaCorreuConte, String codiDomini)
Operation findRelationsMailListByNameContainsMailListAndDomainNameCollection<MailListRoleMember>
findRoleMembers(String nomLlistaCorreu, String codiDomini)
Operation findRoleMembersCollection<UserMailList>
findUserMailListByListNameAndDomainName(String nomLlistaCorreu, String codiDomini)
Operation findUserMailListByListNameAndDomainNameUserMailList
findUserMailListByListNameAndDomainNameAndUserName(String nomLlistaCorreu, String codiDomini, String codiUsuari)
Operation findUserMailListByListNameAndDomainNameAndUserNameCollection<UserMailList>
findUserMailListByUserName(String codiUsuari)
Operation findUserMailListByUserNameCollection<UserMailList>
findUserMailListHistoryByUserName(String codiUsuari)
Operation findUserMailListHistoryByUserNameCollection<User>
findUsersByMailListNameAndDomainName(String nomLlistaCorreu, String codiDomini)
Operation findUsersByMailListNameAndDomainNameExternalName
finExternalMailByEmail(String adreca)
Operation finExternalMailByEmailCollection<MailDomain>
getDomainMails()
Operation getDomainMailsCollection<MailList>
getMailLists()
Operation getMailListsvoid
subscribeGroup(String mailListName, String mailListDomain, String groupName)
Operation subscribeGroupMailListRoleMember
subscribeRole(String mailListName, String mailListDomain, MailListRoleMember roleMember)
Operation subscribeRolevoid
unsubscribeGroup(String mailListName, String mailListDomain, String groupName)
Operation unsubscribeGroupvoid
unsubscribeRole(String mailListName, String mailListDomain, MailListRoleMember roleMember)
Operation unsubscribeRoleMailDomain
update(MailDomain dominiCorreu)
Operation updateMailList
update(MailList llistaCorreu)
Operation update
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
findMailDomainsByJsonQueryAsync
AsyncList<MailDomain> findMailDomainsByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
Operation findMailDomainsByJsonQueryAsync- Parameters:
query
-- Returns:
- Throws:
InternalErrorException
-
findMailDomainsByTextAndFilterAsync
AsyncList<MailDomain> findMailDomainsByTextAndFilterAsync(String text, String query) throws InternalErrorException, InternalErrorException
Operation findMailDomainsByTextAndFilterAsync- Parameters:
text
-query
-- Returns:
- Throws:
InternalErrorException
-
findMailListByJsonQueryAsync
AsyncList<MailList> findMailListByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
Operation findMailListByJsonQueryAsync- Parameters:
query
-- Returns:
- Throws:
InternalErrorException
-
findMailListByTextAndFilterAsync
AsyncList<MailList> findMailListByTextAndFilterAsync(String text, String query) throws InternalErrorException, InternalErrorException
Operation findMailListByTextAndFilterAsync- Parameters:
text
-query
-- Returns:
- Throws:
InternalErrorException
-
subscribeRole
MailListRoleMember subscribeRole(String mailListName, String mailListDomain, MailListRoleMember roleMember) throws InternalErrorException, InternalErrorException
Operation subscribeRole- Parameters:
mailListName
-mailListDomain
-roleMember
-- Returns:
- Throws:
InternalErrorException
-
findMailDomainsByJsonQuery
PagedResult<MailDomain> findMailDomainsByJsonQuery(String query, Integer first, Integer max) throws InternalErrorException, InternalErrorException
Operation findMailDomainsByJsonQuery- Parameters:
query
-first
-max
-- Returns:
- Throws:
InternalErrorException
-
findMailDomainsByTextAndFilter
PagedResult<MailDomain> findMailDomainsByTextAndFilter(String text, String query, Integer first, Integer max) throws InternalErrorException, InternalErrorException
Operation findMailDomainsByTextAndFilter- Parameters:
text
-query
-first
-max
-- Returns:
- Throws:
InternalErrorException
-
findMailListByTextAndFilter
PagedResult<MailList> findMailListByTextAndFilter(String text, String query, Integer first, Integer max) throws InternalErrorException, InternalErrorException
Operation findMailListByTextAndFilter- Parameters:
text
-query
-first
-max
-- Returns:
- Throws:
InternalErrorException
-
create
ExternalName create(ExternalName correuExtern) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
correuExtern
-- Returns:
- Throws:
InternalErrorException
-
finExternalMailByEmail
ExternalName finExternalMailByEmail(String adreca) throws InternalErrorException, InternalErrorException
Operation finExternalMailByEmail- Parameters:
adreca
-- Returns:
- Throws:
InternalErrorException
-
create
MailDomain create(MailDomain dominiCorreu) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
dominiCorreu
-- Returns:
- Throws:
InternalErrorException
-
findMailDomainByName
MailDomain findMailDomainByName(String codi) throws InternalErrorException, InternalErrorException
Operation findMailDomainByName- Parameters:
codi
-- Returns:
- Throws:
InternalErrorException
-
update
MailDomain update(MailDomain dominiCorreu) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
dominiCorreu
-- Returns:
- Throws:
InternalErrorException
-
create
MailList create(MailList llistaCorreu) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
llistaCorreu
-- Returns:
- Throws:
InternalErrorException
-
findMailListByNameAndDomainName
MailList findMailListByNameAndDomainName(String nomLlistaCorreu, String codiDomini) throws InternalErrorException, InternalErrorException
Operation findMailListByNameAndDomainName- Parameters:
nomLlistaCorreu
-codiDomini
-- Returns:
- Throws:
InternalErrorException
-
update
MailList update(MailList llistaCorreu) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
llistaCorreu
-- Returns:
- Throws:
InternalErrorException
-
create
UserMailList create(UserMailList llistaCorreuUsuari) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
llistaCorreuUsuari
-- Returns:
- Throws:
InternalErrorException
-
findUserMailListByListNameAndDomainNameAndUserName
UserMailList findUserMailListByListNameAndDomainNameAndUserName(String nomLlistaCorreu, String codiDomini, String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserMailListByListNameAndDomainNameAndUserName- Parameters:
nomLlistaCorreu
-codiDomini
-codiUsuari
-- Returns:
- Throws:
InternalErrorException
-
create
MailListRelated create(MailListRelated relacioLlistaCorreu) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
relacioLlistaCorreu
-- Returns:
- Throws:
InternalErrorException
-
findRelationsMailListByNameAndBelongsMailListNameAndNameAndContainsMailListName
MailListRelated findRelationsMailListByNameAndBelongsMailListNameAndNameAndContainsMailListName(String nomPertany, String dominiCorreuPertany, String nomConte, String dominiCorreuConte) throws InternalErrorException, InternalErrorException
Operation findRelationsMailListByNameAndBelongsMailListNameAndNameAndContainsMailListName- Parameters:
nomPertany
-dominiCorreuPertany
-nomConte
-dominiCorreuConte
-- Returns:
- Throws:
InternalErrorException
-
findExternalMailsByNameListAndDomainName
Collection<ExternalName> findExternalMailsByNameListAndDomainName(String nomLlistaCorreu, String codiDomini) throws InternalErrorException, InternalErrorException
Operation findExternalMailsByNameListAndDomainName- Parameters:
nomLlistaCorreu
-codiDomini
-- Returns:
- Throws:
InternalErrorException
-
findMailDomainsByFilter
Collection<MailDomain> findMailDomainsByFilter(String codi, String descripcio, String obsolet) throws InternalErrorException, InternalErrorException
Operation findMailDomainsByFilter- Parameters:
codi
-descripcio
-obsolet
-- Returns:
- Throws:
InternalErrorException
-
findGroupMembers
Collection<Group> findGroupMembers(String nomLlistaCorreu, String codiDomini) throws InternalErrorException, InternalErrorException
Operation findGroupMembers- Parameters:
nomLlistaCorreu
-codiDomini
-- Returns:
- Throws:
InternalErrorException
-
findUserMailListByUserName
Collection<UserMailList> findUserMailListByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserMailListByUserName- Parameters:
codiUsuari
-- Returns:
- Throws:
InternalErrorException
-
findUserMailListByListNameAndDomainName
Collection<UserMailList> findUserMailListByListNameAndDomainName(String nomLlistaCorreu, String codiDomini) throws InternalErrorException, InternalErrorException
Operation findUserMailListByListNameAndDomainName- Parameters:
nomLlistaCorreu
-codiDomini
-- Returns:
- Throws:
InternalErrorException
-
findUserMailListHistoryByUserName
Collection<UserMailList> findUserMailListHistoryByUserName(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findUserMailListHistoryByUserName- Parameters:
codiUsuari
-- Returns:
- Throws:
InternalErrorException
-
findMailListsByData
Collection<MailList> findMailListsByData(String nom, String domini, String descripcio, String membres) throws InternalErrorException, InternalErrorException
Operation findMailListsByData- Parameters:
nom
-domini
-descripcio
-membres
-- Returns:
- Throws:
InternalErrorException
-
findMailListByJsonQuery
Collection<MailList> findMailListByJsonQuery(String query) throws InternalErrorException, InternalErrorException
Operation findMailListByJsonQuery- Parameters:
query
-- Returns:
- Throws:
InternalErrorException
-
findRelationsMailListByNameContainsMailListAndDomainName
Collection<MailListRelated> findRelationsMailListByNameContainsMailListAndDomainName(String nomLlistaCorreuConte, String codiDomini) throws InternalErrorException, InternalErrorException
Operation findRelationsMailListByNameContainsMailListAndDomainName- Parameters:
nomLlistaCorreuConte
-codiDomini
-- Returns:
- Throws:
InternalErrorException
-
findRelationsMailListByNameBelongsMailListAndDomainName
Collection<MailListRelated> findRelationsMailListByNameBelongsMailListAndDomainName(String nomLlistaCorreuPertany, String codiDomini) throws InternalErrorException, InternalErrorException
Operation findRelationsMailListByNameBelongsMailListAndDomainName- Parameters:
nomLlistaCorreuPertany
-codiDomini
-- Returns:
- Throws:
InternalErrorException
-
findRoleMembers
Collection<MailListRoleMember> findRoleMembers(String nomLlistaCorreu, String codiDomini) throws InternalErrorException, InternalErrorException
Operation findRoleMembers- Parameters:
nomLlistaCorreu
-codiDomini
-- Returns:
- Throws:
InternalErrorException
-
findUsersByMailListNameAndDomainName
Collection<User> findUsersByMailListNameAndDomainName(String nomLlistaCorreu, String codiDomini) throws InternalErrorException, InternalErrorException
Operation findUsersByMailListNameAndDomainName- Parameters:
nomLlistaCorreu
-codiDomini
-- Returns:
- Throws:
InternalErrorException
-
getDomainMails
Collection<MailDomain> getDomainMails() throws InternalErrorException, InternalErrorException
Operation getDomainMails- Returns:
- Throws:
InternalErrorException
-
getMailLists
Collection<MailList> getMailLists() throws InternalErrorException, InternalErrorException
Operation getMailLists- Returns:
- Throws:
InternalErrorException
-
delete
void delete(ExternalName correuExtern) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
correuExtern
-- Throws:
InternalErrorException
-
delete
void delete(MailDomain dominiCorreu) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
dominiCorreu
-- Throws:
InternalErrorException
-
delete
void delete(MailList llistaCorreu) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
llistaCorreu
-- Throws:
InternalErrorException
-
deleteUserMailList
void deleteUserMailList(UserMailList llistaCorreuUsuari) throws InternalErrorException, InternalErrorException
Operation deleteUserMailList- Parameters:
llistaCorreuUsuari
-- Throws:
InternalErrorException
-
delete
void delete(MailListRelated relacioLlistaCorreu) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
relacioLlistaCorreu
-- Throws:
InternalErrorException
-
deleteAtomic
void deleteAtomic(ExternalName correuExtern) throws InternalErrorException, InternalErrorException
Operation deleteAtomic- Parameters:
correuExtern
-- Throws:
InternalErrorException
-
deleteAtomic
void deleteAtomic(UserMailList llistaCorreuUsuari) throws InternalErrorException, InternalErrorException
Operation deleteAtomic- Parameters:
llistaCorreuUsuari
-- Throws:
InternalErrorException
-
deleteAtomic
void deleteAtomic(MailListRelated relacioLlistaCorreu) throws InternalErrorException, InternalErrorException
Operation deleteAtomic- Parameters:
relacioLlistaCorreu
-- Throws:
InternalErrorException
-
checkEmptyMailList
void checkEmptyMailList(String nomLlistaCorreu, String codiDomini) throws InternalErrorException, InternalErrorException
Operation checkEmptyMailList- Parameters:
nomLlistaCorreu
-codiDomini
-- Throws:
InternalErrorException
-
subscribeGroup
void subscribeGroup(String mailListName, String mailListDomain, String groupName) throws InternalErrorException, InternalErrorException
Operation subscribeGroup- Parameters:
mailListName
-mailListDomain
-groupName
-- Throws:
InternalErrorException
-
unsubscribeGroup
void unsubscribeGroup(String mailListName, String mailListDomain, String groupName) throws InternalErrorException, InternalErrorException
Operation unsubscribeGroup- Parameters:
mailListName
-mailListDomain
-groupName
-- Throws:
InternalErrorException
-
unsubscribeRole
void unsubscribeRole(String mailListName, String mailListDomain, MailListRoleMember roleMember) throws InternalErrorException, InternalErrorException
Operation unsubscribeRole- Parameters:
mailListName
-mailListDomain
-roleMember
-- Throws:
InternalErrorException
-
-