public class GadgetConnector
extends org.exoplatform.portal.gadget.core.ExoDefaultSecurityTokenGenerator
implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Field and Description |
|---|---|
static String |
FCK_RESOURCE_BUNDLE_FILE
The Constant FCK_RESOURCE_BUNDLE_FILE.
|
| Constructor and Description |
|---|
GadgetConnector(org.exoplatform.container.xml.InitParams initParams)
Instantiates a new gadget connector.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
buildXMLResponse(String currentFolder,
String language,
String host)
Builds the XML response.
|
javax.ws.rs.core.Response |
getFoldersAndFiles(String currentFolder,
String lang,
String host)
Gets folders and files.
|
public static final String FCK_RESOURCE_BUNDLE_FILE
public javax.ws.rs.core.Response getFoldersAndFiles(String currentFolder, String lang, String host) throws Exception
currentFolder - The current folder.lang - The language.host - The server address on which the gadget is deployed.Exception - The exceptionpublic javax.ws.rs.core.Response buildXMLResponse(String currentFolder, String language, String host) throws Exception
currentFolder - The current folder.language - The language.host - The server address on which the gadget is deployed.Exception - the exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.