Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.contentview.seam
Class ContentViewRestActions

java.lang.Object
  extended by org.nuxeo.ecm.platform.contentview.seam.ContentViewRestActions
All Implemented Interfaces:
Serializable

@Name(value="contentViewRestActions")
@Scope(value=EVENT)
public class ContentViewRestActions
extends Object
implements Serializable

Restful actions for save and restore of a content view

Since:
5.4.2
See Also:
Serialized Form

Constructor Summary
ContentViewRestActions()
           
 
Method Summary
 String getContentViewState(ContentView contentView)
           
 List<SortInfo> getSortInfos(String sortColumn, boolean ascending)
           
 ContentView restoreContentView(String contentViewName, Long currentPage, Long pageSize, List<SortInfo> sortInfos, String jsonContentViewState)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentViewRestActions

public ContentViewRestActions()
Method Detail

getContentViewState

public String getContentViewState(ContentView contentView)
                           throws UnsupportedEncodingException,
                                  ClientException
Throws:
UnsupportedEncodingException
ClientException

restoreContentView

public ContentView restoreContentView(String contentViewName,
                                      Long currentPage,
                                      Long pageSize,
                                      List<SortInfo> sortInfos,
                                      String jsonContentViewState)
                               throws UnsupportedEncodingException,
                                      ClientException
Throws:
UnsupportedEncodingException
ClientException

getSortInfos

public List<SortInfo> getSortInfos(String sortColumn,
                                   boolean ascending)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.