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