Package org.openiam.srvc.am
Class ApproverAssociationsWebServiceImpl
- java.lang.Object
-
- org.openiam.srvc.AbstractApiService
-
- org.openiam.srvc.am.ApproverAssociationsWebServiceImpl
-
- All Implemented Interfaces:
ApproverAssociationsWebService
@Service("approverAssociationsWS") public class ApproverAssociationsWebServiceImpl extends AbstractApiService implements ApproverAssociationsWebService
Created by Alexander Dukkardt on 2017-04-03.
-
-
Field Summary
-
Fields inherited from class org.openiam.srvc.AbstractApiService
applicationContext, log, rabbitMQSender
-
-
Constructor Summary
Constructors Constructor Description ApproverAssociationsWebServiceImpl(ApproverAssociationQueue rabbitMqQueue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApproverAssociationListResponse
findBeans(ApproverAssociationSearchBean searchBean, int from, int size)
List<ApproverAssociation>
getApproverAssociations(ApproverAssociationSearchBean searchBean, int from, int size)
Response
removeApproverAssociation(String approverAssociationId)
Removes the approver association.Response
saveApproverAssociation(ApproverAssociation approverAssociation)
Response
saveApproverAssociations(List<ApproverAssociation> approverAssociationList, AssociationType type, String entityId)
Saves or updates list of Approver Association entities for given association type and association id.-
Methods inherited from class org.openiam.srvc.AbstractApiService
broadcast, crudRequest, getBooleanValue, getIntValue, getIntValue, getRabbitMqQueue, getResponse, getResponse, getValue, getValue, getValueList, getValueList, idRequest, manageApiRequest, manageApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, membershipRequestProcessing, membershipRequestProcessing, publish, publish, sendAsync, sendAsync
-
-
-
-
Constructor Detail
-
ApproverAssociationsWebServiceImpl
@Autowired public ApproverAssociationsWebServiceImpl(ApproverAssociationQueue rabbitMqQueue)
-
-
Method Detail
-
getApproverAssociations
@Transactional(readOnly=true) public List<ApproverAssociation> getApproverAssociations(ApproverAssociationSearchBean searchBean, int from, int size)
- Specified by:
getApproverAssociations
in interfaceApproverAssociationsWebService
-
findBeans
@Transactional(readOnly=true) public ApproverAssociationListResponse findBeans(ApproverAssociationSearchBean searchBean, int from, int size)
- Specified by:
findBeans
in interfaceApproverAssociationsWebService
-
saveApproverAssociations
public Response saveApproverAssociations(List<ApproverAssociation> approverAssociationList, AssociationType type, String entityId)
Description copied from interface:ApproverAssociationsWebService
Saves or updates list of Approver Association entities for given association type and association id.- Specified by:
saveApproverAssociations
in interfaceApproverAssociationsWebService
- Parameters:
approverAssociationList
- approver association entity listtype
- Association typeentityId
- association id
-
saveApproverAssociation
public Response saveApproverAssociation(ApproverAssociation approverAssociation)
- Specified by:
saveApproverAssociation
in interfaceApproverAssociationsWebService
-
removeApproverAssociation
public Response removeApproverAssociation(String approverAssociationId)
Description copied from interface:ApproverAssociationsWebService
Removes the approver association.- Specified by:
removeApproverAssociation
in interfaceApproverAssociationsWebService
- Parameters:
approverAssociationId
- the approver association id
-
-