com.dotmarketing.portlets.contentlet.ajax
Class ContentletAjax
java.lang.Object
com.dotmarketing.portlets.contentlet.ajax.ContentletAjax
public class ContentletAjax
- extends java.lang.Object
- Author:
- David
|
Method Summary |
java.util.ArrayList<java.lang.String[]> |
doSearchGlossaryTerm(java.lang.String valueToComplete,
java.lang.String language)
|
java.util.Map<java.lang.String,java.lang.String> |
getContentletData(java.lang.String inode)
|
java.util.Map |
getReindexationProgress()
|
java.util.List |
searchContentlets(java.lang.String structureInode,
java.util.List<java.lang.String> fields,
java.util.List<java.lang.String> categories,
boolean showDeleted,
int page,
java.lang.String orderBy)
This method is used by the backend to pull the content from the lucene
index and also checks the user permissions to see the content |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentletAjax
public ContentletAjax()
getContentletData
public java.util.Map<java.lang.String,java.lang.String> getContentletData(java.lang.String inode)
searchContentlets
public java.util.List searchContentlets(java.lang.String structureInode,
java.util.List<java.lang.String> fields,
java.util.List<java.lang.String> categories,
boolean showDeleted,
int page,
java.lang.String orderBy)
- This method is used by the backend to pull the content from the lucene
index and also checks the user permissions to see the content
- Parameters:
structureInode - Inode of the structure content to be listedfields - Fields to filters, where the position i (where i is odd)
represent the field name and the position i + 1 represent the
field value to filtercategories - The categories inodes to filtershowDeleted - If true show the deleted elements onlypage - The page number to show (starting with 1)orderBy - The field name to be used to sort the content
- Returns:
- The list of contents that match the parameters at the position 0
the result included a hashmap with some useful information like
the total number of results, ...
getReindexationProgress
public java.util.Map getReindexationProgress()
doSearchGlossaryTerm
public java.util.ArrayList<java.lang.String[]> doSearchGlossaryTerm(java.lang.String valueToComplete,
java.lang.String language)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.