Modifier and Type | Method and Description |
---|---|
<T extends ObjectType> |
ModelCrudService.addObject(PrismObject<T> object,
Task task,
OperationResult parentResult)
Add new object.
|
<O extends ObjectType> |
ModelObjectResolver.countObjects(Class<O> type,
ObjectQuery query,
OperationResult parentResult) |
<T extends ObjectType> |
ModelCrudService.deleteObject(Class<T> clazz,
String oid,
Task task,
OperationResult parentResult)
Deletes object with specified OID.
|
<T extends ObjectType> |
ModelCrudService.getObject(Class<T> clazz,
String oid,
Collection<SelectorOptions<GetOperationOptions>> options,
Task task,
OperationResult parentResult) |
<T extends ObjectType> |
ModelObjectResolver.getObject(Class<T> clazz,
String oid,
GetOperationOptions options,
Task task,
OperationResult result) |
void |
ModelCrudService.importFromResource(String resourceOid,
QName objectClass,
Task task,
OperationResult parentResult) |
List<PrismObject<? extends ShadowType>> |
ModelCrudService.listResourceObjects(String resourceOid,
QName objectClass,
ObjectPaging paging,
Task task,
OperationResult parentResult) |
<T extends ObjectType> |
ModelCrudService.modifyObject(Class<T> type,
String oid,
Collection<? extends ItemDelta> modifications,
Task task,
OperationResult parentResult)
Modifies object using relative change description.
|
<O extends ObjectType> |
ModelObjectResolver.searchIterative(Class<O> type,
ObjectQuery query,
ResultHandler<O> handler,
OperationResult parentResult) |
<T extends ObjectType> |
ModelCrudService.searchObjects(Class<T> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
Task task,
OperationResult parentResult) |
Modifier and Type | Method and Description |
---|---|
<T extends ObjectType> |
ModelService.countObjects(Class<T> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
Task task,
OperationResult parentResult) |
void |
ModelService.executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas,
ModelExecuteOptions options,
Task task,
OperationResult parentResult)
Execute the provided object deltas.
|
<T extends ObjectType> |
ModelService.getObject(Class<T> type,
String oid,
Collection<SelectorOptions<GetOperationOptions>> options,
Task task,
OperationResult result)
Returns object for provided OID.
|
void |
ModelService.importFromResource(String resourceOid,
QName objectClass,
Task task,
OperationResult parentResult)
Import accounts from resource.
|
List<PrismObject<? extends ShadowType>> |
ModelService.listResourceObjects(String resourceOid,
QName objectClass,
ObjectPaging paging,
Task task,
OperationResult result)
Returns all resource objects of specified type that are currently
available to the system.
|
<F extends ObjectType,P extends ObjectType> |
ModelInteractionService.previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas,
ModelExecuteOptions options,
Task task,
OperationResult result)
Computes the most likely changes triggered by the provided delta.
|
<F extends FocusType> |
ModelService.recompute(Class<F> type,
String oid,
Task task,
OperationResult parentResult)
Recomputes focal object with the specified OID.
|
<T extends ObjectType> |
ModelService.searchObjects(Class<T> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
Task task,
OperationResult parentResult)
Search for objects.
|
<T extends ObjectType> |
ModelService.searchObjectsIterative(Class<T> type,
ObjectQuery query,
ResultHandler<T> handler,
Collection<SelectorOptions<GetOperationOptions>> options,
Task task,
OperationResult parentResult) |
<F extends ObjectType,P extends ObjectType> |
ModelInteractionService.unwrapModelContext(LensContextType wrappedContext,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
<T> int |
MidpointFunctionsImpl.countAccounts(ResourceType resourceType,
QName attributeName,
T attributeValue) |
<T> int |
MidpointFunctionsImpl.countAccounts(ResourceType resourceType,
String attributeName,
T attributeValue) |
<T> int |
MidpointFunctionsImpl.countAccounts(String resourceOid,
QName attributeName,
T attributeValue) |
<O extends ObjectType> |
MidpointFunctionsImpl.getObject(Class<O> type,
String oid) |
<T> boolean |
MidpointFunctionsImpl.isUniqueAccountValue(ResourceType resourceType,
ShadowType shadowType,
String attributeName,
T attributeValue) |
Modifier and Type | Method and Description |
---|---|
<F extends ObjectType,P extends ObjectType> |
ContextLoader.load(LensContext<F,P> context,
String activityDescription,
OperationResult result) |
<F extends ObjectType,P extends ObjectType> |
ContextLoader.makeSureProjectionIsLoaded(LensContext<F,P> context,
LensProjectionContext<P> projectionContext,
OperationResult result)
Make sure that the projection context is loaded as approppriate.
|
<F extends ObjectType,P extends ObjectType> |
AccountValuesProcessor.process(LensContext<F,P> context,
LensProjectionContext<P> projectionContext,
String activityDescription,
OperationResult result) |
void |
AccountValuesProcessor.processAccounts(LensContext<UserType,ShadowType> context,
LensProjectionContext<ShadowType> accountContext,
String activityDescription,
OperationResult result) |
void |
AssignmentProcessor.processAssignmentsAccounts(LensContext<UserType,ShadowType> context,
OperationResult result)
Processing user-account assignments (including roles).
|
<F extends ObjectType,P extends ObjectType> |
AssignmentProcessor.processAssignmentsProjections(LensContext<F,P> context,
OperationResult result)
Processing all the assignments to determine which projections should be added, deleted or kept as they are.
|
<F extends ObjectType,P extends ShadowType> |
Projector.project(LensContext<F,P> context,
String activityDescription,
OperationResult parentResult) |
Modifier and Type | Method and Description |
---|---|
String |
Action.executeChanges(String userOid,
ResourceObjectShadowChangeDescription change,
ObjectTemplateType userTemplate,
SynchronizationSituationType situation,
Task task,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
protected <O extends ObjectType> |
AbstractModelIntegrationTest.addObject(File file) |
protected <O extends ObjectType> |
AbstractModelIntegrationTest.addObject(PrismObject<O> object) |
protected void |
AbstractModelIntegrationTest.addTrigger(String oid,
XMLGregorianCalendar timestamp,
String uri) |
protected void |
AbstractModelIntegrationTest.assertAccount(PrismObject<UserType> user,
String resourceOid) |
protected void |
AbstractModelIntegrationTest.assertHasShadow(String username,
PrismObject<ResourceType> resource,
Task task,
OperationResult result) |
protected <O extends ObjectType> |
AbstractModelIntegrationTest.assertNoObject(Class<O> type,
String oid,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assertNoShadow(String username,
PrismObject<ResourceType> resource,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assertUsers(int expectedNumberOfUsers) |
protected void |
AbstractModelIntegrationTest.assignAccount(String userOid,
String resourceOid,
String intent,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assignOrg(String userOid,
String orgOid,
QName relation,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assignOrg(String userOid,
String orgOid,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assignRole(String userOid,
String roleOid,
PrismContainer<?> extension,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assignRole(String userOid,
String roleOid,
Task task,
OperationResult result) |
protected ObjectDelta<ShadowType> |
AbstractModelIntegrationTest.createModifyAccountShadowReplaceAttributeDelta(String accountOid,
PrismObject<ResourceType> resource,
QName attributeName,
Object... newRealValue) |
protected ObjectDelta<ShadowType> |
AbstractModelIntegrationTest.createModifyAccountShadowReplaceAttributeDelta(String accountOid,
PrismObject<ResourceType> resource,
String attributeName,
Object... newRealValue) |
protected ObjectDelta<ShadowType> |
AbstractModelIntegrationTest.createModifyAccountShadowReplaceDelta(String accountOid,
PrismObject<ResourceType> resource,
ItemPath itemPath,
Object... newRealValue) |
protected ObjectDelta<UserType> |
AbstractModelIntegrationTest.createModifyUserDeleteAccount(String userOid,
PrismObject<ResourceType> resource) |
protected ObjectDelta<UserType> |
AbstractModelIntegrationTest.createModifyUserUnlinkAccount(String userOid,
PrismObject<ResourceType> resource) |
protected <O extends ObjectType> |
AbstractModelIntegrationTest.deleteObject(Class<O> type,
String oid,
Task task,
OperationResult result) |
protected PrismObject<ShadowType> |
AbstractModelIntegrationTest.findAccountByUsername(String username,
PrismObject<ResourceType> resource) |
protected PrismObject<ShadowType> |
AbstractModelIntegrationTest.findAccountByUsername(String username,
PrismObject<ResourceType> resource,
Task task,
OperationResult result) |
protected PrismObject<UserType> |
AbstractModelIntegrationTest.findUserByUsername(String username) |
protected PrismObject<ShadowType> |
AbstractModelIntegrationTest.getAccount(String accountOid) |
protected PrismObject<ShadowType> |
AbstractModelIntegrationTest.getAccount(String accountOid,
boolean noFetch,
boolean assertSuccess) |
protected PrismObject<ShadowType> |
AbstractModelIntegrationTest.getAccountNoFetch(String accountOid) |
protected String |
AbstractModelIntegrationTest.getAccountRef(PrismObject<UserType> user,
String resourceOid) |
protected String |
AbstractModelIntegrationTest.getAccountRef(String userOid,
String resourceOid) |
protected PrismObject<TaskType> |
AbstractModelIntegrationTest.getTask(String taskOid) |
protected PrismObject<UserType> |
AbstractModelIntegrationTest.getUser(String userOid) |
protected <T extends ObjectType> |
AbstractModelIntegrationTest.importAndGetObjectFromFile(Class<T> type,
File file,
String oid,
Task task,
OperationResult result) |
protected <T extends ObjectType> |
AbstractModelIntegrationTest.importAndGetObjectFromFile(Class<T> type,
String filename,
String oid,
Task task,
OperationResult result) |
protected Collection<PrismObject<ShadowType>> |
AbstractModelIntegrationTest.listAccounts(PrismObject<ResourceType> resource,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.modifyAccountShadowReplace(String accountOid,
ItemPath propertyPath,
Task task,
OperationResult result,
Object... newRealValue) |
protected void |
AbstractModelIntegrationTest.modifyUserAssignment(String userOid,
String roleOid,
QName refType,
QName relation,
Task task,
PrismContainer<?> extension,
boolean add,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.modifyUserDelete(String userOid,
ItemPath propertyPath,
Task task,
OperationResult result,
Object... newRealValue) |
protected void |
AbstractModelIntegrationTest.modifyUserReplace(String userOid,
ItemPath propertyPath,
Task task,
OperationResult result,
Object... newRealValue) |
protected void |
AbstractModelIntegrationTest.modifyUserReplace(String userOid,
QName propertyName,
Task task,
OperationResult result,
Object... newRealValue) |
protected void |
AbstractModelIntegrationTest.purgeResourceSchema(String resourceOid) |
protected List<PrismObject<OrgType>> |
AbstractModelIntegrationTest.searchOrg(String baseOrgOid,
Integer minDepth,
Integer maxDepth,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.setSecurityContextUser(String userOid) |
protected void |
AbstractModelIntegrationTest.unassignAccount(String userOid,
String resourceOid,
String intent,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.unassignAll(String userOid,
Task task,
OperationResult result)
Executes assignment replace delta with empty values.
|
protected void |
AbstractModelIntegrationTest.unassignOrg(String userOid,
String orgOid,
QName relation,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.unassignOrg(String userOid,
String orgOid,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.unassignRole(String userOid,
String roleOid,
PrismContainer<?> extension,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.unassignRole(String userOid,
String roleOid,
Task task,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
static ResourceType |
Utils.getResource(ShadowType shadow,
ProvisioningService provisioning,
OperationResult result) |
static void |
Utils.resolveResource(ShadowType shadow,
ProvisioningService provisioning,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
<T extends ObjectType> |
ProvisioningService.addObject(PrismObject<T> object,
OperationProvisioningScriptsType scripts,
ProvisioningOperationOptions options,
Task task,
OperationResult parentResult)
Add new object.
|
<T extends ObjectType> |
ProvisioningService.applyDefinition(ObjectDelta<T> delta,
Objectable object,
OperationResult parentResult)
Applies appropriate definition to the shadow/resource delta (uses provided object to get necessary information)
|
<T extends ObjectType> |
ProvisioningService.applyDefinition(ObjectDelta<T> delta,
OperationResult parentResult)
Applies appropriate definition to the shadow/resource delta.
|
<T extends ObjectType> |
ProvisioningService.applyDefinition(PrismObject<T> shadow,
OperationResult parentResult)
Applies appropriate definition to the shadow.
|
<T extends ObjectType> |
ProvisioningService.countObjects(Class<T> type,
ObjectQuery query,
OperationResult parentResult) |
<T extends ObjectType> |
ProvisioningService.deleteObject(Class<T> type,
String oid,
ProvisioningOperationOptions option,
OperationProvisioningScriptsType scripts,
Task task,
OperationResult parentResult)
Deletes object with specified OID.
|
<T extends ObjectType> |
ProvisioningService.executeScript(String resourceOid,
ProvisioningScriptType script,
Task task,
OperationResult parentResult)
Executes a single provisioning script.
|
<T extends ShadowType> |
ProvisioningService.finishOperation(PrismObject<T> object,
ProvisioningOperationOptions options,
Task task,
OperationResult parentResult) |
<T extends ObjectType> |
ProvisioningService.getObject(Class<T> type,
String oid,
GetOperationOptions options,
Task task,
OperationResult parentResult)
Returns object for provided OID.
|
List<PrismObject<? extends ShadowType>> |
ProvisioningService.listResourceObjects(String resourceOid,
QName objectClass,
ObjectPaging paging,
OperationResult parentResult)
Lists resource objects.
|
<T extends ObjectType> |
ProvisioningService.modifyObject(Class<T> type,
String oid,
Collection<? extends ItemDelta> modifications,
OperationProvisioningScriptsType scripts,
ProvisioningOperationOptions options,
Task task,
OperationResult parentResult)
Modifies object using relative change description.
|
<T extends ObjectType> |
ProvisioningService.searchObjects(Class<T> type,
ObjectQuery query,
OperationResult parentResult)
Search for objects.
|
<T extends ObjectType> |
ProvisioningService.searchObjectsIterative(Class<T> type,
ObjectQuery query,
ResultHandler<T> handler,
OperationResult parentResult)
Search for objects iteratively.
|
int |
ProvisioningService.synchronize(String resourceOid,
QName objectClass,
Task task,
OperationResult parentResult)
Collect external changes on a resource and call the business logic with
the accumulated change data.
|
Modifier and Type | Method and Description |
---|---|
abstract <T extends ShadowType> |
ErrorHandler.handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult) |
Modifier and Type | Method and Description |
---|---|
<T extends ShadowType> |
SchemaExceptionHandler.handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult) |
<T extends ShadowType> |
ConfigurationExceptionHandler.handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult) |
<T extends ShadowType> |
ObjectAlreadyExistHandler.handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult) |
<T extends ShadowType> |
SecurityViolationHandler.handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult) |
<T extends ShadowType> |
ObjectNotFoundHandler.handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult) |
<T extends ShadowType> |
CommunicationExceptionHandler.handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult) |
<T extends ShadowType> |
GenericErrorHandler.handleError(T shadow,
ErrorHandler.FailedOperation op,
Exception ex,
boolean compensate,
Task task,
OperationResult parentResult) |
Modifier and Type | Method and Description |
---|---|
Collection<ResourceAttribute<?>> |
ConnectorInstance.addObject(PrismObject<? extends ShadowType> object,
Collection<Operation> additionalOperations,
OperationResult parentResult)
TODO: This should return indication how the operation went, e.g.
|
void |
ConnectorInstance.configure(PrismContainerValue<?> configuration,
OperationResult parentResult)
The connector instance will be configured to the state that it can
immediately access the resource.
|
Collection<Object> |
ConnectorInstance.fetchCapabilities(OperationResult parentResult)
Retrieves native connector capabilities.
|
<T extends ShadowType> |
ConnectorInstance.fetchChanges(ObjectClassComplexTypeDefinition objectClass,
PrismProperty<?> lastToken,
OperationResult parentResult)
Token may be null.
|
<T extends ShadowType> |
ConnectorInstance.fetchObject(Class<T> type,
ObjectClassComplexTypeDefinition objectClassDefinition,
Collection<? extends ResourceAttribute<?>> identifiers,
AttributesToReturn attributesToReturn,
OperationResult parentResult)
Retrieves a specific object from the resource.
|
ResourceSchema |
ConnectorInstance.fetchResourceSchema(List<QName> generateObjectClasses,
OperationResult parentResult)
Retrieves the schema from the resource.
|
void |
ConnectorInstance.initialize(ResourceSchema resourceSchema,
Collection<Object> capabilities,
OperationResult parentResult)
Get necessary information from the remote system.
|
Modifier and Type | Method and Description |
---|---|
Collection<ResourceAttribute<?>> |
ConnectorInstanceIcfImpl.addObject(PrismObject<? extends ShadowType> object,
Collection<Operation> additionalOperations,
OperationResult parentResult) |
void |
ConnectorInstanceIcfImpl.configure(PrismContainerValue<?> configuration,
OperationResult parentResult) |
Collection<Object> |
ConnectorInstanceIcfImpl.fetchCapabilities(OperationResult parentResult) |
<T extends ShadowType> |
ConnectorInstanceIcfImpl.fetchChanges(ObjectClassComplexTypeDefinition objectClass,
PrismProperty<?> lastToken,
OperationResult parentResult) |
<T extends ShadowType> |
ConnectorInstanceIcfImpl.fetchObject(Class<T> type,
ObjectClassComplexTypeDefinition objectClassDefinition,
Collection<? extends ResourceAttribute<?>> identifiers,
AttributesToReturn attributesToReturn,
OperationResult parentResult) |
ResourceSchema |
ConnectorInstanceIcfImpl.fetchResourceSchema(List<QName> generateObjectClasses,
OperationResult parentResult) |
void |
ConnectorInstanceIcfImpl.initialize(ResourceSchema resourceSchema,
Collection<Object> capabilities,
OperationResult parentResult) |
Modifier and Type | Method and Description |
---|---|
static void |
IntegrationTestTools.checkAllShadows(ResourceType resourceType,
RepositoryService repositoryService,
ObjectChecker<ShadowType> checker,
PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
ModelContext |
WfTaskUtil.retrieveModelContext(Task task,
OperationResult result) |
Copyright © 2013 evolveum. All rights reserved.