@Component public class ResourceLogic extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
ResourceLogic() |
@PreAuthorize(value="hasRole(\'RESOURCE_CREATE\')") public ResourceTO create(ResourceTO resourceTO)
@PreAuthorize(value="hasRole(\'RESOURCE_UPDATE\')") public ResourceTO update(ResourceTO resourceTO)
@PreAuthorize(value="hasRole(\'RESOURCE_UPDATE\')") public void setLatestSyncToken(String key, String anyTypeKey)
@PreAuthorize(value="hasRole(\'RESOURCE_UPDATE\')") public void removeSyncToken(String key, String anyTypeKey)
@PreAuthorize(value="hasRole(\'RESOURCE_DELETE\')") public ResourceTO delete(String key)
@PreAuthorize(value="hasRole(\'RESOURCE_READ\')") @Transactional(readOnly=true) public ResourceTO read(String key)
@PreAuthorize(value="hasRole(\'RESOURCE_LIST\')") @Transactional(readOnly=true) public List<ResourceTO> list()
@Transactional(readOnly=true) public String getConnObjectKeyValue(String key, String anyTypeKey, String anyKey)
@PreAuthorize(value="hasRole(\'RESOURCE_GET_CONNOBJECT\')") @Transactional(readOnly=true) public ConnObjectTO readConnObjectByAnyKey(String key, String anyTypeKey, String anyKey)
@PreAuthorize(value="hasRole(\'RESOURCE_GET_CONNOBJECT\')") @Transactional(readOnly=true) public ConnObjectTO readConnObjectByConnObjectKeyValue(String key, String anyTypeKey, String connObjectKeyValue)
@PreAuthorize(value="hasRole(\'RESOURCE_LIST_CONNOBJECT\')") @Transactional(readOnly=true) public Pair<SearchResult,List<ConnObjectTO>> searchConnObjects(Filter filter, Set<String> moreAttrsToGet, String key, String anyTypeKey, int size, String pagedResultsCookie, List<OrderByClause> orderBy)
@PreAuthorize(value="hasRole(\'CONNECTOR_READ\')") @Transactional(readOnly=true) public void check(ResourceTO resourceTO)
protected ResourceTO 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.