com.evolveum.midpoint.web.model.impl
Class ResourceManagerImpl
java.lang.Object
com.evolveum.midpoint.web.model.impl.ObjectManagerImpl<ResourceType,GuiResourceDto>
com.evolveum.midpoint.web.model.impl.ResourceManagerImpl
- All Implemented Interfaces:
- ObjectManager<GuiResourceDto>, ResourceManager, java.io.Serializable
public class ResourceManagerImpl
- extends ObjectManagerImpl<ResourceType,GuiResourceDto>
- implements ResourceManager
- See Also:
- Serialized Form
Methods inherited from class com.evolveum.midpoint.web.model.impl.ObjectManagerImpl |
add, create, delete, get, get, getModel, getPropertyAvailableValues, getTaskManager, list, list, list |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceManagerImpl
public ResourceManagerImpl()
getSupportedObjectClass
protected java.lang.Class<? extends ObjectType> getSupportedObjectClass()
- Specified by:
getSupportedObjectClass
in class ObjectManagerImpl<ResourceType,GuiResourceDto>
createObject
protected GuiResourceDto createObject(ResourceType objectType)
- Specified by:
createObject
in class ObjectManagerImpl<ResourceType,GuiResourceDto>
submit
public java.util.Set<PropertyChange> submit(GuiResourceDto changedObject,
OperationResult parentResult)
- Description copied from interface:
ObjectManager
- Modify the object.
The method will change the object to a new state. It is not guaranteed
that the object will be in the state specified by changedObject parameter
when stored in the repository because many updates may be running in
parallel.
TODO Should not be normally used.
- Specified by:
submit
in interface ObjectManager<GuiResourceDto>
- Parameters:
changedObject
- new state of the object
- Returns:
- relative changes that will be applied to the object
list
public java.util.Collection<GuiResourceDto> list(PagingType paging)
- Description copied from interface:
ObjectManager
- List objects according to paging parameters.
- Specified by:
list
in interface ObjectManager<GuiResourceDto>
- Returns:
- all objects from the repository.
listConnectors
public java.util.Collection<ConnectorDto> listConnectors()
- Specified by:
listConnectors
in interface ResourceManager
listObjectShadows
public <T extends ResourceObjectShadowType> java.util.List<ResourceObjectShadowDto<T>> listObjectShadows(java.lang.String oid,
java.lang.Class<T> resourceObjectShadowType)
- Specified by:
listObjectShadows
in interface ResourceManager
testConnection
public OperationResult testConnection(java.lang.String resourceOid)
- Specified by:
testConnection
in interface ResourceManager
importFromResource
public void importFromResource(java.lang.String resourceOid,
javax.xml.namespace.QName objectClass)
- Specified by:
importFromResource
in interface ResourceManager
listResourceObjects
public java.util.Collection<ResourceObjectShadowDto<ResourceObjectShadowType>> listResourceObjects(java.lang.String resourceOid,
javax.xml.namespace.QName objectClass,
PagingType paging)
- Specified by:
listResourceObjects
in interface ResourceManager
getConnector
public ConnectorDto getConnector(java.lang.String oid)
- Specified by:
getConnector
in interface ResourceManager
listConnectorHosts
public java.util.Collection<ConnectorHostDto> listConnectorHosts()
- Specified by:
listConnectorHosts
in interface ResourceManager
discoverConnectorsOnHost
public void discoverConnectorsOnHost(ConnectorHostDto connectorHost)
- Specified by:
discoverConnectorsOnHost
in interface ResourceManager
Copyright © 2011 evolveum. All Rights Reserved.