public class PortletOrder extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DATE_UPDATE_PORTLET |
static int |
PAGE_ID |
static int |
PAGE_NAME |
static int |
PORTLET_NAME |
static int |
SORT_ASC |
Constructor and Description |
---|
PortletOrder()
Constructor
|
PortletOrder(boolean bSortAsc,
int nTypeOrder)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getSQLOrderBy()
Get the SQL query for ordering the portlet
|
int |
getTypeOrder()
Get the order type
|
boolean |
isSortAsc()
Return true if it must be sorted ascendingly, false otherwise
|
void |
setSortAsc(boolean bSortAsc)
Set the way of sorting the portlets
|
void |
setTypeOrder(int nTypeOrder)
Set the order type
|
public static final int DATE_UPDATE_PORTLET
public static final int PAGE_NAME
public static final int PAGE_ID
public static final int PORTLET_NAME
public static final int SORT_ASC
public PortletOrder()
public PortletOrder(boolean bSortAsc, int nTypeOrder)
bSortAsc
- true if it must be sorted ascendingly, false otherwisenTypeOrder
- the order typepublic void setSortAsc(boolean bSortAsc)
bSortAsc
- true if it must be sorted ascendingly, false otherwisepublic boolean isSortAsc()
public void setTypeOrder(int nTypeOrder)
nTypeOrder
- the order typepublic int getTypeOrder()
public String getSQLOrderBy()
Copyright © 2020 City of Paris. All rights reserved.