com.bea.apps.groupspace.cmbrowser.controls
Class CmBrowserControlImpl
java.lang.Object
com.bea.apps.groupspace.controls.generic.ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
com.bea.apps.groupspace.cmbrowser.controls.CmBrowserControlImpl
- All Implemented Interfaces
- CmBrowserControl, ContentControlBase<CmBrowserBean,CmBrowserFolder>, Serializable
public class CmBrowserControlImpl
- extends ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
- implements CmBrowserControl, Serializable
- See Also
- Serialized Form
Methods inherited from class com.bea.apps.groupspace.controls.generic.ContentControlBaseImpl |
cc, createObjectClass, createObjects, createObjects, findMany, findMany, findManyChildren, getAll, getAllChildren, getAllPropertyDefinitions, getDefaultStringValue, getImmediateChildren, getImmediateChildren, getObjectClass, getTopFolder, move, move, recurseRepository, remove, remove, remove, removeAll, update, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bea.apps.groupspace.controls.generic.ContentControlBase |
createObjectClass, createObjects, createObjects, findMany, findMany, findManyChildren, getAllPropertyDefinitions, getDefaultStringValue, getImmediateChildren, getImmediateChildren, getObjectClass, getTopFolder, move, move, remove, remove, remove, removeAll, update, update |
folderControl
protected CmBrowserFoldersControl folderControl
CmBrowserControlImpl
public CmBrowserControlImpl()
createObject
protected CmBrowserBean createObject(Node node)
- We're creating a bean from a Node
- Specified by:
createObject
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
createType
public ObjectClass createType()
throws NoSuchNodeException,
RepositoryException,
AuthorizationException
- Specified by:
createType
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
- Throws
NoSuchNodeException
RepositoryException
AuthorizationException
getFolder
public CmBrowserFolder getFolder(ID folderId)
throws AuthorizationException,
NoSuchNodeException,
RepositoryException
- Get the Folder of the Node with the supplied ID.
- Specified by:
getFolder
in interface ContentControlBase<CmBrowserBean,CmBrowserFolder>
- Overrides:
getFolder
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
- Throws
AuthorizationException
NoSuchNodeException
RepositoryException
getImmediateChildrenAsPagedResult
public SortableFilterablePagedResult<ContentBase> getImmediateChildrenAsPagedResult(Node node,
SortCriteria[] sortCriteria,
ContentControlBase.NodeSearchType hierarchySearchType)
throws AuthorizationException,
NoSuchNodeException,
RepositoryException
- Get the immediate children of this item. Returns null if none are found.
- Specified by:
getImmediateChildrenAsPagedResult
in interface ContentControlBase<CmBrowserBean,CmBrowserFolder>
- Specified by:
getImmediateChildrenAsPagedResult
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
- Throws
AuthorizationException
NoSuchNodeException
RepositoryException
findById
public CmBrowserBean findById(String nodeIdString)
throws AuthorizationException,
NoSuchNodeException,
RepositoryException
- Description copied from class:
ContentControlBaseImpl
- Find an item based on its Node ID
- Specified by:
findById
in interface ContentControlBase<CmBrowserBean,CmBrowserFolder>
- Overrides:
findById
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
- Throws
AuthorizationException
- throws ControlException - unchecked exception that wraps InstantiationException, IllegalAccessException,
InvocationTargetException, NodeMapper.NodeMapperException, AuthenticationException, NoSuchNodeException
RepositoryException
NoSuchNodeException
findContentById
public ContentBase findContentById(String nodeIdString)
throws AuthorizationException,
NoSuchNodeException,
RepositoryException
- Description copied from interface:
ContentControlBase
- Find ANY item based on its Node ID. Throws NoSuchNodeException if nothing is found.
- Specified by:
findContentById
in interface ContentControlBase<CmBrowserBean,CmBrowserFolder>
- Throws
AuthorizationException
- throws ControlException - unchecked exception that wraps InstantiationException, IllegalAccessException,
InvocationTargetException, NodeMapper.NodeMapperException, AuthenticationException, NoSuchNodeException
RepositoryException
NoSuchNodeException
createFolderObject
protected CmBrowserFolder createFolderObject(Node node)
- Specified by:
createFolderObject
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
getContentType
protected String getContentType()
- Specified by:
getContentType
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
getFolderContentType
protected String getFolderContentType()
- Specified by:
getFolderContentType
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
getTopNode
public Node getTopNode()
throws AuthorizationException,
NoSuchNodeException,
RepositoryException
- Description copied from interface:
ContentControlBase
- Get the top-level node of each data type (eg, top Links folder)
- Specified by:
getTopNode
in interface ContentControlBase<CmBrowserBean,CmBrowserFolder>
- Specified by:
getTopNode
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
- Throws
AuthorizationException
- throws ControlException - unchecked exception that wraps InstantiationException, IllegalAccessException,
InvocationTargetException, NodeMapper.NodeMapperException, AuthenticationException, NoSuchNodeException
RepositoryException
NoSuchNodeException
getSearchPaths
protected String[] getSearchPaths()
throws RepositoryException
- Specified by:
getSearchPaths
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
- Throws
RepositoryException
getFolderByExpression
protected CmBrowserFolder getFolderByExpression(String topNodeName,
String expression,
Node communityNode)
throws AuthorizationException,
NoSuchNodeException,
RepositoryException
- Specified by:
getFolderByExpression
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
- Throws
AuthorizationException
NoSuchNodeException
RepositoryException
getAsSearchPaths
protected String[] getAsSearchPaths(String searchPath)
- Overrides:
getAsSearchPaths
in class ContentControlBaseImpl<CmBrowserBean,CmBrowserFolder>
Copyright © 2006 BEA Systems, Inc. All Rights Reserved