|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.business.portlet.PortletOrder
public class PortletOrder
PortletOrder
| Field Summary | |
|---|---|
static int |
DATE_UPDATE_PORTLET
|
static int |
PAGE_ID
|
static int |
PAGE_NAME
|
static int |
PORTLET_NAME
|
static int |
SORT_ASC
|
| Constructor Summary | |
|---|---|
PortletOrder()
Constructor |
|
PortletOrder(boolean bSortAsc,
int nTypeOrder)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public PortletOrder()
public PortletOrder(boolean bSortAsc,
int nTypeOrder)
bSortAsc - true if it must be sorted ascendingly, false otherwisenTypeOrder - the order type| Method Detail |
|---|
public 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 java.lang.String getSQLOrderBy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||