com.sapportals.wcm.control.navigation

Class TreeCollectionInfoSample

java.lang.Object
  extended by com.sapportals.wcm.control.navigation.TreeCollectionInfoSample
All Implemented Interfaces:
ICollectionInfo

public class TreeCollectionInfoSample
extends Object
implements ICollectionInfo

Copyright 2004 SAP AG


Constructor Summary
TreeCollectionInfoSample()
           
 
Method Summary
 IResourceList getChildren(IResource resource)
           
 IResourceList getChildren(IResource resource, boolean visible, boolean collections, boolean links)
           
 int getChildrenCount(IResource resource, boolean visible, boolean collections, boolean links)
           
 boolean hasChildren(IResource resource)
           
 boolean isAncestorOf(IResource parent, IResource child)
           
 boolean isCollection(IResource resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeCollectionInfoSample

public TreeCollectionInfoSample()
Method Detail

getChildren

public IResourceList getChildren(IResource resource)
                          throws ResourceException,
                                 AccessDeniedException
Specified by:
getChildren in interface ICollectionInfo
Throws:
ResourceException
AccessDeniedException

getChildren

public IResourceList getChildren(IResource resource,
                                 boolean visible,
                                 boolean collections,
                                 boolean links)
                          throws ResourceException,
                                 AccessDeniedException
Specified by:
getChildren in interface ICollectionInfo
Throws:
ResourceException
AccessDeniedException

getChildrenCount

public int getChildrenCount(IResource resource,
                            boolean visible,
                            boolean collections,
                            boolean links)
                     throws ResourceException,
                            AccessDeniedException
Specified by:
getChildrenCount in interface ICollectionInfo
Throws:
ResourceException
AccessDeniedException

hasChildren

public boolean hasChildren(IResource resource)
                    throws ResourceException
Specified by:
hasChildren in interface ICollectionInfo
Throws:
ResourceException

isAncestorOf

public boolean isAncestorOf(IResource parent,
                            IResource child)
                     throws ResourceException
Specified by:
isAncestorOf in interface ICollectionInfo
Throws:
ResourceException

isCollection

public boolean isCollection(IResource resource)
Specified by:
isCollection in interface ICollectionInfo
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice