@Component public class RemediationLogic extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
RemediationLogic() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String key) |
Pair<Integer,List<RemediationTO>> |
list(Date before,
Date after,
int page,
int size,
List<OrderByClause> orderByClauses) |
RemediationTO |
read(String key) |
ProvisioningResult<?> |
remedy(String key,
AnyPatch anyPatch,
boolean nullPriorityAsync) |
ProvisioningResult<?> |
remedy(String key,
AnyTO anyTO,
boolean nullPriorityAsync) |
ProvisioningResult<?> |
remedy(String key,
String anyKey,
boolean nullPriorityAsync) |
T |
resolveBeanReference(Method method,
Object... args)
Resolves stored bean (if existing) referred by the given CUD method.
|
protected RemediationTO |
resolveReference(Method method,
Object... args) |
@PreAuthorize(value="hasRole(\'REMEDIATION_LIST\')") @Transactional(readOnly=true) public Pair<Integer,List<RemediationTO>> list(Date before, Date after, int page, int size, List<OrderByClause> orderByClauses)
@PreAuthorize(value="hasRole(\'REMEDIATION_READ\')") @Transactional(readOnly=true) public RemediationTO read(String key)
@PreAuthorize(value="hasRole(\'REMEDIATION_DELETE\')") @Transactional public void delete(String key)
@PreAuthorize(value="hasRole(\'REMEDIATION_REMEDY\')") public ProvisioningResult<?> remedy(String key, AnyTO anyTO, boolean nullPriorityAsync)
@PreAuthorize(value="hasRole(\'REMEDIATION_REMEDY\')") public ProvisioningResult<?> remedy(String key, AnyPatch anyPatch, boolean nullPriorityAsync)
@PreAuthorize(value="hasRole(\'REMEDIATION_REMEDY\')") public ProvisioningResult<?> remedy(String key, String anyKey, boolean nullPriorityAsync)
protected RemediationTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
UnresolvedReferenceException
public T resolveBeanReference(Method method, Object... args) throws UnresolvedReferenceException
method
- method.args
- method arguments.UnresolvedReferenceException
- in case of failures, read-only methods and unresolved bean.Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.