|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.apps.groupspace.controls.generic.ContentControlBaseImpl<T,Folder>
com.bea.apps.groupspace.controls.generic.GroupSpaceContentControlImpl<Folder>
com.bea.apps.groupspace.controls.generic.FoldersControlImpl
public class FoldersControlImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.bea.apps.groupspace.controls.generic.ContentControlBase |
---|
ContentControlBase.NodeSearchType, ContentControlBase.Params |
Field Summary | |
---|---|
protected String |
repoPath
|
Fields inherited from class com.bea.apps.groupspace.controls.generic.GroupSpaceContentControlImpl |
---|
ALL_TYPES, contentContext |
Fields inherited from class com.bea.apps.groupspace.controls.generic.ContentControlBaseImpl |
---|
beanClass, contentFactory, DEFAULT_SEARCH_LOAD_SIZE, nodeManager, objectClassType, repoID, repoName, searchManager, typeManager |
Constructor Summary | |
---|---|
FoldersControlImpl()
|
Method Summary | |
---|---|
Folder |
create(String title,
String description,
CommunityContent.Visibility visibility,
String owner,
Folder parentFolder)
This one creates the issue below an empty folder. |
Folder |
create(String title,
String description,
CommunityContent.Visibility visibility,
String owner,
ID parentID)
|
Folder |
createFolder(String name,
ID parentID)
This gives the default visiblity of "COMMUNITY" and owner as the current principal username. |
protected Folder |
createObject(Node node)
We're creating a Folder from a Node |
ObjectClass |
createType()
|
Folder |
findFolder(String searchExpression,
String searchPath)
Find folder |
protected Node |
getCommunityFolderNode()
retrieves top community node |
Folder |
getFolder(String name,
Node searchFromNode)
Look for it before creating. |
Folder |
getFolder(String name,
String searchExpression,
Node searchFromNode)
Look for it before creating. |
Folder |
getFolder(String name,
String searchExpression,
Node searchFromNode,
CommunityContent.Visibility visibility,
String owner)
Look for it before creating. |
protected Folder |
getFolderByExpression(String name,
String expression,
Node communityNode)
|
Folder |
getTopFolder(String contentType)
|
Folder |
getUserFolder(String username)
Get the user folder associated with this user. |
void |
onCreate()
Put any other init params here. |
Methods inherited from class com.bea.apps.groupspace.controls.generic.GroupSpaceContentControlImpl |
---|
asSet, createFolder, findByDescription, findById, findByTitle, findContentById, findMany, getAll, getAllNodes, getCommunity, getCommunityAndPrivate, getCommunityFolder, getFolder, getImmediateChildrenAsPagedResult, getPersonal, getPrivate, getReferencingContent, getReferencingContent, getRelatedContent, getTopNode, move, promoteToCommunity, remove, removeAll, removeCommunityAndPrivate, removePersonal, removePrivate, update |
Methods inherited from class com.bea.apps.groupspace.controls.generic.ContentControlBaseImpl |
---|
createObjectClass, createObjects, createObjects, findMany, findManyChildren, getAllChildren, getAllPropertyDefinitions, getDefaultStringValue, getImmediateChildren, getImmediateChildren, getObjectClass, getTopFolder, move, recurseRepository, remove, remove, 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.GroupSpaceContentControl |
---|
asSet, createFolder, findByDescription, findByTitle, getCommunity, getCommunityAndPrivate, getCommunityFolder, getPersonal, getPrivate, getReferencingContent, getReferencingContent, getRelatedContent, promoteToCommunity, removeCommunityAndPrivate, removePersonal, removePrivate |
Methods inherited from interface com.bea.apps.groupspace.controls.generic.ContentControlBase |
---|
createObjectClass, createObjects, createObjects, findById, findContentById, findMany, findMany, findManyChildren, getAllPropertyDefinitions, getDefaultStringValue, getFolder, getImmediateChildren, getImmediateChildren, getImmediateChildrenAsPagedResult, getObjectClass, getTopFolder, getTopNode, move, move, remove, remove, remove, removeAll, update, update |
Field Detail |
---|
protected String repoPath
Constructor Detail |
---|
public FoldersControlImpl()
Method Detail |
---|
public Folder create(String title, String description, CommunityContent.Visibility visibility, String owner, Folder parentFolder) throws AuthenticationException, AuthorizationException, NodeExistsException, NoSuchObjectClassException, RepositoryException, InstantiationException, IllegalAccessException, InvocationTargetException
create
in interface FoldersControl
AuthenticationException
AuthorizationException
NodeExistsException
NoSuchObjectClassException
RepositoryException
InstantiationException
IllegalAccessException
InvocationTargetException
public Folder create(String title, String description, CommunityContent.Visibility visibility, String owner, ID parentID) throws AuthenticationException, AuthorizationException, NodeExistsException, NoSuchObjectClassException, RepositoryException, InstantiationException, IllegalAccessException, InvocationTargetException
create
in interface FoldersControl
AuthenticationException
AuthorizationException
NodeExistsException
NoSuchObjectClassException
RepositoryException
InstantiationException
IllegalAccessException
InvocationTargetException
protected Folder createObject(Node node)
createObject
in class ContentControlBaseImpl<Folder,Folder>
public ObjectClass createType() throws NoSuchNodeException, RepositoryException, AuthorizationException
createType
in class ContentControlBaseImpl<Folder,Folder>
NoSuchNodeException
RepositoryException
AuthorizationException
public Folder getUserFolder(String username) throws InstantiationException, IllegalAccessException, InvocationTargetException, com.bea.content.nodemappers.NodeMapper.NodeMapperException, AuthenticationException, AuthorizationException, NoSuchNodeException, RepositoryException
getUserFolder
in interface FoldersControl
InstantiationException
IllegalAccessException
InvocationTargetException
com.bea.content.nodemappers.NodeMapper.NodeMapperException
AuthenticationException
AuthorizationException
NoSuchNodeException
RepositoryException
public Folder createFolder(String name, ID parentID) throws AuthorizationException, NodeExistsException, RepositoryException
createFolder
in interface GroupSpaceContentControl<Folder>
createFolder
in class GroupSpaceContentControlImpl<Folder>
AuthorizationException
NodeExistsException
- throws ControlException - unchecked exception that wraps AuthenticationException, NoSuchObjectClassException,
InstantiationException, IllegalAccessException, InvocationTargetException
RepositoryException
public Folder findFolder(String searchExpression, String searchPath) throws InstantiationException, IllegalAccessException, InvocationTargetException, com.bea.content.nodemappers.NodeMapper.NodeMapperException, AuthenticationException, AuthorizationException, NoSuchNodeException, RepositoryException
findFolder
in interface FoldersControl
InstantiationException
IllegalAccessException
InvocationTargetException
NodeMapper.NodeMapperException
AuthenticationException
AuthorizationException
NoSuchNodeException
RepositoryException
public Folder getFolder(String name, Node searchFromNode) throws InstantiationException, IllegalAccessException, InvocationTargetException, com.bea.content.nodemappers.NodeMapper.NodeMapperException, AuthenticationException, AuthorizationException, NoSuchNodeException, RepositoryException
getFolder
in interface FoldersControl
InstantiationException
IllegalAccessException
InvocationTargetException
com.bea.content.nodemappers.NodeMapper.NodeMapperException
AuthenticationException
AuthorizationException
NoSuchNodeException
RepositoryException
public Folder getFolder(String name, String searchExpression, Node searchFromNode) throws InstantiationException, IllegalAccessException, InvocationTargetException, com.bea.content.nodemappers.NodeMapper.NodeMapperException, AuthenticationException, AuthorizationException, NoSuchNodeException, RepositoryException
getFolder
in interface FoldersControl
InstantiationException
IllegalAccessException
InvocationTargetException
com.bea.content.nodemappers.NodeMapper.NodeMapperException
AuthenticationException
AuthorizationException
NoSuchNodeException
RepositoryException
public Folder getTopFolder(String contentType) throws InstantiationException, IllegalAccessException, InvocationTargetException, com.bea.content.nodemappers.NodeMapper.NodeMapperException, AuthenticationException, AuthorizationException, NoSuchNodeException, RepositoryException
getTopFolder
in interface FoldersControl
InstantiationException
IllegalAccessException
InvocationTargetException
NodeMapper.NodeMapperException
AuthenticationException
AuthorizationException
NoSuchNodeException
RepositoryException
public Folder getFolder(String name, String searchExpression, Node searchFromNode, CommunityContent.Visibility visibility, String owner) throws InstantiationException, IllegalAccessException, InvocationTargetException, com.bea.content.nodemappers.NodeMapper.NodeMapperException, AuthenticationException, AuthorizationException, NoSuchNodeException, RepositoryException
getFolder
in interface FoldersControl
InstantiationException
IllegalAccessException
InvocationTargetException
com.bea.content.nodemappers.NodeMapper.NodeMapperException
AuthenticationException
AuthorizationException
NoSuchNodeException
RepositoryException
protected Node getCommunityFolderNode() throws InstantiationException, IllegalAccessException, InvocationTargetException, com.bea.content.nodemappers.NodeMapper.NodeMapperException, RepositoryException
GroupSpaceContentControlImpl
InstantiationException
IllegalAccessException
InvocationTargetException
NodeMapper.NodeMapperException
RepositoryException
protected Folder getFolderByExpression(String name, String expression, Node communityNode) throws AuthorizationException, NoSuchNodeException, RepositoryException
getFolderByExpression
in class ContentControlBaseImpl<Folder,Folder>
AuthorizationException
NoSuchNodeException
RepositoryException
public void onCreate() throws org.apache.beehive.controls.api.ControlException
org.apache.beehive.controls.api.ControlException
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |