public class LinkConnector extends BaseConnector implements org.exoplatform.services.rest.resource.ResourceContainer
fileHandler, fileUploadHandler, folderHandler, IF_MODIFIED_SINCE_DATE_FORMAT, LAST_MODIFIED_PROPERTY, linkManager, livePortalManagerService, repositoryService, votingService, webSchemaConfigService| Constructor and Description |
|---|
LinkConnector()
Instantiates a new link connector.
|
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.Response |
buildXMLResponseForContentStorage(javax.jcr.Node node,
String command)
Builds the xml response for content storage.
|
protected javax.ws.rs.core.Response |
buildXMLResponseOnExpand(String currentFolder,
String runningPortal,
String workspaceName,
String jcrPath,
String command)
Builds the xml response on expand.
|
protected String |
getContentStorageType()
Gets the content storage type.
|
javax.ws.rs.core.Response |
getFoldersAndFiles(String repositoryName,
String workspaceName,
String jcrPath,
String currentFolder,
String currentPortal,
String command,
String type)
Gets the folders and files.
|
protected javax.jcr.Node |
getRootContentStorage(javax.jcr.Node parentNode)
Gets the root content storage.
|
buildXMLResponseCommon, buildXMLResponseForPortal, buildXMLResponseForRoot, getContent, getContent, getCorrectContentStorage, getCurrentPortalNode, getResponse, getWebContentpublic javax.ws.rs.core.Response getFoldersAndFiles(String repositoryName, String workspaceName, String jcrPath, String currentFolder, String currentPortal, String command, String type) throws Exception
repositoryName - The repository name.workspaceName - The workspace name.jcrPath - The JCR path.currentFolder - The current folder.command - The command.type - The type of folder/file.currentPortal - The current portal.Exception - The exceptionprotected javax.ws.rs.core.Response buildXMLResponseOnExpand(String currentFolder, String runningPortal, String workspaceName, String jcrPath, String command) throws Exception
BaseConnectorbuildXMLResponseOnExpand in class BaseConnectorcurrentFolder - the current folderrunningPortal - The current portal instanceworkspaceName - the workspace namejcrPath - the jcr pathcommand - the commandException - the exceptionprotected javax.ws.rs.core.Response buildXMLResponseForContentStorage(javax.jcr.Node node,
String command)
throws Exception
BaseConnectorbuildXMLResponseForContentStorage in class BaseConnectornode - the nodecommand - the commandException - the exceptionprotected javax.jcr.Node getRootContentStorage(javax.jcr.Node parentNode)
throws Exception
BaseConnectorgetRootContentStorage in class BaseConnectorparentNode - the nodeException - the exceptionprotected String getContentStorageType() throws Exception
BaseConnectorgetContentStorageType in class BaseConnectorException - the exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.