@Component public class ConfigurationLogic extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
ConfigurationLogic() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String schema) |
void |
export(OutputStream os) |
AttrTO |
get(String schema) |
List<AttrTO> |
list() |
T |
resolveBeanReference(Method method,
Object... args)
Resolves stored bean (if existing) referred by the given CUD method.
|
protected EntityTO |
resolveReference(Method method,
Object... args) |
void |
set(AttrTO value) |
@PreAuthorize(value="hasRole(\'CONFIGURATION_DELETE\')") public void delete(String schema)
@PreAuthorize(value="hasRole(\'CONFIGURATION_LIST\')") public List<AttrTO> list()
@PreAuthorize(value="hasRole(\'CONFIGURATION_GET\')") @Transactional(readOnly=true) public AttrTO get(String schema)
@PreAuthorize(value="hasRole(\'CONFIGURATION_SET\')") public void set(AttrTO value)
@PreAuthorize(value="hasRole(\'CONFIGURATION_EXPORT\')") @Transactional(readOnly=true) public void export(OutputStream os)
protected EntityTO 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.