Modifier and Type | Method and Description |
---|---|
static QueryType |
QueryUtil.createAttributeQuery(PrismProperty<?> attribute,
QName objectClass,
ResourceType resourceType,
PrismContext prismContext) |
static Element |
QueryUtil.createEqualFilter(Document doc,
XPathHolder xpath,
Object object)
Creates "equal" filter segment for single-valued properties based on DOM representation.
|
static Element |
QueryUtil.createEqualFilter(Document doc,
XPathHolder xpath,
QName propertyName,
QName value)
Creates "equal" filter segment for single-valued properties with QName content.
|
static Element |
QueryUtil.createEqualFilter(Document doc,
XPathHolder xpath,
QName properyName,
String value)
Creates "equal" filter segment for single-valued properties with string content.
|
static Element |
QueryUtil.createEqualFilterFromElements(Document doc,
XPathHolder xpath,
List<?> values,
PrismContext prismContext)
Creates "equal" filter segment for multi-valued properties based on DOM representation.
|
static Element |
QueryUtil.createEqualRefFilter(Document doc,
XPathHolder xpath,
QName propertyName,
String oid)
Creates "equal" filter for object reference.
|
static ObjectQuery |
QueryUtil.createNameQuery(ObjectType object) |
static ObjectQuery |
QueryUtil.createNameQuery(PolyString name,
PrismContext prismContext) |
static ObjectQuery |
QueryUtil.createNameQuery(PolyStringType name,
PrismContext prismContext) |
static <O extends ObjectType> |
QueryUtil.createNameQuery(PrismObject<O> object) |
static QueryType |
QueryUtil.createResourceAndAccountQuery(ResourceType resource,
QName objectClass,
String accountType) |
static QueryType |
QueryUtil.createResourceAndAccountQuery(String resourceOid,
QName objectClass,
String accountType) |
static Element |
QueryUtil.createSubstringFilter(Document document,
XPathHolder xpath,
QName propertyName,
String searchText) |
Modifier and Type | Class and Description |
---|---|
class |
ExpressionSyntaxException |
Modifier and Type | Method and Description |
---|---|
static <T extends ObjectType> |
ObjectDeltaObject.create(PrismObject<T> oldObject,
ItemDelta<?>... itemDeltas) |
static <T extends ObjectType> |
ObjectDeltaObject.create(PrismObject<T> oldObject,
ObjectDelta<T> delta) |
<V extends PrismValue> |
ExpressionEvaluatorFactory.createEvaluator(Collection<JAXBElement<?>> evaluatorElements,
ItemDefinition outputDefinition,
String contextDescription,
OperationResult result) |
PrismValueDeltaSetTriple<V> |
Expression.evaluate(ExpressionEvaluationContext context) |
PrismValueDeltaSetTriple<V> |
ExpressionEvaluator.evaluate(ExpressionEvaluationContext parameters) |
<V extends PrismValue> |
ExpressionFactory.makeExpression(ExpressionType expressionType,
ItemDefinition outputDefinition,
String shortDesc,
OperationResult result) |
void |
Expression.parse(ExpressionFactory factory,
String contextDescription,
OperationResult result) |
void |
ObjectDeltaObject.recompute() |
void |
ItemDeltaItem.recompute() |
static ItemDefinition |
ExpressionUtil.resolveDefinitionPath(ItemPath path,
Map<QName,Object> variables,
PrismObjectDefinition<?> defaultContext,
String shortDesc) |
static Object |
ExpressionUtil.resolvePath(ItemPath path,
Map<QName,Object> variables,
Object defaultContext,
ObjectResolver objectResolver,
String shortDesc,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
<V extends PrismValue> |
GenerateExpressionEvaluatorFactory.createEvaluator(Collection<JAXBElement<?>> evaluatorElements,
ItemDefinition outputDefinition,
String contextDescription,
OperationResult result) |
<V extends PrismValue> |
LiteralExpressionEvaluatorFactory.createEvaluator(Collection<JAXBElement<?>> evaluatorElements,
ItemDefinition outputDefinition,
String contextDescription,
OperationResult result) |
<V extends PrismValue> |
AsIsExpressionEvaluatorFactory.createEvaluator(Collection<JAXBElement<?>> evaluatorElements,
ItemDefinition outputDefinition,
String contextDescription,
OperationResult result) |
<V extends PrismValue> |
PathExpressionEvaluatorFactory.createEvaluator(Collection<JAXBElement<?>> evaluatorElements,
ItemDefinition outputDefinition,
String contextDescription,
OperationResult result) |
PrismValueDeltaSetTriple<V> |
AsIsExpressionEvaluator.evaluate(ExpressionEvaluationContext params) |
PrismValueDeltaSetTriple<V> |
GenerateExpressionEvaluator.evaluate(ExpressionEvaluationContext params) |
PrismValueDeltaSetTriple<V> |
PathExpressionEvaluator.evaluate(ExpressionEvaluationContext params) |
PrismValueDeltaSetTriple<V> |
LiteralExpressionEvaluator.evaluate(ExpressionEvaluationContext params) |
static <V extends PrismValue> |
LiteralExpressionEvaluatorFactory.parseValueElements(Collection<?> valueElements,
ItemDefinition outputDefinition,
String contextDescription,
PrismContext prismContext) |
static <V extends PrismValue> |
LiteralExpressionEvaluatorFactory.serializeValueElements(Item<V> item,
String contextDescription) |
Modifier and Type | Method and Description |
---|---|
<T> T |
BasicExpressionFunctions.getAttributeValue(ShadowType shadow,
groovy.xml.QName attributeQname) |
<T> T |
BasicExpressionFunctions.getAttributeValue(ShadowType shadow,
QName attributeQname) |
<T> T |
BasicExpressionFunctions.getAttributeValue(ShadowType shadow,
String attributeLocalPart) |
<T> T |
BasicExpressionFunctions.getAttributeValue(ShadowType shadow,
String attributeNamespace,
String attributeLocalPart) |
<T> T |
BasicExpressionFunctions.getExtensionPropertyValue(ObjectType object,
groovy.xml.QName propertyQname) |
<T> T |
BasicExpressionFunctions.getExtensionPropertyValue(ObjectType object,
QName propertyQname) |
<T> T |
BasicExpressionFunctions.getExtensionPropertyValue(ObjectType object,
String namespace,
String localPart) |
<T> T |
BasicExpressionFunctions.getPropertyValue(ObjectType object,
String path) |
<T> T |
BasicExpressionFunctions.toSingle(Collection<T> values) |
Modifier and Type | Method and Description |
---|---|
<V extends PrismValue> |
ScriptExpressionEvaluatorFactory.createEvaluator(Collection<JAXBElement<?>> evaluatorElements,
ItemDefinition outputDefinition,
String contextDescription,
OperationResult result) |
PrismValueDeltaSetTriple<V> |
ScriptExpressionEvaluator.evaluate(ExpressionEvaluationContext context) |
<T> List<PrismPropertyValue<T>> |
ScriptExpression.evaluate(ScriptVariables variables,
ScriptExpressionReturnTypeType suggestedReturnType,
boolean useNew,
String contextDescription,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
static Object |
LazyXPathVariableResolver.convertToXml(Object variableValue,
QName variableName,
String contextDescription) |
Modifier and Type | Method and Description |
---|---|
void |
Mapping.evaluate(OperationResult parentResult) |
Boolean |
Mapping.evaluateTimeConstraintValid(OperationResult result) |
Item<V> |
Mapping.getOutput() |
ItemDefinition |
Mapping.getOutputDefinition() |
ItemPath |
Mapping.getOutputPath() |
static <X> PrismProperty<X> |
Mapping.getPropertyStatic(ExpressionType expressionType,
PrismPropertyDefinition outputDefinition,
String contextDescription,
PrismContext prismContext) |
static <X> Collection<X> |
Mapping.getPropertyStaticRealValues(ExpressionType expressionType,
PrismPropertyDefinition outputDefinition,
String contextDescription,
PrismContext prismContext)
Always returns collection, even for single-valued results.
|
static Object |
Mapping.getStaticOutput(ExpressionType expressionType,
PrismPropertyDefinition outputDefinition,
String contextDescription,
ExpressionReturnMultiplicityType preferredMultiplicity,
PrismContext prismContext)
Returns either Object (if result is supposed to be single-value) or Collection
|
Modifier and Type | Method and Description |
---|---|
protected void |
ConfigurablePrismContextFactory.registerExtensionSchemas(SchemaRegistry schemaRegistry) |
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.resolve(ObjectReferenceType ref,
Class<O> expectedType,
String contextDescription,
OperationResult result) |
<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 |
---|---|
Collection<UserType> |
MidpointFunctions.getManagers(UserType user) |
Collection<UserType> |
MidpointFunctions.getManagersOfOrg(String orgOid) |
Collection<String> |
MidpointFunctions.getManagersOids(UserType user) |
Collection<String> |
MidpointFunctions.getManagersOidsExceptUser(UserType user) |
OrgType |
MidpointFunctions.getOrgByName(String name) |
OrgType |
MidpointFunctions.getOrgByOid(String oid) |
UserType |
MidpointFunctions.getUserByOid(String oid) |
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) |
boolean |
ExpressionHandler.evaluateConfirmationExpression(UserType user,
ShadowType shadow,
ExpressionType expressionType,
OperationResult result) |
String |
ExpressionHandler.evaluateExpression(ShadowType shadow,
ExpressionType expressionType,
String shortDesc,
OperationResult result) |
Collection<UserType> |
MidpointFunctionsImpl.getManagers(UserType user) |
Collection<UserType> |
MidpointFunctionsImpl.getManagersOfOrg(String orgOid) |
Collection<String> |
MidpointFunctionsImpl.getManagersOids(UserType user)
Returns a list of user's managers.
|
Collection<String> |
MidpointFunctionsImpl.getManagersOidsExceptUser(UserType user) |
<O extends ObjectType> |
MidpointFunctionsImpl.getObject(Class<O> type,
String oid) |
OrgType |
MidpointFunctionsImpl.getOrgByName(String name) |
OrgType |
MidpointFunctionsImpl.getOrgByOid(String oid) |
UserType |
MidpointFunctionsImpl.getUserByOid(String oid) |
<T> boolean |
MidpointFunctionsImpl.isUniqueAccountValue(ResourceType resourceType,
ShadowType shadowType,
String attributeName,
T attributeValue) |
ObjectType |
ExpressionHandler.resolveRef(ObjectReferenceType ref,
String contextDescription,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
void |
LensProjectionContext.addAccountSyncDelta(ObjectDelta<O> delta) |
void |
LensElementContext.addPrimaryDelta(ObjectDelta<O> delta) |
void |
LensElementContext.addSecondaryDelta(ObjectDelta<O> delta) |
void |
LensFocusContext.addToPrismContainer(PrismContainer<LensFocusContextType> lensFocusContextTypeContainer) |
void |
LensProjectionContext.addToPrismContainer(PrismContainer<LensProjectionContextType> lensProjectionContextTypeContainer) |
void |
LensElementContext.addToSecondaryDelta(ItemDelta accountPasswordDelta) |
void |
LensFocusContext.adopt(PrismContext prismContext) |
void |
LensContext.adopt(PrismContext prismContext) |
void |
LensProjectionContext.adopt(PrismContext prismContext) |
void |
LensElementContext.adopt(PrismContext prismContext) |
void |
ObjectDeltaWaves.adopt(PrismContext prismContext) |
void |
ShadowConstraintsChecker.check(OperationResult result) |
void |
LensContext.cleanup()
Cleans up the contexts by removing secondary deltas and other working state.
|
<F extends ObjectType,P extends ObjectType> |
Clockwork.click(LensContext<F,P> context,
Task task,
OperationResult result) |
static <V extends PrismValue> |
LensUtil.consolidateTripleToDelta(ItemPath itemPath,
DeltaSetTriple<? extends ItemValueWithOrigin<V>> triple,
ItemDefinition itemDefinition,
ItemDelta<V> aprioriItemDelta,
PrismContainer<?> itemContainer,
ValueMatcher<?> valueMatcher,
boolean addUnchangedValues,
boolean filterExistingValues,
String contextDescription,
boolean applyWeak)
Consolidate the mappings of a single property to a delta.
|
<F extends ObjectType,P extends ObjectType> |
ContextFactory.createContext(Collection<ObjectDelta<? extends ObjectType>> deltas,
ModelExecuteOptions options,
Task task,
OperationResult result) |
<F extends FocusType,O extends ObjectType> |
ContextFactory.createRecomputeContext(PrismObject<O> object,
Task task,
OperationResult result) |
LensContext<FocusType,ShadowType> |
ContextFactory.createRecomputeProjectionContext(PrismObject<ShadowType> shadow,
Task task,
OperationResult result) |
Assignment |
AssignmentEvaluator.evaluate(AssignmentType assignmentType,
ObjectType source,
String sourceDescription,
OperationResult result) |
void |
AccountConstruction.evaluate(OperationResult result) |
SimpleDelta<Assignment> |
AssignmentEvaluator.evaluate(SimpleDelta<AssignmentType> assignmentTypeDelta,
ObjectType source,
String sourceDescription,
OperationResult result) |
static <V extends PrismValue,F extends ObjectType,P extends ObjectType> |
LensUtil.evaluateMapping(Mapping<V> mapping,
LensContext<F,P> lensContext,
OperationResult parentResult) |
<F extends ObjectType,P extends ObjectType> |
ChangeExecutor.executeChanges(LensContext<F,P> syncContext,
Task task,
OperationResult parentResult) |
protected void |
LensElementContext.fixProvisioningTypeInDelta(ObjectDelta<O> delta,
Objectable object,
OperationResult result) |
static LensContext |
LensContext.fromLensContextType(LensContextType lensContextType,
PrismContext prismContext,
ProvisioningService provisioningService,
OperationResult parentResult) |
static LensFocusContext |
LensFocusContext.fromLensFocusContextType(LensFocusContextType focusContextType,
LensContext lensContext,
OperationResult result) |
static LensObjectDeltaOperation |
LensObjectDeltaOperation.fromLensObjectDeltaOperationType(LensObjectDeltaOperationType jaxb,
PrismContext prismContext) |
static LensProjectionContext |
LensProjectionContext.fromLensProjectionContextType(LensProjectionContextType projectionContextType,
LensContext lensContext,
OperationResult result) |
static ObjectDeltaWaves |
ObjectDeltaWaves.fromObjectDeltaWavesType(ObjectDeltaWavesType secondaryDeltas,
PrismContext prismContext) |
static LensProjectionContext<ShadowType> |
LensUtil.getAccountContext(LensContext<UserType,ShadowType> context,
PrismObject<ShadowType> equivalentAccount,
ProvisioningService provisioningService,
PrismContext prismContext,
OperationResult result) |
static LensProjectionContext<ShadowType> |
LensUtil.getAccountContext(LensContext<UserType,ShadowType> context,
String resourceOid,
String intent,
ProvisioningService provisioningService,
PrismContext prismContext,
OperationResult result) |
Collection<ObjectDelta<? extends ObjectType>> |
LensContext.getAllChanges()
Returns all changes, user and all accounts.
|
ObjectDelta<O> |
LensElementContext.getDelta()
Returns user delta, both primary and secondary (merged together).
|
ObjectDelta<O> |
LensProjectionContext.getExecutableDelta()
Returns delta suitable for execution.
|
Collection<ObjectDeltaOperation<? extends ObjectType>> |
LensContext.getExecutedDeltas()
Returns all executed deltas, user and all accounts.
|
ContainerDelta<AssignmentType> |
LensFocusContext.getExecutionWaveAssignmentDelta()
Returns delta of user assignments, both primary and secondary (merged together).
|
Collection<? extends ItemDelta<?>> |
LensFocusContext.getExecutionWaveAssignmentItemDeltas(Long id) |
ObjectDelta<O> |
ObjectDeltaWaves.getMergedDeltas()
Get merged deltas from all the waves.
|
ObjectDelta<O> |
ObjectDeltaWaves.getMergedDeltas(ObjectDelta<O> initialDelta,
int maxWave)
Get merged deltas from the waves up to maxWave (including).
|
ObjectDeltaObject<O> |
LensElementContext.getObjectDeltaObject() |
static LensProjectionContext<ShadowType> |
LensUtil.getOrCreateAccountContext(LensContext<UserType,ShadowType> context,
String resourceOid,
String intent,
ProvisioningService provisioningService,
PrismContext prismContext,
OperationResult result) |
Collection<ObjectDelta<? extends ObjectType>> |
LensContext.getPrimaryChanges() |
ObjectDelta<O> |
LensFocusContext.getProjectionWaveDelta()
Returns user delta, both primary and secondary (merged together) for a current wave.
|
ObjectDelta<O> |
LensFocusContext.getProjectionWavePrimaryDelta() |
ObjectDelta<O> |
LensFocusContext.getProjectionWaveSecondaryDelta() |
RefinedObjectClassDefinition |
LensProjectionContext.getRefinedAccountDefinition() |
RefinedResourceSchema |
LensProjectionContext.getRefinedResourceSchema() |
static <F extends ObjectType,P extends ObjectType> |
LensUtil.getResource(LensContext<F,P> context,
String resourceOid,
ProvisioningService provisioningService,
OperationResult result) |
ResourceType |
AccountConstruction.getResource(OperationResult result) |
Collection<ResourceType> |
Assignment.getResources(OperationResult result) |
Collection<ObjectDeltaOperation<? extends ObjectType>> |
LensContext.getUnauditedExecutedDeltas()
Returns all executed deltas, user and all accounts.
|
ObjectDelta<O> |
LensFocusContext.getWaveDelta(int wave) |
ObjectDelta<O> |
LensFocusContext.getWaveSecondaryDelta(int wave) |
boolean |
LensProjectionContext.hasValueForAttribute(QName attributeName)
Returns true if the projection has any value for specified attribute.
|
static void |
LensUtil.loadFullAccount(LensProjectionContext<ShadowType> accCtx,
ProvisioningService provisioningService,
OperationResult result) |
static void |
LensUtil.moveTriggers(LensProjectionContext<ShadowType> projCtx,
LensFocusContext<UserType> focusCtx) |
void |
LensContext.recompute() |
void |
LensProjectionContext.recompute()
Recomputes the new state of account (accountNew).
|
void |
LensElementContext.recompute() |
void |
LensContext.recomputeFocus() |
void |
LensContext.recomputeProjections() |
static String |
LensUtil.refineAccountType(String intent,
ResourceType resource,
PrismContext prismContext) |
void |
LensContext.replacePrimaryFocusDeltas(List<ObjectDelta<F>> deltas) |
void |
LensElementContext.retrieveFromLensElementContextType(LensElementContextType lensElementContextType,
OperationResult result) |
<F extends ObjectType,P extends ObjectType> |
Clockwork.run(LensContext<F,P> context,
Task task,
OperationResult result) |
void |
LensElementContext.storeIntoLensElementContextType(LensElementContextType lensElementContextType) |
void |
LensFocusContext.swallowToProjectionWaveSecondaryDelta(ItemDelta<?> propDelta) |
LensObjectDeltaOperationType |
LensObjectDeltaOperation.toLensObjectDeltaOperationType() |
ObjectDeltaWavesType |
ObjectDeltaWaves.toObjectDeltaWavesType() |
PrismContainer<LensContextType> |
LensContext.toPrismContainer() |
static <F extends ObjectType,P extends ObjectType> |
LensUtil.traceContext(Trace logger,
String activity,
String phase,
boolean important,
LensContext<F,P> context,
boolean showTriples) |
Modifier and Type | Method and Description |
---|---|
void |
AccountValuesProcessor.checkSchemaAndPolicies(LensContext<UserType,ShadowType> context,
LensProjectionContext<ShadowType> accountContext,
String activityDescription,
OperationResult result)
Check that the primary deltas do not violate schema and policies
TODO: implement schema check
|
static <T> ValueMatcher<T> |
ValueMatcher.createMatcher(RefinedAttributeDefinition rAttrDef,
MatchingRuleRegistry matchingRuleRegistry) |
<F extends ObjectType,P extends ObjectType> |
ContextLoader.determineFocusContext(LensContext<F,P> context,
OperationResult result)
try to load focus context from the projections, e.g.
|
<V extends PrismValue> |
MappingEvaluationHelper.evaluateMappingSetProjection(Collection<MappingType> mappingTypes,
String mappingDesc,
XMLGregorianCalendar now,
MappingInitializer<V> initializer,
Item<V> aPrioriValue,
ItemDelta<V> aPrioriDelta,
PrismObject<? extends ShadowType> aPrioriObject,
Boolean evaluateCurrent,
org.apache.commons.lang.mutable.MutableBoolean strongMappingWasUsed,
LensContext<UserType,ShadowType> context,
LensProjectionContext<ShadowType> accCtx,
OperationResult result)
strongMappingWasUsed: Returns true here if the value was (at least partly) determined by a strong mapping.
|
void |
MappingInitializer.initialize(Mapping<V> mapping) |
<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) |
<F extends ObjectType,P extends ObjectType> |
ActivationProcessor.processActivation(LensContext<F,P> context,
LensProjectionContext<P> projectionContext,
XMLGregorianCalendar now,
OperationResult result) |
void |
ActivationProcessor.processActivationMetadata(LensContext<UserType,ShadowType> context,
LensProjectionContext<ShadowType> accCtx,
XMLGregorianCalendar now,
OperationResult result) |
void |
ActivationProcessor.processActivationUserCurrent(LensContext<UserType,ShadowType> context,
LensProjectionContext<ShadowType> accCtx,
XMLGregorianCalendar now,
OperationResult result) |
void |
ActivationProcessor.processActivationUserFuture(LensContext<UserType,ShadowType> context,
LensProjectionContext<ShadowType> accCtx,
XMLGregorianCalendar now,
OperationResult result) |
void |
AssignmentProcessor.processAssignmentsAccounts(LensContext<UserType,ShadowType> context,
OperationResult result)
Processing user-account assignments (including roles).
|
void |
AssignmentProcessor.processAssignmentsAccountValues(LensProjectionContext<ShadowType> accountContext,
OperationResult result) |
<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 ObjectType> |
CredentialsProcessor.processCredentials(LensContext<F,P> context,
LensProjectionContext<P> projectionContext,
OperationResult result) |
void |
CredentialsProcessor.processCredentialsUser(LensContext<UserType,ShadowType> context,
LensProjectionContext<ShadowType> accCtx,
OperationResult result) |
<F extends ObjectType,P extends ObjectType> |
AssignmentProcessor.processOrgAssignments(LensContext<F,P> context,
OperationResult result) |
<F extends ObjectType,P extends ShadowType> |
Projector.project(LensContext<F,P> context,
String activityDescription,
OperationResult parentResult) |
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.applyResourceSchema(ShadowType accountType,
ResourceType resourceType)
This is not the real thing.
|
protected void |
AbstractModelIntegrationTest.assertAccount(PrismObject<UserType> user,
String resourceOid) |
protected void |
AbstractModelIntegrationTest.assertAccounts(PrismObject<UserType> user,
int numAccounts) |
protected void |
AbstractModelIntegrationTest.assertAccounts(String userOid,
int numAccounts) |
protected void |
AbstractModelIntegrationTest.assertAssignedAccount(PrismObject<UserType> user,
String resourceOid) |
protected void |
AbstractModelIntegrationTest.assertAssignedAccount(String userOid,
String resourceOid,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assertAssignedNoAccount(PrismObject<UserType> user,
String resourceOid) |
protected void |
AbstractModelIntegrationTest.assertAssignedNoOrg(String userOid,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assertAssignedNoRole(String userOid,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assertAssignedOrg(String userOid,
String orgOid,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assertAssignedRole(String userOid,
String roleOid,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assertHasOrg(String userOid,
String orgOid,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assertHasShadow(String username,
PrismObject<ResourceType> resource,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.assertLinked(PrismObject<UserType> user,
PrismObject<ShadowType> account) |
protected void |
AbstractModelIntegrationTest.assertLinked(PrismObject<UserType> user,
String accountOid) |
protected void |
AbstractModelIntegrationTest.assertLinked(String userOid,
String accountOid) |
protected void |
AbstractModelIntegrationTest.assertNoAccountShadow(String accountOid) |
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.assertNotAssignedRole(String userOid,
String roleOid,
Task task,
OperationResult result) |
protected <O extends ObjectType> |
AbstractModelIntegrationTest.assertNoTrigger(Class<O> type,
String oid) |
protected <O extends ObjectType> |
AbstractModelIntegrationTest.assertTrigger(PrismObject<O> object,
String handlerUri,
XMLGregorianCalendar start,
XMLGregorianCalendar end) |
protected void |
AbstractModelIntegrationTest.assertUserProperty(String userOid,
QName propertyName,
Object... expectedPropValues) |
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 void |
AbstractModelIntegrationTest.breakAssignmentDelta(Collection<ObjectDelta<? extends ObjectType>> deltas)
Breaks user assignment delta in the context by inserting some empty value.
|
protected void |
AbstractModelIntegrationTest.breakAssignmentDelta(ObjectDelta<UserType> userDelta)
Breaks user assignment delta in the context by inserting some empty value.
|
protected PrismObject<ShadowType> |
AbstractModelIntegrationTest.createAccount(PrismObject<ResourceType> resource,
String name,
boolean enabled) |
protected ContainerDelta<AssignmentType> |
AbstractModelIntegrationTest.createAccountAssignmentModification(String resourceOid,
String intent,
boolean add) |
protected ObjectDelta<UserType> |
AbstractModelIntegrationTest.createAccountAssignmentUserDelta(String userOid,
String resourceOid,
String intent,
boolean add) |
protected ConstructionType |
AbstractModelIntegrationTest.createAccountConstruction(String resourceOid,
String intent) |
protected ContainerDelta<AssignmentType> |
AbstractModelIntegrationTest.createAssignmentModification(String roleOid,
QName refType,
QName relation,
PrismContainer<?> extension,
boolean add) |
protected ObjectDelta<UserType> |
AbstractModelIntegrationTest.createAssignmentUserDelta(String userOid,
String roleOid,
QName refType,
QName relation,
PrismContainer<?> extension,
boolean add) |
protected <T> PropertyDelta<T> |
AbstractModelIntegrationTest.createAttributeAddDelta(PrismObject<ResourceType> resource,
QName attributeQName,
T... newRealValue) |
protected <T> PropertyDelta<T> |
AbstractModelIntegrationTest.createAttributeAddDelta(PrismObject<ResourceType> resource,
String attributeLocalName,
T... newRealValue) |
protected <T> PropertyDelta<T> |
AbstractModelIntegrationTest.createAttributeDeleteDelta(PrismObject<ResourceType> resource,
QName attributeQName,
T... newRealValue) |
protected <T> PropertyDelta<T> |
AbstractModelIntegrationTest.createAttributeDeleteDelta(PrismObject<ResourceType> resource,
String attributeLocalName,
T... newRealValue) |
protected <T> PropertyDelta<T> |
AbstractModelIntegrationTest.createAttributeReplaceDelta(PrismObject<ResourceType> resource,
QName attributeQName,
T... newRealValue) |
protected <T> PropertyDelta<T> |
AbstractModelIntegrationTest.createAttributeReplaceDelta(PrismObject<ResourceType> resource,
String attributeLocalName,
T... newRealValue) |
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.createModifyUserAddAccount(String userOid,
PrismObject<ResourceType> resource) |
protected ObjectDelta<UserType> |
AbstractModelIntegrationTest.createModifyUserDeleteAccount(String userOid,
PrismObject<ResourceType> resource) |
protected ObjectDelta<UserType> |
AbstractModelIntegrationTest.createModifyUserUnlinkAccount(String userOid,
PrismObject<ResourceType> resource) |
protected ObjectDelta<UserType> |
AbstractModelIntegrationTest.createReplaceAccountConstructionUserDelta(String userOid,
Long id,
ConstructionType newValue) |
protected PrismObject<ShadowType> |
AbstractModelIntegrationTest.createShadow(PrismObject<ResourceType> resource,
String id) |
protected PrismObject<ShadowType> |
AbstractModelIntegrationTest.createShadow(PrismObject<ResourceType> resource,
String uid,
String name) |
protected PrismObject<UserType> |
AbstractModelIntegrationTest.createUser(String name,
String fullName) |
protected PrismObject<UserType> |
AbstractModelIntegrationTest.createUser(String name,
String fullName,
Boolean enabled) |
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 ResourceAttributeDefinition |
AbstractModelIntegrationTest.getAttributeDefinition(PrismObject<ResourceType> resource,
QName attributeName) |
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 void |
AbstractModelIntegrationTest.restartTask(String taskOid) |
protected List<PrismObject<OrgType>> |
AbstractModelIntegrationTest.searchOrg(String baseOrgOid,
Integer minDepth,
Integer maxDepth,
Task task,
OperationResult result) |
protected void |
AbstractModelIntegrationTest.setDefaultUserTemplate(String userTemplateOid) |
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 |
---|---|
protected ObjectQuery |
TriggerScannerTaskHandler.createQuery(TaskRunResult runResult,
Task task,
OperationResult opResult) |
Modifier and Type | Method and Description |
---|---|
protected abstract ObjectQuery |
AbstractSearchIterativeTaskHandler.createQuery(TaskRunResult runResult,
Task task,
OperationResult opResult) |
protected void |
AbstractScannerTaskHandler.finish(TaskRunResult runResult,
Task task,
OperationResult opResult) |
protected void |
AbstractSearchIterativeTaskHandler.finish(TaskRunResult runResult,
Task task,
OperationResult opResult) |
static ResourceType |
Utils.getResource(ShadowType shadow,
ProvisioningService provisioning,
OperationResult result) |
static void |
Utils.resolveResource(ShadowType shadow,
ProvisioningService provisioning,
OperationResult result) |
static <T extends ObjectType> |
Utils.searchIterative(RepositoryService repositoryService,
Class<T> type,
ObjectQuery query,
Handler<PrismObject<T>> handler,
int blockSize,
OperationResult opResult) |
Modifier and Type | Method and Description |
---|---|
ObjectDelta<UserType> |
ModelEvent.getSummarizedUserDeltas() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
BaseHandler.evaluateBooleanExpression(ExpressionType expressionType,
Map<QName,Object> expressionVariables,
String shortDesc,
OperationResult result) |
boolean |
EventHandler.processEvent(Event event,
EventHandlerType eventHandlerType,
NotificationManager notificationManager,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
protected String |
SimpleWorkflowNotifier.getBody(Event event,
GeneralNotifierType generalNotifierType,
String transport,
OperationResult result) |
protected String |
SimpleUserNotifier.getBody(Event event,
GeneralNotifierType generalNotifierType,
String transport,
OperationResult result) |
protected String |
GeneralNotifier.getBody(Event event,
GeneralNotifierType generalNotifierType,
String transport,
OperationResult result) |
boolean |
GeneralNotifier.processEvent(Event event,
EventHandlerType eventHandlerType,
NotificationManager notificationManager,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
void |
PrismContainerValue.add(Item<?> item)
Adds an item to a property container.
|
void |
PrismContainer.add(Item<?> item)
Convenience method.
|
boolean |
Item.add(V newValue) |
void |
PrismContainerValue.addAll(Collection<? extends Item<?>> itemsToAdd)
Adds a collection of items to a property container.
|
boolean |
Item.addAll(Collection<V> newValues) |
void |
PrismContainerValue.addReplaceExisting(Item<?> item)
Adds an item to a property container.
|
void |
PrismObject.addReplaceExisting(Item<?> item) |
<C extends Containerable,O extends Objectable> |
PrismContext.adopt(C containerable,
Class<O> type,
ItemPath path) |
void |
PrismContext.adopt(Objectable objectable) |
<T extends Objectable> |
PrismContext.adopt(ObjectDelta<T> delta) |
<C extends Containerable,O extends Objectable> |
PrismContext.adopt(PrismContainerValue<C> prismContainerValue,
Class<O> type,
ItemPath path) |
<T extends Objectable> |
PrismContext.adopt(PrismObject<T> object) |
<T extends Objectable> |
PrismContext.adopt(PrismObject<T> object,
Class<T> declaredType)
Set up the specified object with prism context instance and schema definition.
|
void |
Item.applyDefinition(ItemDefinition definition) |
void |
PrismContainer.applyDefinition(ItemDefinition definition) |
void |
PrismValue.applyDefinition(ItemDefinition definition) |
void |
PrismObject.applyDefinition(ItemDefinition definition) |
void |
PrismPropertyValue.applyDefinition(ItemDefinition definition) |
void |
Item.applyDefinition(ItemDefinition definition,
boolean force) |
void |
PrismContainerValue.applyDefinition(ItemDefinition definition,
boolean force) |
void |
PrismValue.applyDefinition(ItemDefinition definition,
boolean force) |
void |
PrismReferenceValue.applyDefinition(ItemDefinition definition,
boolean force) |
void |
PrismPropertyValue.applyDefinition(ItemDefinition definition,
boolean force) |
void |
PrismContainerValue.applyDefinition(PrismContainerDefinition definition,
boolean force) |
void |
PrismReferenceValue.applyDefinition(PrismReferenceDefinition definition,
boolean force) |
void |
Item.assertDefinitions() |
void |
Item.assertDefinitions(boolean tolarateRawValues,
String sourceDescription) |
void |
PrismContainerValue.assertDefinitions(boolean tolerateRaw,
String sourceDescription) |
void |
PrismContainer.assertDefinitions(boolean tolarateRaw,
String sourceDescription) |
void |
Item.assertDefinitions(String sourceDescription) |
void |
PrismContainerValue.assertDefinitions(String sourceDescription) |
<X extends Containerable> |
PrismContainerValue.createContainer(QName containerName) |
<X> PrismProperty<X> |
PrismContainerValue.createProperty(PrismPropertyDefinition propertyDefinition) |
<X> PrismProperty<X> |
PrismContainerValue.createProperty(QName propertyName) |
<T extends Containerable> |
PrismContainer.findOrCreateContainer(ItemPath containerPath) |
<T extends Containerable> |
PrismContainerValue.findOrCreateContainer(QName containerName) |
<T extends Containerable> |
PrismContainer.findOrCreateContainer(QName containerName) |
<T extends Item<?>> |
PrismContainer.findOrCreateItem(ItemPath containerPath,
Class<T> type) |
<T extends Item<?>> |
PrismContainer.findOrCreateItem(ItemPath containerPath,
Class<T> type,
ItemDefinition definition) |
<X extends Item> |
PrismContainerValue.findOrCreateItem(ItemPath path,
Class<X> type,
ItemDefinition definition) |
Item<?> |
PrismContainerValue.findOrCreateItem(QName containerName) |
<X extends Item> |
PrismContainerValue.findOrCreateItem(QName containerName,
Class<X> type) |
<T> PrismProperty<T> |
PrismContainer.findOrCreateProperty(ItemPath propertyPath) |
<X> PrismProperty<X> |
PrismContainerValue.findOrCreateProperty(PrismPropertyDefinition propertyDef) |
<T> PrismProperty<T> |
PrismContainer.findOrCreateProperty(QName propertyName) |
<X> PrismProperty<X> |
PrismContainerValue.findOrCreateProperty(QName propertyQName) |
PrismReference |
PrismContainer.findOrCreateReference(ItemPath propertyPath) |
PrismReference |
PrismContainerValue.findOrCreateReference(QName referenceName) |
PrismReference |
PrismContainer.findOrCreateReference(QName propertyName) |
void |
PrismContext.initialize() |
void |
PrismContainer.mergeValue(PrismContainerValue<V> otherValue) |
void |
PrismContainer.mergeValues(Collection<PrismContainerValue<V>> otherValues) |
void |
PrismContainer.mergeValues(PrismContainer<V> other) |
static <V extends Containerable> |
PrismContainer.newInstance(PrismContext prismContext,
QName type) |
<T extends Objectable> |
PrismContext.parseObject(Element objectElement)
Parses a DOM object and creates a prism from it.
|
<T extends Objectable> |
PrismContext.parseObject(File file)
Parses a file and creates a prism from it.
|
<T extends Objectable> |
PrismContext.parseObject(String xmlString)
Parses a string and creates a prism from it.
|
void |
PrismContainerValue.replace(Item<?> oldItem,
Item<?> newItem) |
void |
Item.replaceAll(Collection<V> newValues) |
void |
PrismContainerValue.setPropertyRealValue(QName propertyName,
Object realValue) |
void |
PrismContainer.setPropertyRealValue(QName propertyName,
Object realValue) |
void |
PrismContainer.setValue(PrismContainerValue<V> value) |
Modifier and Type | Method and Description |
---|---|
<C extends Containerable> |
ObjectDelta.addModificationAddContainer(ItemPath propertyPath,
C... containerables) |
<C extends Containerable> |
ObjectDelta.addModificationAddContainer(QName propertyQName,
C... containerables) |
<C extends Containerable> |
ObjectDelta.addModificationDeleteContainer(ItemPath propertyPath,
C... containerables) |
<C extends Containerable> |
ObjectDelta.addModificationDeleteContainer(QName propertyQName,
C... containerables) |
static void |
ItemDelta.applyDefinition(Collection<? extends ItemDelta> deltas,
PrismObjectDefinition definition) |
void |
ReferenceDelta.applyDefinition(ItemDefinition definition) |
void |
ItemDelta.applyDefinition(ItemDefinition definition) |
void |
PrismValueDeltaSetTriple.applyDefinition(ItemDefinition itemDefinition) |
void |
ContainerDelta.applyDefinition(ItemDefinition definition) |
void |
PropertyDelta.applyDefinition(ItemDefinition definition) |
void |
ItemDelta.applyDefinition(ItemDefinition itemDefinition,
boolean force) |
void |
ObjectDelta.applyDefinition(PrismObjectDefinition<T> definition) |
void |
ObjectDelta.applyDefinition(PrismObjectDefinition<T> objectDefinition,
boolean force) |
static void |
ItemDelta.applyTo(Collection<? extends ItemDelta> deltas,
PrismContainer propertyContainer) |
void |
ReferenceDelta.applyTo(Item item) |
void |
ItemDelta.applyTo(Item item)
Apply this delta (path) to a property.
|
void |
ContainerDelta.applyTo(Item item) |
void |
PropertyDelta.applyTo(Item item) |
void |
ItemDelta.applyTo(PrismContainer<?> propertyContainer)
Apply this delta (path) to a property container.
|
void |
ItemDelta.applyTo(PrismContainerValue<?> propertyContainerVal)
Apply this delta (path) to a property container.
|
void |
ObjectDelta.applyTo(PrismObject<T> targetObject)
Applies this object delta to specified object, returns updated object.
|
void |
ObjectDelta.assertDefinitions() |
void |
ObjectDelta.assertDefinitions(boolean tolerateRawElements) |
void |
ItemDelta.assertDefinitions(boolean tolarateRawValues,
String sourceDescription) |
void |
ObjectDelta.assertDefinitions(boolean tolerateRawElements,
String sourceDescription)
Assert that all the items has appropriate definition.
|
void |
ItemDelta.assertDefinitions(String sourceDescription) |
void |
ObjectDelta.assertDefinitions(String sourceDescription) |
<I extends Item> |
ItemDelta.computeChangedItem(I oldItem) |
PrismObject<T> |
ObjectDelta.computeChangedObject(PrismObject<T> objectOld)
Applies this object delta to specified object, returns updated object.
|
static <O extends Objectable,C extends Containerable> |
ObjectDelta.createModificationAddContainer(Class<O> type,
String oid,
ItemPath propertyPath,
PrismContext prismContext,
C... containerValues) |
static <O extends Objectable,C extends Containerable> |
ObjectDelta.createModificationDeleteContainer(Class<O> type,
String oid,
ItemPath propertyPath,
PrismContext prismContext,
C... containerValues) |
static <T extends Objectable> |
DiffUtil.diff(File oldXmlFile,
File newXmlFile,
Class<T> type,
PrismContext prismContext) |
static <T extends Objectable> |
DiffUtil.diff(String oldXml,
String newXml,
Class<T> type,
PrismContext prismContext) |
static <T extends Objectable> |
DiffUtil.diff(T oldObjectType,
T newObjectType,
Class<T> type,
PrismContext prismContext) |
protected static <O extends Objectable,C extends Containerable> |
ObjectDelta.fillInModificationAddContainer(ObjectDelta<O> objectDelta,
ItemPath propertyPath,
PrismContext prismContext,
C... containerables) |
protected static <O extends Objectable,C extends Containerable> |
ObjectDelta.fillInModificationDeleteContainer(ObjectDelta<O> objectDelta,
ItemPath propertyPath,
PrismContext prismContext,
C... containerables) |
Item<V> |
ItemDelta.getItemNew()
Returns the "new" state of the property - the state that would be after
the delta is applied.
|
Item<V> |
ItemDelta.getItemNew(Item<V> itemOld)
Returns the "new" state of the property - the state that would be after
the delta is applied.
|
PrismProperty<T> |
PropertyDelta.getPropertyNew()
Returns the "new" state of the property - the state that would be after the delta
is applied.
|
PrismProperty<T> |
PropertyDelta.getPropertyNew(PrismProperty<T> propertyOld)
Returns the "new" state of the property - the state that would be after the delta
is applied.
|
void |
ObjectDelta.merge(ObjectDelta<T> deltaToMerge)
Merge provided delta into this delta.
|
void |
ObjectDelta.mergeModification(ItemDelta<?> modificationToMerge) |
void |
ObjectDelta.mergeModifications(Collection<? extends ItemDelta> modificationsToMerge) |
static <T extends Objectable> |
ObjectDelta.summarize(List<ObjectDelta<T>> deltas)
Returns a delta that is a "sum" of all the deltas in the collection.
|
static <T extends Objectable> |
ObjectDelta.summarize(ObjectDelta<T>... deltas)
Returns a delta that is a "sum" of all the deltas in the collection.
|
void |
ObjectDelta.swallow(ItemDelta<?> newItemDelta)
Incorporates the property delta into the existing property deltas
(regardless of the change type).
|
static <T extends Objectable> |
ObjectDelta.union(ObjectDelta<T>... deltas)
Union of several object deltas.
|
void |
ItemDelta.validate() |
void |
ItemDelta.validate(String contextDescription) |
Modifier and Type | Method and Description |
---|---|
<T extends Containerable> |
PrismDomProcessor.addItemValue(Item item,
Object element,
PrismContainer<T> container)
Parse the provided JAXB/DOM element and add it as a new value of the
specified item.
|
<T extends Containerable> |
PrismDomProcessor.deleteItemValue(Item item,
Object element,
PrismContainer<T> container)
Parse the provided JAXB/DOM element and delete it from the specified
item.
|
<T extends Containerable> |
PrismDomProcessor.parseContainerItems(PrismContainerDefinition<T> containingPcd,
List<? extends Object> valueElements,
QName propertyName,
boolean reference)
Used e.g.
|
<T extends Containerable,V extends PrismValue> |
PrismDomProcessor.parseContainerItems(PrismContainerDefinition<T> containingPcd,
List<Object> valueElements)
Used e.g.
|
<V extends PrismValue> |
PrismDomProcessor.parseItem(List<? extends Object> valueElements,
QName itemName,
ItemDefinition def)
This gets definition of an unspecified type.
|
Item<?> |
PrismDomProcessor.parseItem(List<? extends Object> valueElements,
QName itemName,
ItemDefinition def,
boolean reference) |
<T extends Objectable> |
PrismDomProcessor.parseObject(Element objectElement) |
<T extends Objectable> |
PrismDomProcessor.parseObject(File file) |
<T extends Objectable> |
PrismDomProcessor.parseObject(File file,
Class<T> type) |
<T extends Objectable> |
PrismDomProcessor.parseObject(Node domNode) |
<T extends Objectable> |
PrismDomProcessor.parseObject(String objectString) |
<T extends Objectable> |
PrismDomProcessor.parseObject(String objectString,
Class<T> type) |
List<PrismObject<? extends Objectable>> |
PrismDomProcessor.parseObjects(File file)
This is really stupid implementation.
|
<T extends Containerable> |
PrismDomProcessor.parsePrismContainer(Element domElement) |
<T extends Containerable> |
PrismDomProcessor.parsePrismContainer(Element domElement,
PrismContainerDefinition<T> propertyContainerDefinition) |
<T extends Containerable> |
PrismDomProcessor.parsePrismContainer(String xml,
PrismContainerDefinition<T> propertyContainerDefinition) |
<T extends Containerable> |
PrismDomProcessor.parsePrismContainerItems(List<Element> childElements,
PrismContainerDefinition<T> containerDefinition) |
protected <T extends Containerable> |
PrismDomProcessor.parsePrismContainerItems(List<Element> elements,
PrismContainerDefinition<T> containerDefinition,
Collection<? extends ItemDefinition> selection)
Parses items of PRISM CONTAINER from a list of elements.
|
<T> PrismProperty<T> |
PrismDomProcessor.parsePrismProperty(List<? extends Object> valueElements,
QName propName,
PrismPropertyDefinition<T> propertyDefinition) |
<T> T |
PrismDomProcessor.parsePrismPropertyRealValue(Object valueElement,
PrismPropertyDefinition<T> propertyDefinition) |
PrismReference |
PrismDomProcessor.parsePrismReference(List<? extends Object> valueElements,
QName propName,
PrismReferenceDefinition referenceDefinition) |
<V extends PrismValue> |
PrismDomProcessor.parseValueElement(Element valueElement,
ItemDefinition outputDefinition)
Returns a property value from a "value" like elements.
|
Element |
DomSerializer.serialize(PrismObject<?> object) |
Element |
DomSerializer.serializeContainerValue(PrismContainerValue<?> value,
Element parentElement) |
List<Element> |
PrismDomProcessor.serializeItemToDom(Item<?> item) |
List<Element> |
PrismDomProcessor.serializeItemToDom(Item<?> item,
boolean serializeCompositeObjects) |
List<Element> |
PrismDomProcessor.serializeItemToDom(Item<?> item,
Document document) |
List<Element> |
PrismDomProcessor.serializeItemToDom(Item<?> item,
Document document,
boolean serializeCompositeObjects) |
void |
PrismDomProcessor.serializeItemToDom(Item<?> item,
Element parentElement) |
void |
PrismDomProcessor.serializeItemToDom(Item<?> item,
Element parentElement,
boolean serializeCompositeObjects) |
<T extends Containerable> |
PrismDomProcessor.serializeObjectToString(PrismContainerValue<T> object,
Element parentElement) |
<T extends Objectable> |
PrismDomProcessor.serializeObjectToString(PrismObject<T> object) |
<T extends Objectable> |
PrismDomProcessor.serializeObjectToString(PrismObject<T> object,
boolean serializeCompositeObjects) |
<T extends Containerable> |
PrismDomProcessor.serializeToDom(PrismContainerValue<T> object,
Element parentElement) |
Element |
PrismDomProcessor.serializeToDom(PrismObject<?> object)
Returns "dead" DOM representation of the PrismObject.
|
Element |
PrismDomProcessor.serializeToDom(PrismObject<?> object,
boolean serializeCompositeObjects) |
void |
PrismDomProcessor.serializeValueToDom(PrismValue pval,
Element parentElement) |
Element |
PrismDomProcessor.serializeValueToDom(PrismValue pval,
QName elementName) |
Element |
PrismDomProcessor.serializeValueToDom(PrismValue pval,
QName elementName,
Document document) |
Modifier and Type | Method and Description |
---|---|
<T> MatchingRule<T> |
MatchingRuleRegistry.getMatchingRule(QName ruleName,
QName typeQName) |
Modifier and Type | Method and Description |
---|---|
static ComparativeFilter |
ComparativeFilter.createComparativeFilter(Class filterClass,
Class<? extends Objectable> type,
PrismContext prismContext,
QName propertyName,
Object realValue,
boolean equals) |
static ComparativeFilter |
ComparativeFilter.createComparativeFilter(Class filterClass,
ItemPath parentPath,
ItemDefinition item,
Object realValue,
boolean equals) |
static ComparativeFilter |
ComparativeFilter.createComparativeFilter(Class filterClass,
ItemPath parentPath,
PrismContainerDefinition<? extends Containerable> containerDef,
QName propertyName,
Object realValue,
boolean equals) |
static ComparativeFilter |
ComparativeFilter.createComparativeFilter(Class filterClass,
ItemPath parentPath,
PrismContainerDefinition<? extends Containerable> containerDef,
QName propertyName,
PrismValue value,
boolean equals) |
static EqualsFilter |
EqualsFilter.createEqual(Class<? extends Objectable> type,
PrismContext prismContext,
ItemPath propertyPath,
Object realValue) |
static EqualsFilter |
EqualsFilter.createEqual(Class<? extends Objectable> type,
PrismContext prismContext,
QName propertyName,
Object realValue) |
static EqualsFilter |
EqualsFilter.createEqual(Class<? extends Objectable> type,
PrismContext prismContext,
QName propertyName,
Object realValue,
String matchingRule) |
static EqualsFilter |
EqualsFilter.createEqual(ItemPath parentPath,
PrismContainerDefinition<? extends Containerable> containerDef,
QName propertyName,
Object realValue) |
static EqualsFilter |
EqualsFilter.createEqual(ItemPath parentPath,
PrismContainerDefinition<? extends Containerable> containerDef,
QName propertyName,
PrismValue... values) |
static GreaterFilter |
GreaterFilter.createGreaterFilter(Class<? extends Objectable> type,
PrismContext prismContext,
QName propertyName,
Object realValue,
boolean equals) |
static GreaterFilter |
GreaterFilter.createGreaterFilter(ItemPath parentPath,
ItemDefinition item,
Object realValue,
boolean equals) |
static GreaterFilter |
GreaterFilter.createGreaterFilter(ItemPath parentPath,
PrismContainerDefinition<? extends Containerable> containerDef,
QName propertyName,
Object realValue,
boolean equals) |
static GreaterFilter |
GreaterFilter.createGreaterFilter(ItemPath parentPath,
PrismContainerDefinition<? extends Containerable> containerDef,
QName propertyName,
PrismValue value,
boolean equals) |
static LessFilter |
LessFilter.createLessFilter(Class<? extends Objectable> type,
PrismContext prismContext,
QName propertyName,
Object realValue,
boolean equals) |
static LessFilter |
LessFilter.createLessFilter(ItemPath parentPath,
ItemDefinition item,
Object realValue,
boolean equals) |
static LessFilter |
LessFilter.createLessFilter(ItemPath parentPath,
PrismContainerDefinition<? extends Containerable> containerDef,
QName propertyName,
Object realValue,
boolean equals) |
static LessFilter |
LessFilter.createLessFilter(ItemPath parentPath,
PrismContainerDefinition<? extends Containerable> containerDef,
QName propertyName,
PrismValue value,
boolean equals) |
static EqualsFilter |
EqualsFilter.createPolyStringOrigEqual(Class<? extends Objectable> type,
PrismContext prismContext,
QName propertyName,
PolyStringType realValue) |
static PropertyValueFilter |
PropertyValueFilter.createPropertyFilter(Class filterClass,
Class<? extends Objectable> type,
PrismContext prismContext,
ItemPath propertyPath,
Object realValue) |
static PropertyValueFilter |
PropertyValueFilter.createPropertyFilter(Class filterClass,
Class<? extends Objectable> type,
PrismContext prismContext,
QName propertyName,
Object realValue) |
static PropertyValueFilter |
PropertyValueFilter.createPropertyFilter(Class filterClass,
ItemPath parentPath,
PrismContainerDefinition<? extends Containerable> containerDef,
QName propertyName,
Object realValue) |
static PropertyValueFilter |
PropertyValueFilter.createPropertyFilter(Class filterClass,
ItemPath parentPath,
PrismContainerDefinition<? extends Containerable> containerDef,
QName propertyName,
PrismValue... values) |
static RefFilter |
RefFilter.createReferenceEqual(Class type,
QName propertyName,
PrismContext prismContext,
String oid) |
static RefFilter |
RefFilter.createReferenceEqual(Class type,
QName propertyName,
PrismObject<? extends Objectable> targetObject) |
static RefFilter |
RefFilter.createReferenceEqual(ItemPath path,
PrismContainerDefinition containerDef,
QName propertyName,
String realValue) |
Modifier and Type | Method and Description |
---|---|
<T extends Objectable> |
SchemaRegistry.applyDefinition(ObjectDelta<T> objectDelta,
Class<T> type,
boolean force)
This method will try to locate the appropriate object definition and apply it.
|
<C extends Containerable,O extends Objectable> |
SchemaRegistry.applyDefinition(PrismContainerValue<C> prismContainerValue,
Class<O> type,
ItemPath path,
boolean force) |
void |
SchemaRegistry.applyDefinition(PrismObject<? extends Objectable> prismObject,
Class<? extends Objectable> type) |
void |
SchemaRegistry.applyDefinition(PrismObject<? extends Objectable> prismObject,
Class<? extends Objectable> type,
boolean force)
This method will try to locate the appropriate object definition and apply it.
|
ComplexTypeDefinition |
SchemaDefinitionFactory.createComplexTypeDefinition(com.sun.xml.xsom.XSComplexType complexType,
PrismContext prismContext,
com.sun.xml.xsom.XSAnnotation annotation) |
PrismContainerDefinition |
SchemaDefinitionFactory.createContainerDefinition(QName elementName,
ComplexTypeDefinition complexTypeDefinition,
PrismContext prismContext,
com.sun.xml.xsom.XSAnnotation annotation,
com.sun.xml.xsom.XSParticle elementParticle) |
PrismContainerDefinition |
SchemaDefinitionFactory.createExtraDefinitionFromComplexType(com.sun.xml.xsom.XSComplexType complexType,
ComplexTypeDefinition complexTypeDefinition,
PrismContext prismContext,
com.sun.xml.xsom.XSAnnotation annotation)
Create optional extra definition form a top-level complex type definition.
|
<T extends Objectable> |
SchemaDefinitionFactory.createObjectDefinition(QName elementName,
ComplexTypeDefinition complexTypeDefinition,
PrismContext prismContext,
Class<T> compileTimeClass,
com.sun.xml.xsom.XSAnnotation annotation,
com.sun.xml.xsom.XSParticle elementParticle) |
PrismPropertyDefinition |
SchemaDefinitionFactory.createPropertyDefinition(QName elementName,
QName typeName,
ComplexTypeDefinition complexTypeDefinition,
PrismContext prismContext,
com.sun.xml.xsom.XSAnnotation annotation,
com.sun.xml.xsom.XSParticle elementParticle) |
PrismReferenceDefinition |
SchemaDefinitionFactory.createReferenceDefinition(QName primaryElementName,
QName typeName,
ComplexTypeDefinition complexTypeDefinition,
PrismContext prismContext,
com.sun.xml.xsom.XSAnnotation annotation,
com.sun.xml.xsom.XSParticle elementParticle) |
void |
SchemaDefinitionFactory.finishComplexTypeDefinition(ComplexTypeDefinition complexTypeDefinition,
com.sun.xml.xsom.XSComplexType complexType,
PrismContext prismContext,
com.sun.xml.xsom.XSAnnotation annotation)
Called after the complex type definition is filled with items.
|
static Boolean |
SchemaProcessorUtil.getAnnotationBoolean(com.sun.xml.xsom.XSAnnotation annotation,
QName qname) |
static Boolean |
SchemaProcessorUtil.getAnnotationBooleanMarker(com.sun.xml.xsom.XSAnnotation annotation,
QName qname)
Parses "marker" boolean annotation.
|
void |
SchemaRegistry.initialize()
This can be used to read additional schemas even after the registry was initialized.
|
<T extends Objectable> |
SchemaRegistry.instantiate(Class<T> compileTimeClass) |
void |
SchemaRegistry.loadPrismSchemaFile(File file) |
SchemaDescription |
SchemaRegistry.loadPrismSchemaFileDescription(File file) |
void |
SchemaRegistry.loadPrismSchemaResource(String resourcePath) |
void |
SchemaRegistry.loadPrismSchemasFromDirectory(File directory)
This can be used to read additional schemas even after the registry was initialized.
|
static PrismSchema |
PrismSchema.parse(Element element,
boolean isRuntime,
String shortDescription,
PrismContext prismContext) |
static PrismSchema |
PrismSchema.parse(Element element,
EntityResolver resolver,
boolean isRuntime,
String shortDescription,
PrismContext prismContext) |
protected static PrismSchema |
PrismSchema.parse(Element element,
EntityResolver resolver,
PrismSchema schema,
boolean isRuntime,
String shortDescription,
PrismContext prismContext) |
protected static PrismSchema |
PrismSchema.parse(Element element,
PrismSchema schema,
boolean isRuntime,
String shortDescription,
PrismContext prismContext) |
static SchemaDescription |
SchemaDescription.parseFile(File file) |
static SchemaDescription |
SchemaDescription.parseNode(Node node,
String sourceDescription) |
static SchemaDescription |
SchemaDescription.parseResource(String resourcePath) |
void |
SchemaRegistry.registerPrismDefaultSchemaResource(String resourcePath,
String usualPrefix,
Package compileTimeClassesPackage)
Must be called before call to initialize()
|
void |
SchemaRegistry.registerPrismSchemaFile(File file) |
void |
SchemaRegistry.registerPrismSchemaResource(String resourcePath,
String usualPrefix)
Must be called before call to initialize()
|
void |
SchemaRegistry.registerPrismSchemaResource(String resourcePath,
String usualPrefix,
Package compileTimeClassesPackage)
Must be called before call to initialize()
|
void |
SchemaRegistry.registerPrismSchemaResource(String resourcePath,
String usualPrefix,
Package compileTimeClassesPackage,
boolean defaultSchema)
Must be called before call to initialize()
|
void |
SchemaRegistry.registerPrismSchemasFromDirectory(File directory) |
void |
SchemaRegistry.registerSchema(Node node,
String sourceDescription)
Must be called before call to initialize()
|
void |
SchemaRegistry.registerSchema(Node node,
String sourceDescription,
String usualPrefix)
Must be called before call to initialize()
|
void |
SchemaRegistry.registerSchemaResource(String resourcePath,
String usualPrefix)
Must be called before call to initialize()
|
ItemDefinition |
SchemaRegistry.resolveGlobalItemDefinition(QName elementQName)
Looks for a top-level definition for the specified element name (in all schemas).
|
Document |
PrismSchema.serializeToXsd() |
Modifier and Type | Method and Description |
---|---|
static void |
PrismAsserts.assertElementsEquals(Object expected,
Object actual) |
static void |
PrismAsserts.assertEquals(File fileNewXml,
Objectable objectable) |
static <O extends Objectable> |
PrismAsserts.assertEquals(File fileNewXml,
PrismObject<O> actual) |
static void |
PrismAsserts.assertEquals(File fileNewXml,
String objectString) |
static void |
PrismAsserts.assertEquals(Objectable expected,
Objectable actual) |
static <O extends Objectable> |
PrismAsserts.assertEquivalent(File expectedFile,
PrismObject<O> actual) |
static <O extends Objectable> |
PrismAsserts.assertEquivalent(String message,
File expectedFile,
PrismObject<O> actual) |
static PrismContext |
PrismTestUtil.createInitializedPrismContext() |
static PrismContext |
PrismTestUtil.createPrismContext() |
PrismContext |
PrismContextFactory.createPrismContext()
Returns UNINITIALIZED prism context.
|
static <T extends Objectable> |
PrismTestUtil.parseDelta(File file) |
static <T extends Objectable> |
PrismTestUtil.parseObject(Element element) |
static <T extends Objectable> |
PrismTestUtil.parseObject(File file) |
static <T extends Objectable> |
PrismTestUtil.parseObject(String xmlString) |
static List<PrismObject<? extends Objectable>> |
PrismTestUtil.parseObjects(File file) |
static void |
PrismTestUtil.resetPrismContext() |
static void |
PrismTestUtil.resetPrismContext(PrismContextFactory newPrismContextFactory) |
static String |
PrismTestUtil.serializeObjectToString(PrismObject<? extends Objectable> object) |
static <T> JAXBElement<T> |
PrismTestUtil.unmarshalElement(File xmlFile,
Class<T> type) |
static <T> JAXBElement<T> |
PrismTestUtil.unmarshalElement(String xmlString,
Class<T> type) |
static <T> T |
PrismTestUtil.unmarshalObject(File file,
Class<T> type) |
static <T> T |
PrismTestUtil.unmarshalObject(String stringXml,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
static void |
XmlTypeConverter.appendBelowNode(Object val,
QName xsdType,
QName name,
Node parentNode,
boolean recordType) |
static List<Object> |
XmlTypeConverter.convertValueElementAsList(Element valueElement) |
static <T> List<T> |
XmlTypeConverter.convertValueElementAsList(Element valueElement,
Class<T> type) |
static List<?> |
XmlTypeConverter.convertValueElementAsList(Element valueElement,
QName xsdType) |
static <T> List<T> |
XmlTypeConverter.convertValueElementAsList(NodeList valueNodes,
Class<T> type) |
static <T> T |
XmlTypeConverter.convertValueElementAsScalar(Element valueElement,
Class<T> type) |
static Object |
XmlTypeConverter.convertValueElementAsScalar(Element valueElement,
QName xsdType) |
<T> T |
PrismJaxbProcessor.fromElement(Object element,
Class<T> type) |
Object |
PrismJaxbProcessor.toAny(PrismValue value,
Document document) |
static Object |
XmlTypeConverter.toJavaValue(Element xmlElement)
Expects type information in xsi:type
|
static <T> T |
XmlTypeConverter.toJavaValue(Element xmlElement,
Class<T> type) |
static Object |
XmlTypeConverter.toJavaValue(Element xmlElement,
QName type) |
static TypedValue |
XmlTypeConverter.toTypedJavaValueWithDefaultType(Element xmlElement,
QName defaultType)
Try to locate element type from xsi:type, fall back to specified default
type.
|
static void |
XmlTypeConverter.toXsdElement(Object val,
Element element,
boolean recordType) |
static Object |
XmlTypeConverter.toXsdElement(Object val,
QName elementName,
Document doc) |
static Object |
XmlTypeConverter.toXsdElement(Object val,
QName elementName,
Document doc,
boolean recordType) |
static Object |
XmlTypeConverter.toXsdElement(Object val,
QName typeName,
QName elementName,
Document doc,
boolean recordType) |
<T> JAXBElement<T> |
PrismJaxbProcessor.unmarshalElement(File file,
Class<T> type) |
<T> JAXBElement<T> |
PrismJaxbProcessor.unmarshalElement(InputStream input,
Class<T> type) |
<T> JAXBElement<T> |
PrismJaxbProcessor.unmarshalElement(Node node,
Class<T> type) |
<T> JAXBElement<T> |
PrismJaxbProcessor.unmarshalElement(Reader reader,
Class<T> type) |
<T> JAXBElement<T> |
PrismJaxbProcessor.unmarshalElement(String xmlString,
Class<T> type) |
<T> T |
PrismJaxbProcessor.unmarshalObject(File file,
Class<T> type) |
<T> T |
PrismJaxbProcessor.unmarshalObject(Object domOrJaxbElement,
Class<T> type) |
<T> T |
PrismJaxbProcessor.unmarshalObject(String stringXml,
Class<T> type) |
<T> T |
PrismJaxbProcessor.unmarshalRootObject(File file,
Class<T> type) |
<T> T |
PrismJaxbProcessor.unmarshalToObject(Node node,
Class<T> type) |
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.
|
ConnectorInstance |
ConnectorFactory.createConnectorInstance(ConnectorType connectorType,
String namespace)
Creates new unconfigured instance of the connector.
|
<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.
|
Collection<PropertyModificationOperation> |
ConnectorInstance.modifyObject(ObjectClassComplexTypeDefinition objectClass,
Collection<? extends ResourceAttribute<?>> identifiers,
Collection<Operation> changes,
OperationResult parentResult)
TODO: This should return indication how the operation went, e.g.
|
<T extends ShadowType> |
ConnectorInstance.search(ObjectClassComplexTypeDefinition objectClassDefinition,
ObjectQuery query,
ResultHandler<T> handler,
OperationResult parentResult)
Execute iterative search operation.
|
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) |
ConnectorInstance |
ConnectorFactoryIcfImpl.createConnectorInstance(ConnectorType connectorType,
String namespace)
Creates new connector instance.
|
<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) |
Set<PropertyModificationOperation> |
ConnectorInstanceIcfImpl.modifyObject(ObjectClassComplexTypeDefinition objectClass,
Collection<? extends ResourceAttribute<?>> identifiers,
Collection<Operation> changes,
OperationResult parentResult) |
<T extends ShadowType> |
ConnectorInstanceIcfImpl.search(ObjectClassComplexTypeDefinition objectClassDefinition,
ObjectQuery query,
ResultHandler<T> handler,
OperationResult parentResult) |
Modifier and Type | Method and Description |
---|---|
org.identityconnectors.framework.common.objects.filter.Filter |
ValueOperation.interpret(ObjectFilter objectFilter) |
org.identityconnectors.framework.common.objects.filter.Filter |
LogicalOperation.interpret(ObjectFilter objectFilter) |
org.identityconnectors.framework.common.objects.filter.Filter |
FilterInterpreter.interpret(ObjectFilter filter) |
abstract org.identityconnectors.framework.common.objects.filter.Filter |
Operation.interpret(ObjectFilter objectFilter) |
Modifier and Type | Method and Description |
---|---|
static String |
UcfUtil.convertAttributeNameToIcf(QName attrQName,
String resourceSchemaNamespace) |
static Object |
UcfUtil.convertValueToIcf(Object value,
Protector protector,
QName propName) |
Modifier and Type | Method and Description |
---|---|
static ExecuteProvisioningScriptOperation |
ProvisioningUtil.convertToScriptOperation(ProvisioningScriptType scriptType,
String desc,
PrismContext prismContext) |
static <T extends ShadowType> |
ProvisioningUtil.determineShadowName(PrismObject<T> shadow) |
static <T extends ShadowType> |
ProvisioningUtil.determineShadowStringName(PrismObject<T> shadow) |
static String |
ProvisioningUtil.getResourceOidFromFilter(List<? extends ObjectFilter> conditions) |
static <T> T |
ProvisioningUtil.getValueFromFilter(List<? extends ObjectFilter> conditions,
QName propertyName) |
static <T extends ShadowType> |
ProvisioningUtil.normalizeShadow(T shadow,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
<T extends ObjectType> |
RepositoryService.addObject(PrismObject<T> object,
RepoAddOptions options,
OperationResult parentResult)
Add new object.
|
<T extends ObjectType> |
RepositoryService.countObjects(Class<T> type,
ObjectQuery query,
OperationResult parentResult)
Returns the number of objects that match specified criteria.
|
<T extends ObjectType> |
RepositoryService.getObject(Class<T> type,
String oid,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult parentResult)
Returns object for provided OID.
|
<T extends ObjectType> |
RepositoryService.getVersion(Class<T> type,
String oid,
OperationResult parentResult)
Returns object version for provided OID.
|
<T extends ShadowType> |
RepositoryService.listResourceObjectShadows(String resourceOid,
Class<T> resourceObjectShadowType,
OperationResult parentResult)
Search for resource object shadows of a specified type that belong to the
specified resource.
|
<T extends ObjectType> |
RepositoryService.modifyObject(Class<T> type,
String oid,
Collection<? extends ItemDelta> modifications,
OperationResult parentResult)
Modifies object using relative change description.
|
<T extends ObjectType> |
RepositoryService.searchObjects(Class<T> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult parentResult)
Search for objects in the repository.
|
<T extends ObjectType> |
RepositoryService.searchObjectsIterative(Class<T> type,
ObjectQuery query,
ResultHandler<T> handler,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult parentResult)
Search for objects in the repository in an iterative fashion.
|
Modifier and Type | Method and Description |
---|---|
<T extends ObjectType> |
RepositoryCache.addObject(PrismObject<T> object,
RepoAddOptions options,
OperationResult parentResult) |
<T extends ObjectType> |
RepositoryCache.countObjects(Class<T> type,
ObjectQuery query,
OperationResult parentResult) |
<T extends ObjectType> |
RepositoryCache.getObject(Class<T> type,
String oid,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult parentResult) |
<T extends ObjectType> |
RepositoryCache.getVersion(Class<T> type,
String oid,
OperationResult parentResult) |
<T extends ShadowType> |
RepositoryCache.listResourceObjectShadows(String resourceOid,
Class<T> resourceObjectShadowType,
OperationResult parentResult) |
<T extends ObjectType> |
RepositoryCache.modifyObject(Class<T> type,
String oid,
Collection<? extends ItemDelta> modifications,
OperationResult parentResult) |
<T extends ObjectType> |
RepositoryCache.searchObjects(Class<T> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult parentResult) |
<T extends ObjectType> |
RepositoryCache.searchObjectsIterative(Class<T> type,
ObjectQuery query,
ResultHandler<T> handler,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult parentResult) |
Modifier and Type | Method and Description |
---|---|
<T extends ObjectType> |
SqlRepositoryServiceImpl.addObject(PrismObject<T> object,
RepoAddOptions options,
OperationResult result) |
<T extends ObjectType> |
SqlRepositoryServiceImpl.getObject(Class<T> type,
String oid,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result) |
<T extends ObjectType> |
SqlRepositoryServiceImpl.getVersion(Class<T> type,
String oid,
OperationResult parentResult) |
<T extends ShadowType> |
SqlRepositoryServiceImpl.listResourceObjectShadows(String resourceOid,
Class<T> resourceObjectShadowType,
OperationResult result) |
<T extends ObjectType> |
SqlRepositoryServiceImpl.modifyObject(Class<T> type,
String oid,
Collection<? extends ItemDelta> modifications,
OperationResult result) |
<T extends ObjectType> |
SqlRepositoryServiceImpl.searchObjects(Class<T> type,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result) |
<T extends ObjectType> |
SqlRepositoryServiceImpl.searchObjectsIterative(Class<T> type,
ObjectQuery query,
ResultHandler<T> handler,
Collection<SelectorOptions<GetOperationOptions>> options,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
static <T extends ObjectType> |
RAnyConverter.getAnySetType(ItemDefinition definition) |
static <T extends ObjectType> |
RAnyConverter.getAnySetType(ItemDefinition definition,
Element value)
This method provides extension type (in real it's table) string for definition and value
defined as parameters.
|
static Object |
RAnyConverter.getRealRepoValue(ItemDefinition definition,
Element value)
This method provides transformation of
Element value to its object form, e.g. |
Modifier and Type | Method and Description |
---|---|
ItemDelta<?> |
CarefulAnt.createDelta(int iteration) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
RUtil.toJAXB(Class<?> parentClass,
ItemPath path,
String value,
Class<T> clazz,
PrismContext prismContext) |
static <T> T |
RUtil.toJAXB(Class<?> parentClass,
ItemPath path,
String value,
Class<T> clazz,
QName complexType,
PrismContext prismContext) |
static <T> T |
RUtil.toJAXB(String value,
Class<T> clazz,
PrismContext prismContext) |
static <T> T |
RUtil.toJAXB(String value,
Class<T> clazz,
QName type,
PrismContext prismContext) |
static <T> String |
RUtil.toRepo(T value,
PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
PrismContext |
MidPointPrismContextFactory.createInitializedPrismContext() |
static <V extends PrismValue> |
DeltaConvertor.createItemDelta(ItemDeltaType propMod,
Class<? extends Objectable> objectType,
PrismContext prismContext)
Creates delta from PropertyModificationType (XML).
|
static <V extends PrismValue> |
DeltaConvertor.createItemDelta(ItemDeltaType propMod,
PrismContainerDefinition<?> pcDef) |
static <T extends Objectable> |
DeltaConvertor.createObjectDelta(ObjectDeltaType objectDeltaType,
PrismContext prismContext) |
static <T extends Objectable> |
DeltaConvertor.createObjectDelta(ObjectModificationType objectModification,
Class<T> type,
PrismContext prismContext) |
static <T extends Objectable> |
DeltaConvertor.createObjectDelta(ObjectModificationType objectModification,
PrismObjectDefinition<T> objDef) |
static ObjectDeltaOperation |
DeltaConvertor.createObjectDeltaOperation(ObjectDeltaOperationType objectDeltaOperationType,
PrismContext prismContext) |
static ObjectQuery |
QueryConvertor.createObjectQuery(Class clazz,
QueryType queryType,
PrismContext prismContext) |
PrismContext |
MidPointPrismContextFactory.createPrismContext() |
static QueryType |
QueryConvertor.createQueryType(ObjectQuery query,
PrismContext prismContext) |
static boolean |
CapabilityUtil.isCapabilityEnabled(Element capability) |
static boolean |
CapabilityUtil.isCapabilityEnabled(Object capability) |
static ObjectFilter |
QueryConvertor.parseFilter(PrismContainerDefinition pcd,
Node filter) |
protected void |
MidPointPrismContextFactory.registerExtensionSchemas(SchemaRegistry schemaRegistry) |
static <T extends Objectable> |
DeltaConvertor.toModifications(Collection<ItemDeltaType> itemDeltaTypes,
PrismObjectDefinition<T> objDef) |
static <T extends Objectable> |
DeltaConvertor.toModifications(ObjectModificationType objectModification,
Class<T> type,
PrismContext prismContext) |
static <T extends Objectable> |
DeltaConvertor.toModifications(ObjectModificationType objectModification,
PrismObjectDefinition<T> objDef) |
static ObjectDeltaOperationType |
DeltaConvertor.toObjectDeltaOperationType(ObjectDeltaOperation objectDeltaOperation) |
static ObjectDeltaType |
DeltaConvertor.toObjectDeltaType(ObjectDelta<? extends Objectable> objectDelta) |
static String |
DeltaConvertor.toObjectDeltaTypeXml(ObjectDelta<? extends Objectable> delta) |
static <T extends Objectable> |
DeltaConvertor.toObjectModificationType(ObjectDelta<T> delta)
Converts this delta to ObjectModificationType (XML).
|
static Collection<ItemDeltaType> |
DeltaConvertor.toPropertyModificationTypes(ItemDelta delta)
Converts this delta to PropertyModificationType (XML).
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceAttributeContainer.add(ResourceAttribute<?> attribute) |
static ResourceAttributeContainer |
ResourceAttributeContainer.convertFromContainer(PrismContainer<?> origAttrContainer,
ObjectClassComplexTypeDefinition objectClassDefinition) |
ComplexTypeDefinition |
MidPointSchemaDefinitionFactory.createComplexTypeDefinition(com.sun.xml.xsom.XSComplexType complexType,
PrismContext prismContext,
com.sun.xml.xsom.XSAnnotation annotation) |
PrismContainerDefinition |
MidPointSchemaDefinitionFactory.createExtraDefinitionFromComplexType(com.sun.xml.xsom.XSComplexType complexType,
ComplexTypeDefinition complexTypeDefinition,
PrismContext prismContext,
com.sun.xml.xsom.XSAnnotation annotation) |
PrismPropertyDefinition |
MidPointSchemaDefinitionFactory.createPropertyDefinition(QName elementName,
QName typeName,
ComplexTypeDefinition complexTypeDefinition,
PrismContext prismContext,
com.sun.xml.xsom.XSAnnotation annotation,
com.sun.xml.xsom.XSParticle elementParticle) |
<X> ResourceAttribute<X> |
ResourceAttributeContainer.findOrCreateAttribute(QName attributeName) |
<X> ResourceAttribute<X> |
ResourceAttributeContainer.findOrCreateAttribute(ResourceAttributeDefinition attributeDefinition) |
void |
MidPointSchemaDefinitionFactory.finishComplexTypeDefinition(ComplexTypeDefinition complexTypeDefinition,
com.sun.xml.xsom.XSComplexType complexType,
PrismContext prismContext,
com.sun.xml.xsom.XSAnnotation annotation) |
static ResourceSchema |
ResourceSchema.parse(Element element,
String shortDesc,
PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
static void |
ShadowUtil.applyResourceSchema(PrismObject<? extends ShadowType> shadow,
ResourceSchema resourceSchema)
This is not supposed to be used in production code! It is just for the tests.
|
static <T extends ObjectType> |
ObjectQueryUtil.createNameQuery(Class<T> clazz,
PrismContext prismContext,
String name) |
static ObjectQuery |
ObjectQueryUtil.createResourceAndAccountQuery(String resourceOid,
QName objectClass,
PrismContext prismContext) |
static ObjectQuery |
ObjectQueryUtil.createRootOrgQuery(PrismContext prismContext) |
static PrismContainerDefinition<ConnectorConfigurationType> |
ConnectorTypeUtil.findConfigurationContainerDefintion(ConnectorType connectorType,
PrismContext prismContext) |
static <T> T |
ShadowUtil.getAttributeValue(PrismObject<? extends ShadowType> shadow,
QName attrName) |
static <T> T |
ShadowUtil.getAttributeValue(ShadowType shadowType,
QName attrName) |
static PrismSchema |
ConnectorTypeUtil.getConnectorSchema(ConnectorType connectorType,
PrismContext prismContext)
Returns parsed connector schema
|
static ConnectorType |
ResourceTypeUtil.getConnectorType(ResourceType resource,
ObjectResolver resolver,
OperationResult parentResult)
The usage of "resolver" is experimental.
|
static List<Object> |
ResourceTypeUtil.getEffectiveCapabilities(ResourceType resource)
Assumes that native capabilities are already cached.
|
<T extends ObjectType> |
ObjectResolver.resolve(ObjectReferenceType ref,
Class<T> expectedType,
String contextDescription,
OperationResult result)
Resolve the provided reference to object (ObjectType).
|
Modifier and Type | Method and Description |
---|---|
void |
Task.addExtensionProperty(PrismProperty<?> property)
Adds value(s) to a given extension property.
|
void |
Task.addExtensionReference(PrismReference reference)
Adds value(s) to a given extension reference.
|
String |
TaskManager.addTask(PrismObject<TaskType> taskPrism,
OperationResult parentResult)
Add new task.
|
void |
TaskManager.cleanupTasks(CleanupPolicyType closedTasksPolicy,
OperationResult opResult)
Deletes obsolete tasks, as specified in the policy.
|
int |
TaskManager.countNodes(ObjectQuery query,
OperationResult result)
Returns the number of nodes satisfying given query.
|
int |
TaskManager.countTasks(ObjectQuery query,
OperationResult result)
Returns the number of tasks satisfying given query.
|
Task |
TaskManager.createTaskInstance(PrismObject<TaskType> taskPrism,
OperationResult parentResult)
Creates task instance from the XML task representation.
|
Task |
TaskManager.createTaskInstance(PrismObject<TaskType> taskPrism,
String operationName,
OperationResult parentResult)
Creates task instance from the XML task representation.
|
void |
Task.deleteExtensionProperty(PrismProperty<?> property)
Removes specified VALUES of this extension property (not all of its values).
|
void |
TaskManager.deleteTask(String oid,
OperationResult parentResult)
Deletes task with provided OID.
|
void |
Task.finishHandler(OperationResult parentResult)
Removes current handler from the handlers stack.
|
<T extends ObjectType> |
Task.getObject(Class<T> type,
OperationResult parentResult)
Returns object that the task is associated with.
|
Task |
Task.getParentTask(OperationResult result)
Returns the parent task, if any.
|
Task |
TaskManager.getTask(String taskOid,
OperationResult parentResult)
Returns a task with specified OID.
|
Task |
TaskManager.getTaskByIdentifier(String identifier,
OperationResult parentResult)
Returns a task with a given identifier.
|
List<Task> |
Task.listDependents(OperationResult result)
Lists all explicit dependents, i.e.
|
List<Task> |
Task.listPrerequisiteTasks(OperationResult parentResult)
List all prerequisite tasks for the current tasks, i.e.
|
List<Task> |
Task.listSubtasks(OperationResult parentResult)
Lists the (direct) subtasks of a given task.
|
List<Task> |
Task.listSubtasksDeeply(OperationResult result)
List all the subtasks of a given task, i.e.
|
List<Task> |
TaskManager.listTasksRelatedToObject(String oid,
ClusterStatusInformation clusterStatusInformation,
OperationResult result)
Returns tasks that are related to an object with a given OID.
|
void |
Task.modifyExtension(ItemDelta itemDelta)
Modifies task extension using given delta.
|
void |
TaskManager.modifyTask(String oid,
Collection<? extends ItemDelta> modifications,
OperationResult parentResult)
Modifies task using relative change description.
|
void |
TaskManager.pauseTask(Task task,
TaskWaitingReason reason,
OperationResult parentResult)
Puts a runnable/running task into WAITING state.
|
void |
Task.refresh(OperationResult parentResult)
Re-reads the task state from the persistent storage.
|
void |
TaskManager.resumeTask(Task task,
OperationResult parentResult)
Resume suspended task.
|
void |
Task.savePendingModifications(OperationResult parentResult)
Saves modifications done against the in-memory version of the task into the repository.
|
List<Node> |
TaskManager.searchNodes(ObjectQuery query,
ClusterStatusInformation clusterStatusInformation,
OperationResult result)
Returns relevant nodes satisfying given query.
|
List<Task> |
TaskManager.searchTasks(ObjectQuery query,
ClusterStatusInformation clusterStatusInformation,
OperationResult result)
Returns tasks satisfying given query.
|
void |
Task.setBindingImmediate(TaskBinding value,
OperationResult parentResult)
Sets the binding (immediately through to the repo).
|
void |
Task.setDescriptionImmediate(String value,
OperationResult parentResult)
Sets task description, immediately storing it into the repo.
|
<C extends Containerable> |
Task.setExtensionContainer(PrismContainer<C> item)
Sets a container in the extension - replaces existing value(s), if any, by the one(s) provided.
|
<T extends Containerable> |
Task.setExtensionContainerValue(QName containerName,
T value)
Sets a container value in the extension - replaces existing value(s), if any, by the one provided.
|
void |
Task.setExtensionProperty(PrismProperty<?> property)
Sets a property in the extension - replaces existing value(s), if any, by the one(s) provided.
|
void |
Task.setExtensionPropertyImmediate(PrismProperty<?> property,
OperationResult parentResult)
"Immediate" version of the above method.
|
<T> void |
Task.setExtensionPropertyValue(QName propertyName,
T value)
Sets (i.e., replaces) the value of the given property in task extension.
|
void |
Task.setExtensionReference(PrismReference reference)
Sets a reference in the extension - replaces existing value(s), if any, by the one(s) provided.
|
void |
Task.setHandlerUriImmediate(String value,
OperationResult parentResult)
Sets handler URI, also immediately in the repository.
|
void |
Task.setNameImmediate(PolyStringType value,
OperationResult parentResult)
Sets the human-readable name of the task, immediately into repository.
|
void |
Task.setObjectRefImmediate(ObjectReferenceType value,
OperationResult parentResult)
"Immediate" version of the previous method.
|
void |
Task.setProgressImmediate(long progress,
OperationResult parentResult)
"Immediate" version of the above method.
|
void |
Task.setResultImmediate(OperationResult result,
OperationResult parentResult)
"Immediate" version of above method.
|
void |
Task.startWaitingForTasksImmediate(OperationResult result)
Starts "passive" waiting for other tasks.
|
void |
TaskManager.unpauseTask(Task task,
OperationResult parentResult)
Puts a WAITING task back into RUNNABLE state.
|
TaskRunResult |
Task.waitForSubtasks(Integer interval,
Collection<ItemDelta<?>> extensionDeltas,
OperationResult parentResult)
Deprecated.
|
TaskRunResult |
Task.waitForSubtasks(Integer interval,
OperationResult parentResult)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
TaskQuartzImpl.addExtensionProperty(PrismProperty<?> property) |
void |
TaskQuartzImpl.addExtensionReference(PrismReference reference) |
String |
TaskManagerQuartzImpl.addTask(PrismObject<TaskType> taskPrism,
OperationResult parentResult) |
void |
TaskQuartzImpl.checkDependencies(OperationResult result) |
void |
TaskManagerQuartzImpl.checkWaitingTasks(OperationResult result) |
void |
TaskManagerQuartzImpl.cleanupTasks(CleanupPolicyType policy,
OperationResult parentResult) |
void |
TaskManagerQuartzImpl.closeTask(Task task,
OperationResult parentResult) |
int |
TaskManagerQuartzImpl.countNodes(ObjectQuery query,
OperationResult result) |
int |
TaskManagerQuartzImpl.countTasks(ObjectQuery query,
OperationResult result) |
Task |
TaskManagerQuartzImpl.createTaskInstance(PrismObject<TaskType> taskPrism,
OperationResult parentResult) |
Task |
TaskManagerQuartzImpl.createTaskInstance(PrismObject<TaskType> taskPrism,
String operationName,
OperationResult parentResult) |
void |
TaskQuartzImpl.deleteExtensionProperty(PrismProperty<?> property) |
void |
TaskManagerQuartzImpl.deleteTask(String oid,
OperationResult parentResult) |
void |
TaskQuartzImpl.finishHandler(OperationResult parentResult) |
<T extends ObjectType> |
TaskQuartzImpl.getObject(Class<T> type,
OperationResult parentResult) |
Task |
TaskQuartzImpl.getParentTask(OperationResult result) |
Task |
TaskManagerQuartzImpl.getTask(String taskOid,
OperationResult parentResult) |
Task |
TaskManagerQuartzImpl.getTaskByIdentifier(String identifier,
OperationResult parentResult) |
List<Task> |
TaskQuartzImpl.listDependents(OperationResult parentResult) |
List<Task> |
TaskQuartzImpl.listPrerequisiteTasks(OperationResult parentResult) |
List<PrismObject<TaskType>> |
TaskQuartzImpl.listPrerequisiteTasksRaw(OperationResult parentResult) |
List<Task> |
TaskQuartzImpl.listSubtasks(OperationResult parentResult) |
List<Task> |
TaskQuartzImpl.listSubtasksDeeply(OperationResult parentResult) |
List<PrismObject<TaskType>> |
TaskQuartzImpl.listSubtasksRaw(OperationResult parentResult) |
List<Task> |
TaskManagerQuartzImpl.listTasksRelatedToObject(String oid,
ClusterStatusInformation clusterStatusInformation,
OperationResult result) |
void |
TaskQuartzImpl.modifyExtension(ItemDelta itemDelta) |
void |
TaskManagerQuartzImpl.modifyTask(String oid,
Collection<? extends ItemDelta> modifications,
OperationResult parentResult) |
void |
TaskManagerQuartzImpl.pauseTask(Task task,
TaskWaitingReason reason,
OperationResult parentResult) |
void |
TaskQuartzImpl.refresh(OperationResult parentResult) |
void |
TaskManagerQuartzImpl.resumeTask(Task task,
OperationResult parentResult) |
void |
TaskQuartzImpl.savePendingModifications(OperationResult parentResult) |
List<Node> |
TaskManagerQuartzImpl.searchNodes(ObjectQuery query,
ClusterStatusInformation clusterStatusInformation,
OperationResult parentResult) |
List<Task> |
TaskManagerQuartzImpl.searchTasks(ObjectQuery query,
ClusterStatusInformation clusterStatusInformation,
OperationResult parentResult) |
void |
TaskQuartzImpl.setBindingImmediate(TaskBinding value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setCategoryImmediate(String value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setCompletionTimestampImmediate(Long value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setDescriptionImmediate(String value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setExecutionStatusImmediate(TaskExecutionStatus value,
OperationResult parentResult) |
<C extends Containerable> |
TaskQuartzImpl.setExtensionContainer(PrismContainer<C> container) |
<T extends Containerable> |
TaskQuartzImpl.setExtensionContainerValue(QName containerName,
T value) |
void |
TaskQuartzImpl.setExtensionProperty(PrismProperty<?> property) |
void |
TaskQuartzImpl.setExtensionPropertyImmediate(PrismProperty<?> property,
OperationResult parentResult) |
<T> void |
TaskQuartzImpl.setExtensionPropertyValue(QName propertyName,
T value) |
void |
TaskQuartzImpl.setExtensionReference(PrismReference reference) |
void |
TaskQuartzImpl.setHandlerUriImmediate(String value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setLastRunFinishTimestampImmediate(Long value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setLastRunStartTimestampImmediate(Long value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setNameImmediate(PolyStringType value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setNodeImmediate(String value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setObjectRefImmediate(ObjectReferenceType value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setOtherHandlersUriStackImmediate(UriStack value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setParentImmediate(String value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setProgressImmediate(long value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setRecurrenceStatusImmediate(TaskRecurrence value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setResultImmediate(OperationResult result,
OperationResult parentResult) |
void |
TaskQuartzImpl.setResultStatusTypeImmediate(OperationResultStatusType value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setScheduleImmediate(ScheduleType value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setThreadStopActionImmediate(ThreadStopActionType value,
OperationResult parentResult) |
void |
TaskQuartzImpl.setWaitingReasonImmediate(TaskWaitingReason value,
OperationResult parentResult) |
void |
TaskQuartzImpl.startWaitingForTasksImmediate(OperationResult result) |
void |
TaskManagerQuartzImpl.unpauseTask(Task task,
OperationResult parentResult) |
TaskRunResult |
TaskQuartzImpl.waitForSubtasks(Integer interval,
Collection<ItemDelta<?>> extensionDeltas,
OperationResult parentResult)
Deprecated.
|
TaskRunResult |
TaskQuartzImpl.waitForSubtasks(Integer interval,
OperationResult parentResult)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ClusterManager.checkWaitingTasks(OperationResult result) |
Modifier and Type | Method and Description |
---|---|
protected PrismObject<ResourceType> |
AbstractIntegrationTest.addResourceFromFile(String filePath,
String connectorType,
OperationResult result) |
static void |
IntegrationTestTools.applyResourceSchema(ShadowType accountType,
ResourceType resourceType,
PrismContext prismContext) |
protected void |
AbstractIntegrationTest.applySyncSettings(Class clazz,
String oid,
QName path,
ProjectionPolicyType syncSettings) |
protected void |
AbstractIntegrationTest.assertShadowRepo(String oid,
String username,
ResourceType resourceType) |
protected void |
AbstractIntegrationTest.assumeAssignmentPolicy(AssignmentPolicyEnforcementType policy) |
protected void |
AbstractIntegrationTest.assumeResourceAssigmentPolicy(String oid,
AssignmentPolicyEnforcementType policy,
boolean legalize) |
static void |
IntegrationTestTools.checkAllShadows(ResourceType resourceType,
RepositoryService repositoryService,
ObjectChecker<ShadowType> checker,
PrismContext prismContext) |
static ObjectQuery |
IntegrationTestTools.createAllShadowsQuery(ResourceType resourceType,
PrismContext prismContext) |
static ObjectQuery |
IntegrationTestTools.createAllShadowsQuery(ResourceType resourceType,
QName objectClass,
PrismContext prismContext) |
static ObjectQuery |
IntegrationTestTools.createAllShadowsQuery(ResourceType resourceType,
String objectClassLocalName,
PrismContext prismContext) |
protected void |
AbstractIntegrationTest.deleteResourceAssigmentPolicy(String oid,
AssignmentPolicyEnforcementType policy,
boolean legalize) |
static void |
IntegrationTestTools.displayXml(String message,
PrismObject<? extends ObjectType> object) |
protected void |
AbstractIntegrationTest.fillInConnectorRef(PrismObject<ResourceType> resourcePrism,
String connectorType,
OperationResult result) |
protected PrismObject<ConnectorType> |
AbstractIntegrationTest.findConnectorByType(String connectorType,
OperationResult result) |
protected PrismObject<ConnectorType> |
AbstractIntegrationTest.findConnectorByTypeAndVersion(String connectorType,
String connectorVersion,
OperationResult result) |
protected SystemConfigurationType |
AbstractIntegrationTest.getSystemConfiguration() |
protected <T extends ObjectType> |
AbstractIntegrationTest.parseObjectType(File file) |
protected <T extends ObjectType> |
AbstractIntegrationTest.parseObjectType(File file,
Class<T> clazz) |
protected <T extends ObjectType> |
AbstractIntegrationTest.parseObjectTypeFromFile(String fileName,
Class<T> clazz) |
protected <T extends ObjectType> |
AbstractIntegrationTest.repoAddObject(Class<T> type,
PrismObject<T> object,
OperationResult result) |
protected <T extends ObjectType> |
AbstractIntegrationTest.repoAddObject(Class<T> type,
PrismObject<T> object,
String contextDesc,
OperationResult result) |
protected <T extends ObjectType> |
AbstractIntegrationTest.repoAddObjectFromFile(File file,
Class<T> type,
OperationResult parentResult) |
protected <T extends ObjectType> |
AbstractIntegrationTest.repoAddObjectFromFile(String filePath,
Class<T> type,
OperationResult parentResult) |
protected <T extends ObjectType> |
AbstractIntegrationTest.repoAddObjectsFromFile(String filePath,
Class<T> type,
OperationResult parentResult) |
protected static <T> T |
AbstractIntegrationTest.unmarshallJaxbFromFile(File file,
Class<T> clazz) |
protected static ObjectType |
AbstractIntegrationTest.unmarshallJaxbFromFile(String filePath) |
protected static <T> T |
AbstractIntegrationTest.unmarshallJaxbFromFile(String filePath,
Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
<T extends ObjectType> |
DirectoryFileObjectResolver.resolve(ObjectReferenceType ref,
Class<T> expectedType,
String contextDescription,
OperationResult result) |
static void |
TestUtil.setAttribute(PrismObject<ShadowType> account,
QName attrName,
QName typeName,
PrismContext prismContext,
String value) |
Modifier and Type | Method and Description |
---|---|
static ACAttributeDto |
ACAttributeDto.createACAttributeDto(PrismPropertyDefinition definition,
ResourceAttributeDefinitionType construction,
PrismContext context) |
ResourceAttributeDefinitionType |
ACAttributeDto.getConstruction() |
PrismContainerValue |
AssignmentEditorDto.getNewValue() |
boolean |
AssignmentEditorDto.isModified() |
Modifier and Type | Method and Description |
---|---|
ObjectDelta |
ObjectWrapper.getObjectDelta() |
void |
ObjectWrapper.normalize() |
Modifier and Type | Method and Description |
---|---|
ObjectFilter |
TaskDtoExecutionStatusFilter.createFilter(Class clazz,
PrismContext prismContext) |
List<DeltaDto> |
TaskDto.retrieveResultingDeltas(Task task) |
Constructor and Description |
---|
TaskDto(Task task,
ClusterStatusInformation clusterStatusInfo,
TaskManager taskManager,
ModelInteractionService modelInteractionService,
TaskDtoProviderOptions options) |
Modifier and Type | Method and Description |
---|---|
List<? extends ObjectReferenceType> |
WorkflowService.getApprovedBy(Task task,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
void |
ChangeProcessor.finishProcess(ProcessEvent event,
Task task,
OperationResult result)
Handles an event from WfMS that indicates finishing of the workflow process instance.
|
PrismObject<? extends ObjectType> |
ChangeProcessor.getAdditionalData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
PrismObject<? extends ObjectType> |
ChangeProcessor.getRequestSpecificData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
HookOperationMode |
ChangeProcessor.startProcessesIfNeeded(ModelContext context,
Task task,
OperationResult result)
Processes workflow-related aspect of a model operation.
|
Modifier and Type | Method and Description |
---|---|
void |
PrimaryChangeProcessor.finishProcess(ProcessEvent event,
Task task,
OperationResult result) |
PrismObject<? extends ObjectType> |
PrimaryApprovalProcessWrapper.getAdditionalData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
PrismObject<? extends ObjectType> |
PrimaryChangeProcessor.getAdditionalData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
PrismObject<? extends ObjectType> |
PrimaryApprovalProcessWrapper.getRequestSpecificData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
PrismObject<? extends ObjectType> |
PrimaryChangeProcessor.getRequestSpecificData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
List<ObjectDelta<Objectable>> |
PrimaryApprovalProcessWrapper.prepareDeltaOut(ProcessEvent event,
Task task,
OperationResult result) |
HookOperationMode |
PrimaryChangeProcessor.startProcessesIfNeeded(ModelContext context,
Task task,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
PrismObject<? extends ObjectType> |
AddRoleAssignmentWrapper.getAdditionalData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
PrismObject<? extends ObjectType> |
AddRoleAssignmentWrapper.getRequestSpecificData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result) |
List<ObjectDelta<Objectable>> |
AbstractWrapper.prepareDeltaOut(ProcessEvent event,
Task task,
OperationResult result) |
HookOperationMode |
PrimaryUserChangeProcessor.startProcessesIfNeeded(ModelContext context,
Task task,
OperationResult result) |
Modifier and Type | Method and Description |
---|---|
PrismObject<? extends ObjectType> |
MiscDataUtil.getObjectAfter(Map<String,Object> variables,
ObjectDelta delta,
PrismObject<? extends ObjectType> objectBefore,
PrismContext prismContext,
OperationResult result) |
PrismObject<? extends ObjectType> |
MiscDataUtil.getObjectBefore(Map<String,Object> variables,
PrismContext prismContext,
OperationResult result) |
ObjectDelta |
MiscDataUtil.getObjectDelta(Map<String,Object> variables,
OperationResult result) |
PrismObject<UserType> |
MiscDataUtil.getRequester(Map<String,Object> variables,
OperationResult result) |
Task |
MiscDataUtil.getShadowTask(Map<String,Object> variables,
OperationResult result) |
Copyright © 2013 evolveum. All rights reserved.