Package com.jalios.jcms.publiclink
Class PublicLinkQueryBuilder
- java.lang.Object
-
- com.jalios.jcms.db.AbstractDBQueryBuilder<PublicLink>
-
- com.jalios.jcms.publiclink.PublicLinkQueryBuilder
-
public class PublicLinkQueryBuilder extends AbstractDBQueryBuilder<PublicLink>
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.db.AbstractDBQueryBuilder
author, counting, defaultOrder, firstResult, maxResults, noPaging, order
-
-
Constructor Summary
Constructors Constructor Description PublicLinkQueryBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicLinkQueryBuilder
active(boolean active)
protected void
addCriterions(org.hibernate.Criteria criteria)
To override to add the custom criterionPublicLinkQueryBuilder
document(FileDocument doc)
PublicLinkQueryBuilder
expiredSince(java.util.Date date)
protected java.lang.Class<PublicLink>
getDBDataClass()
-
Methods inherited from class com.jalios.jcms.db.AbstractDBQueryBuilder
addAuthorCriterion, author, build, count, counting, createCriteria, first, firstResult, list, maxResults, noPaging, orderBy, scroll, scroll, setDefaultOrder
-
-
-
-
Method Detail
-
getDBDataClass
protected java.lang.Class<PublicLink> getDBDataClass()
- Overrides:
getDBDataClass
in classAbstractDBQueryBuilder<PublicLink>
- Returns:
- the queried DBData class.
-
document
public PublicLinkQueryBuilder document(FileDocument doc)
- Parameters:
doc
- the document- Returns:
- the PublicLinkQueryBuilder
- Since:
- jcms-10.0.5
-
active
public PublicLinkQueryBuilder active(boolean active)
- Parameters:
active
- if true select the active (ie not expired) links.- Returns:
- the PublicLinkQueryBuilder
- Since:
- jcms-10.0.5
-
expiredSince
public PublicLinkQueryBuilder expiredSince(java.util.Date date)
- Parameters:
date
- the date since a public link has been expired- Returns:
- the PublicLinkQueryBuilder
- Since:
- jcms-10.0.5
-
addCriterions
protected void addCriterions(org.hibernate.Criteria criteria)
Description copied from class:AbstractDBQueryBuilder
To override to add the custom criterion- Specified by:
addCriterions
in classAbstractDBQueryBuilder<PublicLink>
- Parameters:
criteria
- the Criteria
-
-