public class RssConnector 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 |
|---|
RssConnector()
Instantiates a new RSS connector.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
generate(String repository,
String workspace,
String server,
String siteName,
String title,
String desc,
String folderPath,
String orderBy,
String orderType,
String lang,
String detailPage,
String detailParam,
String recursive)
Generates an RSS feed.
|
protected String |
getContentStorageType()
Gets the content storage type.
|
protected javax.jcr.Node |
getRootContentStorage(javax.jcr.Node node)
Gets the root content storage.
|
buildXMLResponseCommon, buildXMLResponseForContentStorage, buildXMLResponseForPortal, buildXMLResponseForRoot, buildXMLResponseOnExpand, getContent, getContent, getCorrectContentStorage, getCurrentPortalNode, getResponse, getWebContentpublic javax.ws.rs.core.Response generate(String repository, String workspace, String server, String siteName, String title, String desc, String folderPath, String orderBy, String orderType, String lang, String detailPage, String detailParam, String recursive) throws Exception
repository - The repository name.workspace - The workspace name.server - The server.siteName - The name of site.title - The title of the feed.desc - The description of the feed.folderPath - The folder path of the feed.orderBy - The criteria to order the content.orderType - The descending or ascending order.lang - The language of the feed.detailPage - The page used to open the content.detailParam - The parameters are the key in the URL to let CLV know which really is the path in the current URL.recursive - This param is deprecated and will be moved soon.Exception - The exceptionprotected String getContentStorageType() throws Exception
BaseConnectorgetContentStorageType in class BaseConnectorException - the exceptionprotected javax.jcr.Node getRootContentStorage(javax.jcr.Node node)
throws Exception
BaseConnectorgetRootContentStorage in class BaseConnectornode - the nodeException - the exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.