@Component public class ImplementationLogic extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
ImplementationLogic() |
Modifier and Type | Method and Description |
---|---|
ImplementationTO |
create(ImplementationTO implementationTO) |
void |
delete(ImplementationType type,
String key) |
List<ImplementationTO> |
list(ImplementationType type) |
ImplementationTO |
read(ImplementationType type,
String key) |
T |
resolveBeanReference(Method method,
Object... args)
Resolves stored bean (if existing) referred by the given CUD method.
|
protected ImplementationTO |
resolveReference(Method method,
Object... args) |
ImplementationTO |
update(ImplementationTO implementationTO) |
@PreAuthorize(value="hasRole(\'IMPLEMENTATION_LIST\')") @Transactional(readOnly=true) public List<ImplementationTO> list(ImplementationType type)
@PreAuthorize(value="hasRole(\'IMPLEMENTATION_READ\')") @Transactional(readOnly=true) public ImplementationTO read(ImplementationType type, String key)
@PreAuthorize(value="hasRole(\'IMPLEMENTATION_CREATE\')") public ImplementationTO create(ImplementationTO implementationTO)
@PreAuthorize(value="hasRole(\'IMPLEMENTATION_UPDATE\')") public ImplementationTO update(ImplementationTO implementationTO)
@PreAuthorize(value="hasRole(\'IMPLEMENTATION_DELETE\')") public void delete(ImplementationType type, String key)
protected ImplementationTO 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.