Package org.opencms.workplace.commons
Class CmsLockedResourcesCollector
java.lang.Object
org.opencms.workplace.list.A_CmsListResourceCollector
org.opencms.workplace.commons.CmsLockedResourcesCollector
- All Implemented Interfaces:
Comparable<org.opencms.file.collectors.I_CmsResourceCollector>
,org.opencms.file.collectors.I_CmsCollectorPublishListProvider
,org.opencms.file.collectors.I_CmsResourceCollector
,I_CmsListResourceCollector
Collector for locked resources.
- Since:
- 6.5.4
-
Field Summary
Fields inherited from class org.opencms.workplace.list.A_CmsListResourceCollector
m_collectorParameter, m_liCache, m_resCache, m_resources, VFS_PATH_NONE
Fields inherited from interface org.opencms.workplace.list.I_CmsListResourceCollector
PARAM_FILTER, PARAM_ORDER, PARAM_PAGE, PARAM_RESOURCES, PARAM_SORTBY, SEP_KEYVAL, SEP_PARAM
Fields inherited from interface org.opencms.file.collectors.I_CmsResourceCollector
DEFAULT_LIMIT
-
Constructor Summary
ConstructorDescriptionCmsLockedResourcesCollector
(A_CmsListExplorerDialog wp, List<String> resources) Constructor, creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionList<org.opencms.file.CmsResource>
getResources
(org.opencms.file.CmsObject cms, Map<String, String> params) Returns all, unsorted and unfiltered, resources.protected void
setAdditionalColumns
(CmsListItem item, org.opencms.workplace.explorer.CmsResourceUtil resUtil) Set additional column entries for a resource.Methods inherited from class org.opencms.workplace.list.A_CmsListResourceCollector
compareTo, createResourceListItem, getCreateLink, getCreateLink, getCreateParam, getCreateParam, getCreateTypeId, getDefaultCollectorName, getDefaultCollectorParam, getDummyListItem, getInternalResources, getListItems, getOrder, getPublishResources, getResource, getResourceNamesFromParam, getResults, getResults, getResults, getState, getWp, setDefaultCollectorName, setDefaultCollectorParam, setOrder, setPage, setResourcesParam
-
Field Details
-
COLLECTOR_NAME
Parameter of the default collector name.- See Also:
-
-
Constructor Details
-
CmsLockedResourcesCollector
Constructor, creates a new instance.- Parameters:
wp
- the workplace objectresources
- list of locked resources
-
-
Method Details
-
getCollectorNames
- See Also:
-
I_CmsResourceCollector.getCollectorNames()
-
getResources
public List<org.opencms.file.CmsResource> getResources(org.opencms.file.CmsObject cms, Map<String, String> params) Description copied from class:A_CmsListResourceCollector
Returns all, unsorted and unfiltered, resources.Be sure to cache the resources.
- Specified by:
getResources
in interfaceI_CmsListResourceCollector
- Specified by:
getResources
in classA_CmsListResourceCollector
- Parameters:
cms
- the cms objectparams
- the parameter map- Returns:
- a list of
CmsResource
objects - See Also:
-
setAdditionalColumns
protected void setAdditionalColumns(CmsListItem item, org.opencms.workplace.explorer.CmsResourceUtil resUtil) Description copied from class:A_CmsListResourceCollector
Set additional column entries for a resource.Overwrite this method to set additional column entries.
- Specified by:
setAdditionalColumns
in classA_CmsListResourceCollector
- Parameters:
item
- the current list itemresUtil
- the resource util object for getting the info from- See Also:
-