|
||||||||||
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 RepositoryService
object
- 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 violationpublic ObjectType getObject(java.lang.String oid, PropertyReferenceListType resolve, OperationResult parentResult) throws ObjectNotFoundException, SchemaException
RepositoryService
getObject
in interface RepositoryService
oid
- 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 schemapublic ObjectListType listObjects(java.lang.Class objectType, PagingType paging, OperationResult parentResult)
RepositoryService
listObjects
in interface RepositoryService
paging
- 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 RepositoryService
query
- search querypaging
- paging specification to limit operation result (optional)parentResult
- parent OperationResult (in/out)
SchemaException
- unknown property used in search querypublic void modifyObject(ObjectModificationType objectChange, OperationResult parentResult) throws ObjectNotFoundException, SchemaException
RepositoryService
modifyObject
in interface RepositoryService
objectChange
- specification of object changesparentResult
- parent OperationResult (in/out)
ObjectNotFoundException
- specified object does not exist
SchemaException
- resulting object would violate the schemapublic void deleteObject(java.lang.String oid, OperationResult parentResult) throws ObjectNotFoundException
RepositoryService
deleteObject
in interface RepositoryService
oid
- OID of object to deleteparentResult
- parent OperationResult (in/out)
ObjectNotFoundException
- specified object does not existpublic PropertyAvailableValuesListType getPropertyAvailableValues(java.lang.String oid, PropertyReferenceListType properties, OperationResult parentResult) throws ObjectNotFoundException
RepositoryService
getPropertyAvailableValues
in interface RepositoryService
oid
- 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 existpublic UserType listAccountShadowOwner(java.lang.String accountOid, OperationResult parentResult) throws ObjectNotFoundException
RepositoryService
listAccountShadowOwner
in interface RepositoryService
accountOid
- OID of account shadowparentResult
- parentResult parent OperationResult (in/out)
ObjectNotFoundException
- specified object does not existpublic <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 RepositoryService
resourceOid
- OID of resource definition (ResourceType)parentResult
- parentResult parent OperationResult (in/out)
ObjectNotFoundException
- specified object does not existpublic void claimTask(java.lang.String oid, OperationResult parentResult) throws ObjectNotFoundException, ConcurrencyException, SchemaException
RepositoryService
claimTask
in interface RepositoryService
oid
- 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 schemapublic void releaseTask(java.lang.String oid, OperationResult parentResult) throws ObjectNotFoundException, SchemaException
RepositoryService
releaseTask
in interface RepositoryService
oid
- 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 |