org.alfresco.repo.web.scripts.publishing
Class PublishingJsonParser
java.lang.Object
org.alfresco.repo.web.scripts.publishing.PublishingJsonParser
- All Implemented Interfaces:
- PublishingWebScriptConstants
public class PublishingJsonParser
- extends java.lang.Object
- implements PublishingWebScriptConstants
- Since:
- 4.0
Fields inherited from interface org.alfresco.repo.web.scripts.publishing.PublishingWebScriptConstants |
CAN_PUBLISH, CAN_PUBLISH_STATUS_UPDATES, CAN_UNPUBLISH, CHANNEL, CHANNEL_AUTH_STATUS, CHANNEL_ID, CHANNEL_IDS, CHANNEL_NAME, CHANNEL_NODE_TYPE, CHANNEL_TYPE, COMMENT, CONTENT_ROOT_NODE_TYPE, CREATED_TIME, CREATOR, EVENT_TYPE, ICON, ID, MAX_STATUS_LENGTH, MESSAGE, NAME, NODE_REF, NODEREF, PUBLISH_NODES, PUBLISHING_CHANNELS, SCHEDULED_TIME, STATUS, STATUS_UPDATE, STATUS_UPDATE_CHANNELS, SUPPORTED_CONTENT_TYPES, SUPPORTED_MIME_TYPES, TITLE, UNPUBLISH_NODES, URL, URL_LENGTH, VERSION |
Method Summary |
org.json.JSONObject |
getJson(java.lang.String jsonStr)
|
java.lang.String |
schedulePublishingEvent(org.alfresco.service.cmr.publishing.PublishingService publishingService,
java.lang.String jsonStr)
|
org.alfresco.service.cmr.publishing.PublishingDetails |
setStatusUpdate(org.alfresco.service.cmr.publishing.PublishingDetails details,
org.json.JSONObject json)
|
java.util.List |
toNodes(org.json.JSONArray json)
|
void |
updateChannel(org.alfresco.service.cmr.publishing.channels.Channel channel,
java.lang.String jsonStr,
org.alfresco.service.cmr.publishing.channels.ChannelService channelService)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublishingJsonParser
public PublishingJsonParser()
getJson
public org.json.JSONObject getJson(java.lang.String jsonStr)
throws org.json.JSONException
- Throws:
org.json.JSONException
updateChannel
public void updateChannel(org.alfresco.service.cmr.publishing.channels.Channel channel,
java.lang.String jsonStr,
org.alfresco.service.cmr.publishing.channels.ChannelService channelService)
throws org.json.JSONException
- Throws:
org.json.JSONException
schedulePublishingEvent
public java.lang.String schedulePublishingEvent(org.alfresco.service.cmr.publishing.PublishingService publishingService,
java.lang.String jsonStr)
throws java.text.ParseException,
org.json.JSONException
- Throws:
java.text.ParseException
org.json.JSONException
setStatusUpdate
public org.alfresco.service.cmr.publishing.PublishingDetails setStatusUpdate(org.alfresco.service.cmr.publishing.PublishingDetails details,
org.json.JSONObject json)
toNodes
public java.util.List toNodes(org.json.JSONArray json)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.