|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.evolveum.midpoint.repo.xml.XmlRepositoryService
public class XmlRepositoryService
| Method Summary | ||
|---|---|---|
java.lang.String |
addObject(ObjectType object,
OperationResult parentResult)
Add new object. |
|
void |
claimTask(java.lang.String oid,
OperationResult parentResult)
Claim a task. |
|
void |
deleteObject(java.lang.String oid,
OperationResult parentResult)
Deletes object with specified OID. |
|
ObjectType |
getObject(java.lang.String oid,
PropertyReferenceListType resolve,
OperationResult parentResult)
Returns object for provided OID. |
|
PropertyAvailableValuesListType |
getPropertyAvailableValues(java.lang.String oid,
PropertyReferenceListType properties,
OperationResult parentResult)
Returns list of available values for specified properties. |
|
UserType |
listAccountShadowOwner(java.lang.String accountOid,
OperationResult parentResult)
Returns the User object representing owner of specified account (account shadow). |
|
ObjectListType |
listObjects(java.lang.Class objectType,
PagingType paging,
OperationResult parentResult)
Returns all objects of specified type in the repository. |
|
|
listResourceObjectShadows(java.lang.String resourceOid,
java.lang.Class<T> resourceObjectShadowType,
OperationResult parentResult)
Search for resource object shadows of a specified type that belong to the specified resource. |
|
void |
modifyObject(ObjectModificationType objectChange,
OperationResult parentResult)
Modifies object using relative change description. |
|
void |
releaseTask(java.lang.String oid,
OperationResult parentResult)
Release a claimed task. |
|
ObjectListType |
searchObjects(QueryType query,
PagingType paging,
OperationResult parentResult)
Search for objects in the repository. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String addObject(ObjectType object,
OperationResult parentResult)
throws ObjectAlreadyExistsException,
SchemaException
RepositoryService
addObject in interface RepositoryServiceobject - object to createparentResult - parent OperationResult (in/out)
ObjectAlreadyExistsException - object with specified identifiers already exists, cannot add
SchemaException - error dealing with storage schema, e.g. schema violation
public ObjectType getObject(java.lang.String oid,
PropertyReferenceListType resolve,
OperationResult parentResult)
throws ObjectNotFoundException,
SchemaException
RepositoryService
getObject in interface RepositoryServiceoid - OID of the object to getresolve - list of properties to resolve in the fetched object
ObjectNotFoundException - requested object does not exist
SchemaException - error dealing with storage schema
public ObjectListType listObjects(java.lang.Class objectType,
PagingType paging,
OperationResult parentResult)
RepositoryService
listObjects in interface RepositoryServicepaging - paging specification to limit operation result (optional)parentResult - parent OperationResult (in/out)
public ObjectListType searchObjects(QueryType query,
PagingType paging,
OperationResult parentResult)
throws SchemaException
RepositoryService
searchObjects in interface RepositoryServicequery - search querypaging - paging specification to limit operation result (optional)parentResult - parent OperationResult (in/out)
SchemaException - unknown property used in search query
public void modifyObject(ObjectModificationType objectChange,
OperationResult parentResult)
throws ObjectNotFoundException,
SchemaException
RepositoryService
modifyObject in interface RepositoryServiceobjectChange - specification of object changesparentResult - parent OperationResult (in/out)
ObjectNotFoundException - specified object does not exist
SchemaException - resulting object would violate the schema
public void deleteObject(java.lang.String oid,
OperationResult parentResult)
throws ObjectNotFoundException
RepositoryService
deleteObject in interface RepositoryServiceoid - OID of object to deleteparentResult - parent OperationResult (in/out)
ObjectNotFoundException - specified object does not exist
public PropertyAvailableValuesListType getPropertyAvailableValues(java.lang.String oid,
PropertyReferenceListType properties,
OperationResult parentResult)
throws ObjectNotFoundException
RepositoryService
getPropertyAvailableValues in interface RepositoryServiceoid - OID of the object for which to determine valuesproperties - list of properties for which to determine valuesparentResult - parentResult parent OperationResult (in/out)
ObjectNotFoundException - specified object does not exist
public UserType listAccountShadowOwner(java.lang.String accountOid,
OperationResult parentResult)
throws ObjectNotFoundException
RepositoryService
listAccountShadowOwner in interface RepositoryServiceaccountOid - OID of account shadowparentResult - parentResult parent OperationResult (in/out)
ObjectNotFoundException - specified object does not exist
public <T extends ResourceObjectShadowType> java.util.List<T> listResourceObjectShadows(java.lang.String resourceOid,
java.lang.Class<T> resourceObjectShadowType,
OperationResult parentResult)
throws ObjectNotFoundException
RepositoryService
listResourceObjectShadows in interface RepositoryServiceresourceOid - OID of resource definition (ResourceType)parentResult - parentResult parent OperationResult (in/out)
ObjectNotFoundException - specified object does not exist
public void claimTask(java.lang.String oid,
OperationResult parentResult)
throws ObjectNotFoundException,
ConcurrencyException,
SchemaException
RepositoryService
claimTask in interface RepositoryServiceoid - task OIDparentResult - parentResult parent OperationResult (in/out)
ObjectNotFoundException - the task with specified OID was not found
ConcurrencyException - attempt to claim already claimed task
SchemaException - error dealing with storage schema
public void releaseTask(java.lang.String oid,
OperationResult parentResult)
throws ObjectNotFoundException,
SchemaException
RepositoryService
releaseTask in interface RepositoryServiceoid - task OIDparentResult - parentResult parent OperationResult (in/out)
ObjectNotFoundException - the task with specified OID was not found
SchemaException - error dealing with storage schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||