public class ProjectsBean extends AbstractLazyListBean<ReadOnlyServerProject>
first, itemsPerPage, list, selection
CONFIGURATION_SAVED, GLOBAL_RES_FILE, OPERATION_FINISHED
Constructor and Description |
---|
ProjectsBean() |
Modifier and Type | Method and Description |
---|---|
void |
cloneProjects(javax.faces.event.ActionEvent event) |
void |
delete(java.util.List<ReadOnlyServerProject> selectedProjects) |
protected java.lang.String |
getDeleteConfirmationMessage()
To be overriden by subclasses to show specific delete confirmation messages
|
ReadOnlyServerProject |
getElementRowData(java.lang.String rowKey) |
java.lang.String |
getElementRowKey(ReadOnlyServerProject readOnlyServerProject) |
java.lang.String |
getFirstOwner(int projectId) |
java.lang.String |
getOwnersOverlay(int projectId) |
boolean |
getRenderedColumnDefaultValue(java.lang.String columnName) |
java.util.List<Pair<java.lang.String,java.lang.String>> |
getToggleableColumns()
Returns a list of toggleable columns.
|
protected java.lang.String |
getUrl()
To indicate the url of the page used to manage the current list
|
protected void |
init()
Implement any initialization logic here, other than retrieving the list of
elements i.e Controllers initialization.
|
boolean |
isAllowMultipleSelection() |
boolean |
isCloneDisabled() |
boolean |
isCreateDisabled() |
boolean |
isDeleteDisabled() |
boolean |
isPersonalLayersDisabled() |
boolean |
isSelectionDisabled(int projectId) |
protected java.util.List<ReadOnlyServerProject> |
listElements()
To obtain the list of elements that will be managed in the current page In
general, subclasses will use some controller object to retrieve it from
database or some other persistent storage
|
int |
sortMapUnit(java.lang.Object projectMapUnitKey1,
java.lang.Object projectMapUnitKey2) |
getLazyModel
clearSelection, columnsRenderedValueChanged, compareLiterals, delete, getColumnsRendered, getDataList, getDisplayedResult, getFirstOwner, getItemsPerPages, getList, getOwnersOverlay, getSelectedRowsCount, getSelectionType, getTotalResult, getViewUrl, hideNotAccessibleObjects, hideObjectsNotOwnedByMe, isColumnRendered, isDisabledForSelection, isEditionDisabled, isHideNotAccessibleObjects, isHideObjectsNotOwnedByMe, onPageChange, onRowSelection, refresh, refresh, refreshFilteredList, refreshSelection, refreshViewOnDelete, selectAll, selectionExists, selectNone, setColumnRendered, setColumnRendered, setHideNotAccessibleObjects, setHideObjectsNotOwnedByMe, setItemsPerPages, validateDeletion
addDuplicateNameErrorMessage, addErrorMessage, addErrorMessage, addGlobalErrorMessage, addGlobalErrorMessage, addGlobalInfoMessage, addGlobalWarningMessage, addInfoMessage, addInfoMessage, addRequiredErrorMessage, addWarningMessage, addWarningMessage, closeDialog, containsCharacters, createDuplicateNameErrorMessage, displayMessage, findComponent, findObjectByName, formatDouble, formatInteger, getBreadCrumbItems, getComponentsToUpdate, getController, getController, getDeleteConfirmationTitle, getDialogs, getEditingObjectId, getExternalContext, getJMapAdminSessionBean, getJMapServerAdminBean, getJMapServerUserAdminBean, getJsfBean, getLanguageLabel, getLanguages, getLanguagesConverter, getLayerStatusConverter, getMessage, getMessage, getParameter, getReadableFileSize, getRequest, getRequestLocale, getRequestParameter, getSessionAttribute, getSessionBean, getSessionId, getSessionUser, initRequestContext, isDuplicate, isExtensionAvailable, isJMapCloudConfigurationAvailable, openDialog, redirectToPage, reloadCurrentPage, required, showMessageDialog, validateDuplicateName
protected void init()
BaseListBean
init
in class BaseListBean<ReadOnlyServerProject>
public boolean isAllowMultipleSelection()
isAllowMultipleSelection
in class BaseListBean<ReadOnlyServerProject>
protected java.lang.String getDeleteConfirmationMessage()
BaseListBean
getDeleteConfirmationMessage
in class BaseListBean<ReadOnlyServerProject>
public void delete(java.util.List<ReadOnlyServerProject> selectedProjects)
delete
in class BaseListBean<ReadOnlyServerProject>
public boolean isSelectionDisabled(int projectId)
protected java.lang.String getUrl()
BaseListBean
getUrl
in class BaseListBean<ReadOnlyServerProject>
public void cloneProjects(javax.faces.event.ActionEvent event)
protected java.util.List<ReadOnlyServerProject> listElements()
BaseListBean
listElements
in class BaseListBean<ReadOnlyServerProject>
public int sortMapUnit(java.lang.Object projectMapUnitKey1, java.lang.Object projectMapUnitKey2)
public boolean isCreateDisabled()
public boolean isCloneDisabled()
public boolean isDeleteDisabled()
public boolean isPersonalLayersDisabled()
public java.lang.String getFirstOwner(int projectId)
public java.lang.String getOwnersOverlay(int projectId)
public java.util.List<Pair<java.lang.String,java.lang.String>> getToggleableColumns()
BaseListBean
getToggleableColumns
in class BaseListBean<ReadOnlyServerProject>
public boolean getRenderedColumnDefaultValue(java.lang.String columnName)
getRenderedColumnDefaultValue
in class BaseListBean<ReadOnlyServerProject>
public ReadOnlyServerProject getElementRowData(java.lang.String rowKey)
getElementRowData
in class AbstractLazyListBean<ReadOnlyServerProject>
public java.lang.String getElementRowKey(ReadOnlyServerProject readOnlyServerProject)
getElementRowKey
in class AbstractLazyListBean<ReadOnlyServerProject>