Package org.openiam.srvc.idm
Interface ManagedSystemWebService
-
- All Known Implementing Classes:
ManagedSystemWebServiceImpl
public interface ManagedSystemWebServiceInterface forManagedSystemWebService- Author:
- suneet shah
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseaddAttributeMap(AttributeMap attributeMap)Adds the attribute map.ResponseapplySimulationReqs(List<String> ids)This method takes list of req ids that need to be executed to send to connectorResponseapplySimulationReqsInSequence(List<String> ids)This method applies Req in sequence of Id provided.StringResponsecloneManagedSystem(CloneManagedSystemRequest cloneManagedSystemRequest)ResponsecreateDefaultPolicyMapForManagedSystem(String mngSysPolicyId)StringdecryptPassword(String sysId, String encryptedPassword)ResponsedeleteAttributesMapList(List<String> ids)SimulationReqListResponsefetchPendingSimulationReq(SimulationReqSearchBean searchBean)This method takes bean on which SimulationReqs can be loaded along Bean for this method accepts ID of simulationReq obj based on which we load previously existing reqsList<MngSysPolicyDto>findMngSysPolicies(MngSysPolicySearchBean searchBean, int from, int size)List<MngSysPolicyBean>findMngSysPolicyBeans(MngSysPolicySearchBean searchBean, int from, int size)List<DefaultReconciliationAttributeMap>getAllDefaultReconcileMap()ManagedSysListResponsegetAllManagedSys(int from, int size)AttributeMapgetAttributeMap(String attributeMapId)Gets the attribute map.List<AttributeMap>getAttributeMapsByManagedSysId(String managedSysId)ManagedSysDtogetManagedSys(String sysId)Returns a ManagedSys object for the specified systemId.ManagedSysDtogetManagedSysByResource(String resourceId)Gets the managed sys by resource.ManagedSysListResponsegetManagedSystems(ManagedSysSearchBean searchBean, int from, int size)Return a list of the ManagedSys object in the system by SearchBeanintgetManagedSystemsCount(ManagedSysSearchBean searchBean)List<MngSysPolicyDto>getMngSysPoliciesByMngSysId(String mngSysId)intgetMngSysPoliciesCount(MngSysPolicySearchBean searchBean)MngSysPolicyBeangetMngSysPolicyBeanById(String mngSysPolicyId)MngSysPolicyDtogetMngSysPolicyById(String mngSysPolicyId)SimulationReqListResponsegetSimulationReqs(SimulationReqSearchBean searchBean, int from, int size)This method takes bean on which SimulationReqs can be loaded along with from and size Bean accepts several params like ManagedSys id, userID, groupId etc.ManagedSystemObjectMatch[]managedSysObjectParam(String managedSystemId, String objectType)Finds objects for an object type (like User, Group) for a ManagedSystem definition.ResponsereindexManagedSystem(String id)Reindex a managed system in ElasticSearchResponseremoveAttributeMap(String attributeMapId)Removes the attribute map.ResponseremoveManagedSystem(String sysId)Removes a managed system entry from the system.ResponseremoveMngSysPolicy(String mngSysPolicyId)ResponseremoveSimulationReqs(List<String> ids)This method takes list of req ids to be removedResponsesaveManagedSystem(ManagedSysDto sys)Creates a new managed system entry into the system.ResponsesaveManagedSystemObjectMatch(ManagedSystemObjectMatch obj)ResponsesaveMngSysPolicyBean(MngSysPolicyBean mngSysPolicy)ResponseupdateAttributeMap(AttributeMap attributeMap)Updates attribute map.
-
-
-
Method Detail
-
getManagedSystemsCount
int getManagedSystemsCount(ManagedSysSearchBean searchBean)
- Parameters:
searchBean- - the search bean to filter an objects- Returns:
- the number of objects
-
getManagedSystems
ManagedSysListResponse getManagedSystems(ManagedSysSearchBean searchBean, int from, int size)
Return a list of the ManagedSys object in the system by SearchBean- Returns:
- the managed systems
-
reindexManagedSystem
Response reindexManagedSystem(String id)
Reindex a managed system in ElasticSearch
-
getManagedSys
ManagedSysDto getManagedSys(String sysId)
Returns a ManagedSys object for the specified systemId.- Parameters:
sysId- the sys id- Returns:
- the managed sys
-
getAllManagedSys
ManagedSysListResponse getAllManagedSys(int from, int size)
-
getAttributeMapsByManagedSysId
List<AttributeMap> getAttributeMapsByManagedSysId(String managedSysId)
-
getManagedSysByResource
ManagedSysDto getManagedSysByResource(String resourceId)
Gets the managed sys by resource.- Parameters:
resourceId- the resource id- Returns:
- the managed sys by resource
-
saveManagedSystem
Response saveManagedSystem(ManagedSysDto sys)
Creates a new managed system entry into the system. The ManagedSystemId is auto-generated. Required fields include:- ConnectorId
- DomainId
- Parameters:
sys- the sys
-
removeManagedSystem
Response removeManagedSystem(String sysId)
Removes a managed system entry from the system.- Parameters:
sysId- the sys id
-
managedSysObjectParam
ManagedSystemObjectMatch[] managedSysObjectParam(String managedSystemId, String objectType)
Finds objects for an object type (like User, Group) for a ManagedSystem definition.- Parameters:
managedSystemId- the managed system idobjectType- the object type- Returns:
- the managed system object match[]
-
saveManagedSystemObjectMatch
Response saveManagedSystemObjectMatch(ManagedSystemObjectMatch obj)
-
getAttributeMap
AttributeMap getAttributeMap(String attributeMapId)
Gets the attribute map.- Parameters:
attributeMapId- the attribute map id- Returns:
- the attribute map
-
addAttributeMap
Response addAttributeMap(AttributeMap attributeMap)
Adds the attribute map.- Parameters:
attributeMap- the attribute map- Returns:
- the attribute map
-
updateAttributeMap
Response updateAttributeMap(AttributeMap attributeMap)
Updates attribute map.- Parameters:
attributeMap- the attribute map- Returns:
- the attribute map
-
removeAttributeMap
Response removeAttributeMap(String attributeMapId)
Removes the attribute map.- Parameters:
attributeMapId- the attribute map id
-
getAllDefaultReconcileMap
List<DefaultReconciliationAttributeMap> getAllDefaultReconcileMap()
-
getMngSysPolicyById
MngSysPolicyDto getMngSysPolicyById(String mngSysPolicyId)
-
getMngSysPolicyBeanById
MngSysPolicyBean getMngSysPolicyBeanById(String mngSysPolicyId)
-
getMngSysPoliciesByMngSysId
List<MngSysPolicyDto> getMngSysPoliciesByMngSysId(String mngSysId)
-
findMngSysPolicies
List<MngSysPolicyDto> findMngSysPolicies(MngSysPolicySearchBean searchBean, int from, int size)
-
findMngSysPolicyBeans
List<MngSysPolicyBean> findMngSysPolicyBeans(MngSysPolicySearchBean searchBean, int from, int size)
-
getMngSysPoliciesCount
int getMngSysPoliciesCount(MngSysPolicySearchBean searchBean)
-
saveMngSysPolicyBean
Response saveMngSysPolicyBean(MngSysPolicyBean mngSysPolicy)
-
createDefaultPolicyMapForManagedSystem
Response createDefaultPolicyMapForManagedSystem(String mngSysPolicyId)
-
cloneManagedSystem
StringResponse cloneManagedSystem(CloneManagedSystemRequest cloneManagedSystemRequest)
-
removeSimulationReqs
Response removeSimulationReqs(List<String> ids)
This method takes list of req ids to be removed- Parameters:
ids-- Returns:
-
applySimulationReqs
Response applySimulationReqs(List<String> ids)
This method takes list of req ids that need to be executed to send to connector- Parameters:
ids-- Returns:
-
applySimulationReqsInSequence
Response applySimulationReqsInSequence(List<String> ids)
This method applies Req in sequence of Id provided. We fetch old requests pending for Entity Type and Entity Name and apply in sequence- Parameters:
ids-- Returns:
-
getSimulationReqs
SimulationReqListResponse getSimulationReqs(SimulationReqSearchBean searchBean, int from, int size)
This method takes bean on which SimulationReqs can be loaded along with from and size Bean accepts several params like ManagedSys id, userID, groupId etc.- Parameters:
searchBean-from-size-- Returns:
-
fetchPendingSimulationReq
SimulationReqListResponse fetchPendingSimulationReq(SimulationReqSearchBean searchBean)
This method takes bean on which SimulationReqs can be loaded along Bean for this method accepts ID of simulationReq obj based on which we load previously existing reqs- Parameters:
searchBean-- Returns:
-
-