public class CmsDeleteBrokenRelationsCollector extends A_CmsListResourceCollector
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
COLLECTOR_NAME
Parameter of the default collector name.
|
m_collectorParameter, m_liCache, m_resCache, m_resources, VFS_PATH_NONE
PARAM_FILTER, PARAM_ORDER, PARAM_PAGE, PARAM_RESOURCES, PARAM_SORTBY, SEP_KEYVAL, SEP_PARAM
构造器和说明 |
---|
CmsDeleteBrokenRelationsCollector(A_CmsListExplorerDialog wp,
java.util.List<java.lang.String> resources)
Constructor, creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<java.lang.String> |
getCollectorNames()
Returns a list of all collector names (Strings) this collector implementation supports.
|
java.util.List<CmsResource> |
getResources(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params)
Returns all, unsorted and unfiltered, resources.
|
protected void |
setAdditionalColumns(CmsListItem item,
CmsResourceUtil resUtil)
Set additional column entries for a resource.
|
compareTo, createResourceListItem, getCreateLink, getCreateLink, getCreateParam, getCreateParam, getCreateTypeId, getDefaultCollectorName, getDefaultCollectorParam, getDummyListItem, getInternalResources, getListItems, getOrder, getResource, getResourceNamesFromParam, getResults, getResults, getState, getWp, setDefaultCollectorName, setDefaultCollectorParam, setOrder, setPage, setResourcesParam
public static final java.lang.String COLLECTOR_NAME
public CmsDeleteBrokenRelationsCollector(A_CmsListExplorerDialog wp, java.util.List<java.lang.String> resources)
wp
- the workplace objectresources
- list of locked resourcespublic java.util.List<java.lang.String> getCollectorNames()
I_CmsResourceCollector
I_CmsResourceCollector.getCollectorNames()
public java.util.List<CmsResource> getResources(CmsObject cms, java.util.Map<java.lang.String,java.lang.String> params) throws CmsException
A_CmsListResourceCollector
Be sure to cache the resources.
getResources
在接口中 I_CmsListResourceCollector
getResources
在类中 A_CmsListResourceCollector
cms
- the cms objectparams
- the parameter mapCmsResource
objectsCmsException
- if something goes wrongA_CmsListResourceCollector.getResources(org.opencms.file.CmsObject, java.util.Map)
protected void setAdditionalColumns(CmsListItem item, CmsResourceUtil resUtil)
A_CmsListResourceCollector
Overwrite this method to set additional column entries.
setAdditionalColumns
在类中 A_CmsListResourceCollector
item
- the current list itemresUtil
- the resource util object for getting the info fromA_CmsListResourceCollector.setAdditionalColumns(org.opencms.workplace.list.CmsListItem, org.opencms.workplace.explorer.CmsResourceUtil)