Created channels.get Rest Api webscript. Tested in PublishingRestApiTest

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28454 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
N Smith
2011-06-17 12:46:17 +00:00
parent 830a5e259c
commit f3902d9eb5
3 changed files with 89 additions and 54 deletions

View File

@@ -23,6 +23,7 @@ import java.io.Serializable;
import java.util.List;
import java.util.Map;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
/**
@@ -99,4 +100,11 @@ public interface ChannelService
* @return The specified Channel objects or <code>null</code> if the specified channel does not exist.
*/
Channel getChannel(String siteId, String channelName);
/**
* Retrieve the channel with the given id.
* @param id The string value of the channel {@link NodeRef}.
* @return The specified Channel objects or <code>null</code> if the specified channel does not exist.
*/
Channel getChannel(String id);
}