org.alfresco.repo.calendar.cannedqueries
Class GetCalendarEntriesCannedQuery

java.lang.Object
  extended by org.alfresco.query.AbstractCannedQuery
      extended by org.alfresco.repo.security.permissions.impl.acegi.AbstractCannedQueryPermissions
          extended by org.alfresco.repo.calendar.cannedqueries.GetCalendarEntriesCannedQuery
All Implemented Interfaces:
org.alfresco.query.CannedQuery

public class GetCalendarEntriesCannedQuery
extends AbstractCannedQueryPermissions

This class provides support for canned queries used by the CalendarService.

Since:
4.0

Nested Class Summary
protected static class GetCalendarEntriesCannedQuery.CalendarEntityComparator
          Utility class to sort CalendarEntrys on the basis of a Comparable property.
 
Constructor Summary
GetCalendarEntriesCannedQuery(CannedQueryDAO cannedQueryDAO, org.alfresco.service.cmr.repository.NodeService nodeService, TaggingService taggingService, MethodSecurityBean methodSecurity, org.alfresco.query.CannedQueryParameters params)
           
 
Method Summary
protected  boolean isApplyPostQuerySorting()
           
protected  java.util.List queryAndFilter(org.alfresco.query.CannedQueryParameters parameters)
           
 void setTestHook(GetCalendarEntriesCannedQueryTestHook hook)
           
 
Methods inherited from class org.alfresco.repo.security.permissions.impl.acegi.AbstractCannedQueryPermissions
applyPostQueryPermissions, getTotalResultCount, isApplyPostQueryPermissions
 
Methods inherited from class org.alfresco.query.AbstractCannedQuery
applyPostQueryPaging, applyPostQuerySorting, execute, getParameters, isApplyPostQueryPaging, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetCalendarEntriesCannedQuery

public GetCalendarEntriesCannedQuery(CannedQueryDAO cannedQueryDAO,
                                     org.alfresco.service.cmr.repository.NodeService nodeService,
                                     TaggingService taggingService,
                                     MethodSecurityBean methodSecurity,
                                     org.alfresco.query.CannedQueryParameters params)
Method Detail

queryAndFilter

protected java.util.List queryAndFilter(org.alfresco.query.CannedQueryParameters parameters)
Specified by:
queryAndFilter in class org.alfresco.query.AbstractCannedQuery

isApplyPostQuerySorting

protected boolean isApplyPostQuerySorting()
Overrides:
isApplyPostQuerySorting in class org.alfresco.query.AbstractCannedQuery

setTestHook

public void setTestHook(GetCalendarEntriesCannedQueryTestHook hook)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.