public abstract class AbstractQNameAwareCannedQueryFactory<R> extends AbstractCannedQueryFactory<R>
AbstractCannedQueryFactory layer, for various
implementations that need to know about QName IDs and similar| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractQNameAwareCannedQueryFactory.NestedComparator<R> |
static class |
AbstractQNameAwareCannedQueryFactory.NodeBackedEntityComparator
An instance of a
AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator for a NodeBackedEntity |
static class |
AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator<R>
Utility class to sort Entities on the basis of a Comparable property.
|
| Modifier and Type | Field and Description |
|---|---|
protected CannedQueryDAO |
cannedQueryDAO |
protected MethodSecurityBean<R> |
methodSecurity |
protected NodeDAO |
nodeDAO |
protected QNameDAO |
qnameDAO |
protected TenantService |
tenantService |
| Constructor and Description |
|---|
AbstractQNameAwareCannedQueryFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected CannedQueryPageDetails |
createCQPageDetails(PagingRequest pagingReq) |
protected CannedQuerySortDetails |
createCQSortDetails(List<Pair<QName,Boolean>> sort)
Creates a Canned Query sort details, for the given list of properties
and if they should be Ascending or Descending
|
CannedQuerySortDetails |
createDateAscendingCQSortDetails() |
CannedQuerySortDetails |
createDateDescendingCQSortDetails() |
protected Long |
getNodeId(NodeRef nodeRef) |
protected Long |
getQNameId(QName qname) |
void |
setCannedQueryDAO(CannedQueryDAO cannedQueryDAO) |
void |
setMethodSecurity(MethodSecurityBean<R> methodSecurity) |
void |
setNodeDAO(NodeDAO nodeDAO) |
void |
setQnameDAO(QNameDAO qnameDAO) |
void |
setTenantService(TenantService tenantService) |
getCannedQuery, getQueryExecutionId, setBeanName, setRegistryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCannedQueryprotected MethodSecurityBean<R> methodSecurity
protected NodeDAO nodeDAO
protected QNameDAO qnameDAO
protected TenantService tenantService
protected CannedQueryDAO cannedQueryDAO
public AbstractQNameAwareCannedQueryFactory()
public void setNodeDAO(NodeDAO nodeDAO)
public void setQnameDAO(QNameDAO qnameDAO)
public void setCannedQueryDAO(CannedQueryDAO cannedQueryDAO)
public void setTenantService(TenantService tenantService)
public void setMethodSecurity(MethodSecurityBean<R> methodSecurity)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class AbstractCannedQueryFactory<R>Exceptionprotected CannedQuerySortDetails createCQSortDetails(List<Pair<QName,Boolean>> sort)
protected CannedQueryPageDetails createCQPageDetails(PagingRequest pagingReq)
public CannedQuerySortDetails createDateAscendingCQSortDetails()
public CannedQuerySortDetails createDateDescendingCQSortDetails()
Copyright © 2005–2021 Alfresco Software. All rights reserved.