public class UIJCRExplorer
extends org.exoplatform.webui.core.UIContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
UIJCRExplorer.HistoryEntry |
| Constructor and Description |
|---|
UIJCRExplorer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLockToken(javax.jcr.Node node)
Allows you to add a lock token to the given node
|
void |
cancelAction() |
void |
clearNodeHistory(String currentPath) |
void |
clearTagSelection() |
void |
closeEditingFile() |
String |
filterPath(String currentPath) |
Set<String> |
getAllItemByTypeFilterMap() |
Set<String> |
getAllItemFilterMap() |
List<String> |
getCheckedSupportType() |
List<javax.jcr.Node> |
getChildrenList(String path,
boolean isReferences) |
static javax.servlet.http.Cookie |
getCookieByCookieName(String cookieName,
javax.servlet.http.Cookie[] cookies) |
String |
getCurrentDriveWorkspace() |
javax.jcr.Node |
getCurrentNode() |
String |
getCurrentPath() |
javax.jcr.Node |
getCurrentStateNode() |
String |
getCurrentStatePath() |
String |
getCurrentWorkspace() |
List<javax.jcr.Node> |
getDocumentByTag() |
String |
getDocumentInfoTemplate() |
DriveData |
getDriveData() |
Collection<UIJCRExplorer.HistoryEntry> |
getHistory() |
JCRResourceResolver |
getJCRTemplateResourceResolver() |
String |
getLanguage() |
List<String> |
getMultiValues(javax.jcr.Node node,
String name) |
javax.jcr.Node |
getNodeByPath(String nodePath,
javax.jcr.Session session) |
javax.jcr.Node |
getNodeByPath(String nodePath,
javax.jcr.Session session,
boolean giveTarget) |
LinkedList<String> |
getNodesHistory() |
javax.portlet.PortletPreferences |
getPortletPreferences() |
Preference |
getPreference() |
javax.jcr.Node |
getRealCurrentNode() |
String |
getReferenceWorkspace() |
org.exoplatform.services.jcr.core.ManageableRepository |
getRepository() |
String |
getRepositoryName() |
javax.jcr.Node |
getRootNode() |
String |
getRootPath() |
javax.jcr.Session |
getSession() |
javax.jcr.Session |
getSessionByWorkspace(String wsName) |
org.exoplatform.services.jcr.ext.common.SessionProvider |
getSessionProvider() |
org.exoplatform.services.jcr.ext.common.SessionProvider |
getSystemProvider() |
javax.jcr.Session |
getSystemSession() |
String |
getTagPath() |
Set<String> |
getTagPaths() |
int |
getTagScope() |
javax.jcr.Session |
getTargetSession() |
javax.jcr.Node |
getViewNode(String nodeType) |
String |
getWorkspaceName() |
LinkedList<String> |
getWorkspacesHistory() |
boolean |
hasAddPermission() |
boolean |
hasEditPermission() |
boolean |
hasPaginator(String nodePath,
String workspaceName)
Check if node has paginator when viewing it's children.
|
boolean |
hasReadPermission() |
boolean |
hasRemovePermission() |
boolean |
isAddingDocument() |
boolean |
isEditingDocument() |
boolean |
isFilterSave() |
boolean |
isPreferenceNode(javax.jcr.Node node) |
boolean |
isPreferencesSaved() |
boolean |
isReadAuthorized(org.exoplatform.services.jcr.core.ExtendedNode node) |
boolean |
isReferenceableNode(javax.jcr.Node node) |
boolean |
isReferenceNode()
Indicates if the current node is a referenced node
|
boolean |
isShowDocumentViewForFile() |
boolean |
isShowViewFile() |
boolean |
isSystemWorkspace() |
boolean |
isViewTag() |
void |
newJCRTemplateResourceResolver() |
boolean |
nodeIsLocked(javax.jcr.Node node) |
boolean |
nodeIsLocked(String path,
javax.jcr.Session session) |
String |
previousWsName() |
void |
record(String str,
String ws) |
void |
record(String str,
String ws,
int pageIndex) |
void |
refreshExplorer() |
void |
refreshExplorer(javax.jcr.Node currentNode,
boolean closePopup) |
void |
refreshExplorerWithoutClosingPopup() |
void |
removeTagPath(String tagPath) |
String |
rewind() |
void |
setBackNodePath(String previousWorkspaceName,
String previousPath)
Tells to go back to the given location
|
void |
setBackSelectNode(String workspaceName,
String uri) |
void |
setCheckedSupportType(List<String> checkedSupportType) |
void |
setCurrentPath(String currentPath)
Sets the virtual current path
|
void |
setCurrentState() |
void |
setCurrentState(String currentStateWorkspaceName,
String currentStatePath) |
void |
setCurrentStatePath(String currentStatePath) |
void |
setDriveData(DriveData driveData) |
void |
setFilterSave(boolean isFilterSave) |
void |
setIsHidePopup(boolean isHidePopup) |
void |
setIsReferenceNode(boolean isReferenceNode)
Tells that the current node is a referenced node
|
void |
setIsViewTag(boolean isViewTag) |
void |
setLanguage(String language) |
void |
setPathToAddressBar(String path) |
void |
setPreferences(Preference preference) |
void |
setPreferencesSaved(boolean value) |
void |
setReferenceWorkspace(String referenceWorkspace)
Sets the workspace name the referenced node
|
void |
setRenderTemplate(String template) |
void |
setRepositoryName(String repositoryName)
Sets the repository of the current drive
|
void |
setRootPath(String rootPath)
Sets the root path
|
void |
setSelectNode(String uri) |
void |
setSelectNode(String uri,
boolean back) |
void |
setSelectNode(String workspaceName,
String uri) |
void |
setSelectNode(String uri,
String homePath,
boolean back) |
void |
setSelectNode(String workspaceName,
String uri,
String homePath) |
void |
setSelectRootNode() |
void |
setShowDocumentViewForFile(boolean value) |
void |
setTagPath(String tagPath) |
void |
setTagScope(int scope) |
void |
setWorkspaceName(String workspaceName)
Sets the workspace of the current drive
|
void |
updateAjax(org.exoplatform.webui.event.Event<?> event) |
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, urlpublic int getTagScope()
public void setTagScope(int scope)
public boolean isFilterSave()
public void setFilterSave(boolean isFilterSave)
public boolean isShowDocumentViewForFile()
public void setShowDocumentViewForFile(boolean value)
public boolean isPreferencesSaved()
public void setPreferencesSaved(boolean value)
public boolean isAddingDocument()
public boolean isEditingDocument()
public void setRootPath(String rootPath)
public javax.jcr.Node getRootNode()
throws Exception
Exceptionpublic String getRootPath()
public javax.jcr.Node getCurrentNode()
throws Exception
Exceptionpublic javax.jcr.Node getRealCurrentNode()
throws Exception
Exceptionpublic String getCurrentPath()
public void setCurrentPath(String currentPath)
public boolean isReferenceNode()
public void setIsReferenceNode(boolean isReferenceNode)
public void setReferenceWorkspace(String referenceWorkspace)
public String getReferenceWorkspace()
public void setBackNodePath(String previousWorkspaceName, String previousPath) throws Exception
Exceptionpublic boolean hasPaginator(String nodePath, String workspaceName) throws Exception
nodePath - workspaceName - Exceptionpublic void setDriveData(DriveData driveData)
public DriveData getDriveData()
public void setLanguage(String language)
public String getLanguage()
public LinkedList<String> getNodesHistory()
public LinkedList<String> getWorkspacesHistory()
public Collection<UIJCRExplorer.HistoryEntry> getHistory()
public org.exoplatform.services.jcr.ext.common.SessionProvider getSessionProvider()
public org.exoplatform.services.jcr.ext.common.SessionProvider getSystemProvider()
public javax.jcr.Session getTargetSession()
throws Exception
Exceptionpublic String getWorkspaceName()
public String getDocumentInfoTemplate()
public void setRenderTemplate(String template)
public void setCurrentState()
public void setCurrentState(String currentStateWorkspaceName, String currentStatePath)
public String getCurrentStatePath()
public void setCurrentStatePath(String currentStatePath)
public JCRResourceResolver getJCRTemplateResourceResolver()
public void newJCRTemplateResourceResolver()
public void setRepositoryName(String repositoryName)
public String getRepositoryName()
public void setWorkspaceName(String workspaceName)
public String getCurrentDriveWorkspace()
public String getCurrentWorkspace()
public org.exoplatform.services.jcr.core.ManageableRepository getRepository()
throws Exception
Exceptionpublic javax.jcr.Session getSessionByWorkspace(String wsName) throws Exception
Exceptionpublic void refreshExplorerWithoutClosingPopup()
throws Exception
Exceptionpublic void refreshExplorer(javax.jcr.Node currentNode,
boolean closePopup)
throws Exception
Exceptionpublic boolean nodeIsLocked(String path, javax.jcr.Session session) throws Exception
Exceptionpublic void addLockToken(javax.jcr.Node node)
throws Exception
Exceptionpublic boolean hasAddPermission()
public boolean hasEditPermission()
public boolean hasRemovePermission()
public boolean hasReadPermission()
public List<String> getMultiValues(javax.jcr.Node node, String name) throws Exception
Exceptionpublic void setIsHidePopup(boolean isHidePopup)
public void updateAjax(org.exoplatform.webui.event.Event<?> event)
throws Exception
Exceptionpublic void clearNodeHistory(String currentPath)
public void clearTagSelection()
public String rewind()
public String previousWsName()
public void setSelectNode(String workspaceName, String uri) throws Exception
Exceptionpublic void setSelectNode(String workspaceName, String uri, String homePath) throws Exception
Exceptionpublic void setBackSelectNode(String workspaceName, String uri) throws Exception
Exceptionpublic void setSelectNode(String uri, boolean back) throws Exception
Exceptionpublic void setSelectNode(String uri, String homePath, boolean back) throws Exception
Exceptionpublic List<javax.jcr.Node> getChildrenList(String path, boolean isReferences) throws Exception
Exceptionpublic boolean isReferenceableNode(javax.jcr.Node node)
throws Exception
Exceptionpublic boolean isPreferenceNode(javax.jcr.Node node)
public javax.jcr.Node getNodeByPath(String nodePath, javax.jcr.Session session) throws Exception
Exceptionpublic javax.jcr.Node getNodeByPath(String nodePath, javax.jcr.Session session, boolean giveTarget) throws Exception
Exceptionpublic void setTagPath(String tagPath)
public String getTagPath()
public void removeTagPath(String tagPath)
public void setIsViewTag(boolean isViewTag)
public boolean isViewTag()
public javax.portlet.PortletPreferences getPortletPreferences()
public boolean isReadAuthorized(org.exoplatform.services.jcr.core.ExtendedNode node)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic static javax.servlet.http.Cookie getCookieByCookieName(String cookieName, javax.servlet.http.Cookie[] cookies)
public Preference getPreference()
public void setPreferences(Preference preference)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.