@Named @RequestScoped public class RichContentRequestController extends org.giavacms.common.controller.AbstractRequestController<RichContent> implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENT_PAGE_PARAM |
static String |
ID_PARAM |
static String |
PARAM_CONTENT |
static String[] |
PARAM_NAMES |
static String |
PARAM_TYPE |
| Constructor and Description |
|---|
RichContentRequestController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentPageParam() |
String |
getFilter() |
String |
getIdParam() |
RichContent |
getLast(String category) |
List<RichContent> |
getLatest(int pageSize) |
List<RichContent> |
getPageOfSizeWithCategory(int size,
String category) |
String[] |
getParamNames() |
String |
getRichContentTypeOptionsHTML() |
List<String> |
getTipiRichContent() |
protected void |
init() |
boolean |
isScheda() |
List<RichContent> |
loadPage(int startRow,
int pageSize) |
void |
setFilter(String filter) |
protected void |
testI18N() |
int |
totalSize() |
String |
viewElement(Long id) |
addFacesMessage, addFacesMessage, addFacesMessage, backPage, backPage, editPage, getAppContext, getCurrentPage, getElement, getId, getPage, getPageOfSize, getPageSize, getParams, injectTSessionAndPages, listPage, printPage, setElement, setId, setPageSize, viewPagepublic static final String PARAM_CONTENT
public static final String PARAM_TYPE
public static final String ID_PARAM
public static final String CURRENT_PAGE_PARAM
public static final String[] PARAM_NAMES
protected void init()
init in class org.giavacms.common.controller.AbstractRequestController<RichContent>public List<RichContent> loadPage(int startRow, int pageSize)
loadPage in class org.giavacms.common.controller.AbstractRequestController<RichContent>public List<RichContent> getLatest(int pageSize)
public List<RichContent> getPageOfSizeWithCategory(int size, String category)
public int totalSize()
totalSize in interface org.giavacms.common.renderer.UiRepeatInterface<RichContent>public String[] getParamNames()
getParamNames in class org.giavacms.common.controller.AbstractRequestController<RichContent>public String getIdParam()
getIdParam in class org.giavacms.common.controller.AbstractRequestController<RichContent>public String getRichContentTypeOptionsHTML()
public String getCurrentPageParam()
getCurrentPageParam in interface org.giavacms.common.renderer.UiRepeatInterface<RichContent>public boolean isScheda()
public String getFilter()
public void setFilter(String filter)
public RichContent getLast(String category)
protected void testI18N()
Copyright © 2013. All Rights Reserved.