|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.opencms.workplace.list.A_CmsListResourceCollector
org.opencms.workplace.commons.CmsDeleteBrokenRelationsCollector
public class CmsDeleteBrokenRelationsCollector
Collector for resources with links that could get broken after deletion.
| Field Summary | |
|---|---|
static java.lang.String |
COLLECTOR_NAME
Parameter of the default collector name. |
| 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 |
| Constructor Summary | |
|---|---|
CmsDeleteBrokenRelationsCollector(A_CmsListExplorerDialog wp,
java.util.List resources)
Constructor, creates a new instance. |
|
| Method Summary | |
|---|---|
java.util.List |
getCollectorNames()
Returns a list of all collector names (Strings) this collector implementation supports. |
java.util.List |
getResources(CmsObject cms,
java.util.Map params)
Returns all, unsorted and unfiltered, resources. |
protected void |
setAdditionalColumns(CmsListItem item,
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, getDefaultCollectorName, getDefaultCollectorParam, getDummyListItem, getInternalResources, getListItems, getOrder, getResource, getResourceNamesFromParam, getResults, getResults, getState, getWp, setDefaultCollectorName, setDefaultCollectorParam, setOrder, setPage, setResourcesParam |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COLLECTOR_NAME
| Constructor Detail |
|---|
public CmsDeleteBrokenRelationsCollector(A_CmsListExplorerDialog wp,
java.util.List resources)
wp - the workplace objectresources - list of locked resources| Method Detail |
|---|
public java.util.List getCollectorNames()
I_CmsResourceCollector
I_CmsResourceCollector.getCollectorNames()
public java.util.List getResources(CmsObject cms,
java.util.Map params)
throws CmsException
A_CmsListResourceCollectorBe sure to cache the resources.
getResources in interface I_CmsListResourceCollectorgetResources in class A_CmsListResourceCollectorcms - the cms objectparams - the parameter map
CmsResource objects
CmsException - if something goes wrongA_CmsListResourceCollector.getResources(org.opencms.file.CmsObject, java.util.Map)
protected void setAdditionalColumns(CmsListItem item,
CmsResourceUtil resUtil)
A_CmsListResourceCollectorOverwrite this method to set additional column entries.
setAdditionalColumns in class A_CmsListResourceCollectoritem - 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)
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||