@Name(value="damSearchActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class DamSearchActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_VIEW_NAME_PARAMETER |
static String |
CONTENT_VIEW_STATE_PARAMETER |
static String |
CURRENT_PAGE_PARAMETER |
static String |
DAM_CODEC |
static String |
DAM_FLAG |
static String |
PAGE_SIZE_PARAMETER |
static String |
SAVED_SEARCHES_LABEL |
static String |
SEARCH_FILTERS_LABEL |
static String |
SEARCH_SAVED_LABEL |
static String |
SHARED_SEARCHES_LABEL |
Constructor and Description |
---|
DamSearchActions() |
public static final String SAVED_SEARCHES_LABEL
public static final String SHARED_SEARCHES_LABEL
public static final String SEARCH_FILTERS_LABEL
public static final String SEARCH_SAVED_LABEL
public static final String DAM_FLAG
public static final String DAM_CODEC
public static final String CONTENT_VIEW_NAME_PARAMETER
public static final String CURRENT_PAGE_PARAMETER
public static final String PAGE_SIZE_PARAMETER
public static final String CONTENT_VIEW_STATE_PARAMETER
public String getJSONContentViewState() throws ClientException, UnsupportedEncodingException
ClientException
UnsupportedEncodingException
public String getCurrentContentViewName()
public void setCurrentContentViewName(String contentViewName) throws ClientException
ClientException
public String getCurrentSelectedSavedSearchId()
public void setCurrentSelectedSavedSearchId(String selectedSavedSearchId) throws ClientException
ClientException
public void loadSavedSearch(String contentViewName, DocumentModel searchDocument) throws ClientException
ClientException
public Set<ContentViewHeader> getContentViewHeaders() throws ClientException
ClientException
public void clearSearch() throws ClientException
ClientException
@Observer(value="refreshDamSearch", create=true) public void refreshAndRewind() throws ClientException
ClientException
public void updateCurrentDocument() throws ClientException
ClientException
public void updateCurrentDocument(PageProvider<DocumentModel> pageProvider) throws ClientException
ClientException
public List<javax.faces.model.SelectItem> getAllSavedSearchesSelectItems() throws ClientException
ClientException
public String getSavedSearchTitle()
public void setSavedSearchTitle(String savedSearchTitle)
public String saveSearch() throws ClientException
ClientException
public void setState(String state) throws ClientException, UnsupportedEncodingException
public String getCurrentPage()
public void setCurrentPage(String currentPage)
public String getPageSize()
public void setPageSize(String pageSize)
public String getSearchPermanentLinkUrl() throws ClientException, UnsupportedEncodingException
@Deprecated public String getAssetPermanentLinkUrl() throws ClientException, UnsupportedEncodingException
DamActions.getAssetPermanentLinkUrl(boolean)
.@Begin(id="#{conversationIdGenerator.currentOrNewMainConversationId}", join=true) public String loadPermanentLink(DocumentView docView) throws ClientException
ClientException
@Observer(value={"contentViewPageChanged","contentViewPageSizeChanged","contentViewRefresh"}, create=true) public void onContentViewPageProviderChanged(String contentViewName) throws ClientException
ClientException
@Observer(value="flush", create=false) @BypassInterceptors public void resetonFlush()
Copyright © 2014 Nuxeo SA. All rights reserved.