Package org.openiam.srvc.idm
Interface ManagedSystemWebService
-
- All Known Implementing Classes:
ManagedSystemWebServiceImpl
public interface ManagedSystemWebService
Interface forManagedSystemWebService
- Author:
- suneet shah
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Response
addAttributeMap(AttributeMap attributeMap)
Adds the attribute map.Response
applySimulationReqs(List<String> ids)
This method takes list of req ids that need to be executed to send to connectorResponse
applySimulationReqsInSequence(List<String> ids)
This method applies Req in sequence of Id provided.StringResponse
cloneManagedSystem(CloneManagedSystemRequest cloneManagedSystemRequest)
Response
createDefaultPolicyMapForManagedSystem(String mngSysPolicyId)
String
decryptPassword(String sysId, String encryptedPassword)
Response
deleteAttributesMapList(List<String> ids)
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 reqsList<MngSysPolicyDto>
findMngSysPolicies(MngSysPolicySearchBean searchBean, int from, int size)
List<MngSysPolicyBean>
findMngSysPolicyBeans(MngSysPolicySearchBean searchBean, int from, int size)
List<DefaultReconciliationAttributeMap>
getAllDefaultReconcileMap()
ManagedSysListResponse
getAllManagedSys(int from, int size)
AttributeMap
getAttributeMap(String attributeMapId)
Gets the attribute map.List<AttributeMap>
getAttributeMapsByManagedSysId(String managedSysId)
ManagedSysDto
getManagedSys(String sysId)
Returns a ManagedSys object for the specified systemId.ManagedSysDto
getManagedSysByResource(String resourceId)
Gets the managed sys by resource.ManagedSysListResponse
getManagedSystems(ManagedSysSearchBean searchBean, int from, int size)
Return a list of the ManagedSys object in the system by SearchBeanint
getManagedSystemsCount(ManagedSysSearchBean searchBean)
List<MngSysPolicyDto>
getMngSysPoliciesByMngSysId(String mngSysId)
int
getMngSysPoliciesCount(MngSysPolicySearchBean searchBean)
MngSysPolicyBean
getMngSysPolicyBeanById(String mngSysPolicyId)
MngSysPolicyDto
getMngSysPolicyById(String mngSysPolicyId)
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.ManagedSystemObjectMatch[]
managedSysObjectParam(String managedSystemId, String objectType)
Finds objects for an object type (like User, Group) for a ManagedSystem definition.Response
reindexManagedSystem(String id)
Reindex a managed system in ElasticSearchResponse
removeAttributeMap(String attributeMapId)
Removes the attribute map.Response
removeManagedSystem(String sysId)
Removes a managed system entry from the system.Response
removeMngSysPolicy(String mngSysPolicyId)
Response
removeSimulationReqs(List<String> ids)
This method takes list of req ids to be removedResponse
saveManagedSystem(ManagedSysDto sys)
Creates a new managed system entry into the system.Response
saveManagedSystemObjectMatch(ManagedSystemObjectMatch obj)
Response
saveMngSysPolicyBean(MngSysPolicyBean mngSysPolicy)
Response
updateAttributeMap(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:
-
-