Liferay 6.2-ce-ga5

com.liferay.portal.kernel.dao.orm
Class QueryDefinition

java.lang.Object
  extended by com.liferay.portal.kernel.dao.orm.QueryDefinition

public class QueryDefinition
extends Object


Constructor Summary
QueryDefinition()
           
QueryDefinition(int status)
           
QueryDefinition(int status, boolean excludeStatus, int start, int end, OrderByComparator orderByComparator)
           
QueryDefinition(int status, boolean excludeStatus, long ownerUserId, boolean includeOwner, int start, int end, OrderByComparator orderByComparator)
           
QueryDefinition(int status, int start, int end, OrderByComparator orderByComparator)
           
QueryDefinition(int status, long ownerUserId, boolean includeOwner)
           
QueryDefinition(int status, long ownerUserId, boolean includeOwner, int start, int end, OrderByComparator orderByComparator)
           
 
Method Summary
 Serializable getAttribute(String name)
           
 Map<String,Serializable> getAttributes()
           
 int getEnd()
           
 OrderByComparator getOrderByComparator()
           
 OrderByComparator getOrderByComparator(String tableName)
           
 long getOwnerUserId()
           
 int getStart()
           
 int getStatus()
           
 boolean isExcludeStatus()
           
 boolean isIncludeOwner()
           
 void setAttribute(String name, Serializable value)
           
 void setAttributes(Map<String,Serializable> attributes)
           
 void setEnd(int end)
           
 void setIncludeOwner(boolean includeOwner)
           
 void setOrderByComparator(OrderByComparator orderByComparator)
           
 void setOwnerUserId(long ownerUserId)
           
 void setStart(int start)
           
 void setStatus(int status)
           
 void setStatus(int status, boolean exclude)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryDefinition

public QueryDefinition()

QueryDefinition

public QueryDefinition(int status)

QueryDefinition

public QueryDefinition(int status,
                       boolean excludeStatus,
                       int start,
                       int end,
                       OrderByComparator orderByComparator)

QueryDefinition

public QueryDefinition(int status,
                       boolean excludeStatus,
                       long ownerUserId,
                       boolean includeOwner,
                       int start,
                       int end,
                       OrderByComparator orderByComparator)

QueryDefinition

public QueryDefinition(int status,
                       int start,
                       int end,
                       OrderByComparator orderByComparator)

QueryDefinition

public QueryDefinition(int status,
                       long ownerUserId,
                       boolean includeOwner)

QueryDefinition

public QueryDefinition(int status,
                       long ownerUserId,
                       boolean includeOwner,
                       int start,
                       int end,
                       OrderByComparator orderByComparator)
Method Detail

getAttribute

public Serializable getAttribute(String name)

getAttributes

public Map<String,Serializable> getAttributes()

getEnd

public int getEnd()

getOrderByComparator

public OrderByComparator getOrderByComparator()

getOrderByComparator

public OrderByComparator getOrderByComparator(String tableName)

getOwnerUserId

public long getOwnerUserId()

getStart

public int getStart()

getStatus

public int getStatus()

isExcludeStatus

public boolean isExcludeStatus()

isIncludeOwner

public boolean isIncludeOwner()

setAttribute

public void setAttribute(String name,
                         Serializable value)

setAttributes

public void setAttributes(Map<String,Serializable> attributes)

setEnd

public void setEnd(int end)

setIncludeOwner

public void setIncludeOwner(boolean includeOwner)

setOrderByComparator

public void setOrderByComparator(OrderByComparator orderByComparator)

setOwnerUserId

public void setOwnerUserId(long ownerUserId)

setStart

public void setStart(int start)

setStatus

public void setStatus(int status)

setStatus

public void setStatus(int status,
                      boolean exclude)

Liferay 6.2-ce-ga5