@Service public class ModelWebService extends Object implements ModelPortType, ModelPort
ADD_OBJECT, CLASS_NAME_WITH_DOT, DELETE_OBJECT, GET_OBJECT, GET_PROPERTY_AVAILABLE_VALUES, IMPORT_FROM_RESOURCE, LIST_ACCOUNT_SHADOW_OWNER, LIST_OBJECTS, LIST_RESOURCE_OBJECT_SHADOWS, LIST_RESOURCE_OBJECTS, MODIFY_OBJECT, SEARCH_OBJECTS, TEST_RESOURCE
Constructor and Description |
---|
ModelWebService() |
Modifier and Type | Method and Description |
---|---|
void |
addObject(ObjectType objectType,
Holder<String> oidHolder,
Holder<OperationResultType> result)
Add new object.
|
OperationResultType |
deleteObject(String objectTypeUri,
String oid)
Deleted object with provided OID.
|
void |
getObject(String objectTypeUri,
String oid,
OperationOptionsType options,
Holder<ObjectType> objectHolder,
Holder<OperationResultType> resultHolder)
Returns object for provided OID.
|
TaskType |
importFromResource(String resourceOid,
QName objectClass)
TODO: update description
Launch import task that will import all the accounts from the
resource.
|
void |
listAccountShadowOwner(String accountOid,
Holder<UserType> userHolder,
Holder<OperationResultType> result)
Returns the User object representing owner of specified account
(account shadow).
|
void |
listObjects(String objectType,
PagingType paging,
OperationOptionsType options,
Holder<ObjectListType> objectListHolder,
Holder<OperationResultType> result)
Returns all objects of specified type in the repository.
|
void |
listResourceObjects(String resourceOid,
QName objectType,
PagingType paging,
Holder<ObjectListType> objectListTypeHolder,
Holder<OperationResultType> result)
WARNING:
This operation should not be here.
|
void |
listResourceObjectShadows(String resourceOid,
String resourceObjectShadowType,
Holder<ResourceObjectShadowListType> resourceObjectShadowListHolder,
Holder<OperationResultType> result)
Search for resource object shadows of a specified type that
belong to the specified resource.
|
OperationResultType |
modifyObject(String objectTypeUri,
ObjectModificationType change)
Modifies object using relative change description.
|
void |
searchObjects(String objectTypeUri,
QueryType query,
OperationOptionsType options,
Holder<ObjectListType> objectListHolder,
Holder<OperationResultType> result)
Search for objects in the repository.
|
OperationResultType |
testResource(String resourceOid)
WARNING:
This operation should not be here.
|
public void addObject(ObjectType objectType, Holder<String> oidHolder, Holder<OperationResultType> result) throws FaultMessage
ModelPortType
addObject
in interface ModelPortType
FaultMessage
public void getObject(String objectTypeUri, String oid, OperationOptionsType options, Holder<ObjectType> objectHolder, Holder<OperationResultType> resultHolder) throws FaultMessage
ModelPortType
getObject
in interface ModelPortType
FaultMessage
public void listObjects(String objectType, PagingType paging, OperationOptionsType options, Holder<ObjectListType> objectListHolder, Holder<OperationResultType> result) throws FaultMessage
ModelPortType
listObjects
in interface ModelPortType
FaultMessage
public void searchObjects(String objectTypeUri, QueryType query, OperationOptionsType options, Holder<ObjectListType> objectListHolder, Holder<OperationResultType> result) throws FaultMessage
ModelPortType
searchObjects
in interface ModelPortType
FaultMessage
public OperationResultType modifyObject(String objectTypeUri, ObjectModificationType change) throws FaultMessage
ModelPortType
modifyObject
in interface ModelPortType
FaultMessage
public OperationResultType deleteObject(String objectTypeUri, String oid) throws FaultMessage
ModelPortType
deleteObject
in interface ModelPortType
FaultMessage
public void listAccountShadowOwner(String accountOid, Holder<UserType> userHolder, Holder<OperationResultType> result) throws FaultMessage
ModelPortType
listAccountShadowOwner
in interface ModelPortType
FaultMessage
public void listResourceObjectShadows(String resourceOid, String resourceObjectShadowType, Holder<ResourceObjectShadowListType> resourceObjectShadowListHolder, Holder<OperationResultType> result) throws FaultMessage
ModelPortType
listResourceObjectShadows
in interface ModelPortType
FaultMessage
public void listResourceObjects(String resourceOid, QName objectType, PagingType paging, Holder<ObjectListType> objectListTypeHolder, Holder<OperationResultType> result) throws FaultMessage
ModelPortType
listResourceObjects
in interface ModelPortType
FaultMessage
public OperationResultType testResource(String resourceOid) throws FaultMessage
ModelPortType
testResource
in interface ModelPortType
FaultMessage
public TaskType importFromResource(String resourceOid, QName objectClass) throws FaultMessage
ModelPortType
importFromResource
in interface ModelPortType
FaultMessage
Copyright © 2013 evolveum. All rights reserved.