|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.galleries.A_CmsTreeTabDataPreloader<T>
T - the type of tree entry bean produced by this classpublic abstract class A_CmsTreeTabDataPreloader<T extends I_CmsGalleryTreeEntry<T>>
Abstract class which is used to generate the data for showing an already opened tree in the gallery dialog.
| Constructor Summary | |
|---|---|
A_CmsTreeTabDataPreloader()
|
|
| Method Summary | |
|---|---|
protected abstract T |
createEntry(CmsObject cms,
CmsResource resource)
Creates a tree entry bean from a resource. |
protected void |
findRoot(java.util.Collection<CmsResource> openResources)
Finds the common root folder for a collection of resources. |
protected java.util.List<CmsResource> |
getChildren(CmsResource resource)
Gets the children of a resource. |
T |
preloadData(CmsObject cms,
java.util.Collection<CmsResource> openResources)
Creates the preload data for a collection of resources which correspond to "opened" tree items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public A_CmsTreeTabDataPreloader()
| Method Detail |
|---|
public T preloadData(CmsObject cms,
java.util.Collection<CmsResource> openResources)
throws CmsException
cms - the CMS context to useopenResources - the resources which correspond to opened tree items
CmsException - if something goes wrong
protected abstract T createEntry(CmsObject cms,
CmsResource resource)
throws CmsException
cms - the current CMS contextresource - the resource for which to create the tree entry bean
CmsException - if something goes wrong
protected void findRoot(java.util.Collection<CmsResource> openResources)
throws CmsException
openResources - the collection of open resources
CmsException - if something goes wrong
protected java.util.List<CmsResource> getChildren(CmsResource resource)
throws CmsException
resource - the resource for which the children should be read
CmsException - if something goes wrong
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||