Class MarkManager
java.lang.Object
com.evolveum.midpoint.model.common.MarkManager
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@NotNull Collection<GlobalRuleWithId>getAllEnabledMarkPolicyRules(Task task, OperationResult result) Collects all (global) policy rules from all marks.@NotNull Collection<MarkType>getAllEventMarks(OperationResult result) @NotNull Collection<MarkType>getAllMarks(OperationResult result) @NotNull MarkTypegetMark(String oid, OperationResult result) Gets a mark by OID.@Nullable MarkTypegetMarkByUri(@NotNull String uri, OperationResult result) Gets a mark by URI.@Nullable MarkTypegetMarkIfExists(String oid, OperationResult result) Gets the mark by OID (if exists).resolveMarkNames(Collection<String> markOids, OperationResult result) Temporary
- 
Constructor Details- 
MarkManagerpublic MarkManager()
 
- 
- 
Method Details- 
getMark@NotNull public @NotNull MarkType getMark(String oid, OperationResult result) throws ObjectNotFoundException, SchemaException Gets a mark by OID.
- 
getMarkIfExists@Nullable public @Nullable MarkType getMarkIfExists(String oid, OperationResult result) throws SchemaException Gets the mark by OID (if exists).- Throws:
- SchemaException
 
- 
getMarkByUri@Nullable public @Nullable MarkType getMarkByUri(@NotNull @NotNull String uri, OperationResult result) throws SchemaException, ConfigurationException Gets a mark by URI. Note that we currently have no repo constraint disallowing multiple marks with the same URI, but check that as a configuration exception. This should be perhaps changed and enforced on DB level.
- 
getAllMarks
- 
getAllEventMarks
- 
getAllEnabledMarkPolicyRules@NotNull public @NotNull Collection<GlobalRuleWithId> getAllEnabledMarkPolicyRules(Task task, OperationResult result) Collects all (global) policy rules from all marks. Adding the `markRef` in case it does not include a reference to the current mark. [EP:M:PRC] DONE, the returned values have correct origin
- 
resolveMarkNamesTemporary
 
-