@Component public class DelegationLogic extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
DelegationLogic() |
Modifier and Type | Method and Description |
---|---|
DelegationTO |
create(DelegationTO delegationTO) |
DelegationTO |
delete(String key) |
List<DelegationTO> |
list() |
DelegationTO |
read(String key) |
T |
resolveBeanReference(Method method,
Object... args)
Resolves stored bean (if existing) referred by the given CUD method.
|
protected DelegationTO |
resolveReference(Method method,
Object... args) |
DelegationTO |
update(DelegationTO delegationTO) |
@PreAuthorize(value="isAuthenticated()") @Transactional(readOnly=true) public DelegationTO read(String key)
@PreAuthorize(value="isAuthenticated()") @Transactional(readOnly=true) public List<DelegationTO> list()
@PreAuthorize(value="isAuthenticated()") public DelegationTO create(DelegationTO delegationTO)
@PreAuthorize(value="isAuthenticated()") public DelegationTO update(DelegationTO delegationTO)
@PreAuthorize(value="isAuthenticated()") public DelegationTO delete(String key)
protected DelegationTO 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.