Package org.openiam.common.beans.mq
Class ManagedSystemRabbitMQService
- java.lang.Object
-
- org.openiam.common.beans.mq.AbstractRabbitMQService
-
- org.openiam.common.beans.mq.ManagedSystemRabbitMQService
-
@Component public final class ManagedSystemRabbitMQService extends AbstractRabbitMQService
The purpose of this class is to provide common operations with respect to theManagedSysDtoobject, which are read by multiple Spring Boot modules
-
-
Field Summary
Fields Modifier and Type Field Description protected ManagedSysQueuemanagedSysQueue-
Fields inherited from class org.openiam.common.beans.mq.AbstractRabbitMQService
rabbitMQSender
-
-
Constructor Summary
Constructors Constructor Description ManagedSystemRabbitMQService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcloneManagedSystem(String originalManSysId, String newManSysName, boolean cloneCreds, boolean cloneAttr, boolean clonePolicyMap)voiddelete(ManagedSysDto managedSysDto)voiddeleteById(String managedSysId)List<ManagedSysDto>findBeans(ManagedSysSearchBean searchBean, int from, int size)ManagedSysDtoget(String id)List<ManagedSysDto>getAll()StringgetDecryptedPassword(String id, String encryptedPassword)List<ManagedSystemObjectMatch>getManagedSysObjectParam(String managedSystemId, String objectType)ManagedSysDtogetManSysByResId(String resId)ManagedSysDtogetManSysByResId(String resId, boolean deep)StringResponsesave(ManagedSysDto managedSysDto)StringResponsesaveManagedSystemRequest(ManagedSystemSaveRequest createRequest)StringsaveSimulationReq(SimulationProvReqDto simulationDto)This method is used to save Simlation Request if Managed System has Simulation Mode selected for particular operation-
Methods inherited from class org.openiam.common.beans.mq.AbstractRabbitMQService
crudRequest, idRequest
-
-
-
-
Field Detail
-
managedSysQueue
@Autowired protected ManagedSysQueue managedSysQueue
-
-
Method Detail
-
get
public ManagedSysDto get(String id)
-
getManSysByResId
public ManagedSysDto getManSysByResId(String resId, boolean deep)
-
getManSysByResId
public ManagedSysDto getManSysByResId(String resId)
-
getAll
public List<ManagedSysDto> getAll()
-
findBeans
public List<ManagedSysDto> findBeans(ManagedSysSearchBean searchBean, int from, int size)
-
save
public StringResponse save(ManagedSysDto managedSysDto)
-
saveManagedSystemRequest
public StringResponse saveManagedSystemRequest(ManagedSystemSaveRequest createRequest)
-
delete
public void delete(ManagedSysDto managedSysDto)
-
deleteById
public void deleteById(String managedSysId)
-
getManagedSysObjectParam
public List<ManagedSystemObjectMatch> getManagedSysObjectParam(String managedSystemId, String objectType)
-
cloneManagedSystem
public String cloneManagedSystem(String originalManSysId, String newManSysName, boolean cloneCreds, boolean cloneAttr, boolean clonePolicyMap)
- Parameters:
originalManSysId-newManSysName-cloneCreds-cloneAttr-clonePolicyMap-- Returns:
- Id of newly created clone man system
-
saveSimulationReq
public String saveSimulationReq(SimulationProvReqDto simulationDto)
This method is used to save Simlation Request if Managed System has Simulation Mode selected for particular operation- Parameters:
simulationDto-- Returns:
- Id of saved object
-
-