com.dotmarketing.portlets.contentlet.factories
Class ContentletFactory

java.lang.Object
  extended by com.dotmarketing.portlets.contentlet.factories.ContentletFactory

public class ContentletFactory
extends java.lang.Object

Author:
David

Field Summary
static java.lang.String ADD_TO_INDEX
           
static java.lang.String ADD_TO_INDEX_REINDEXATION
           
static boolean shuttingDown
           
 
Constructor Summary
ContentletFactory()
           
 
Method Summary
static void _sendContentletPublishNotification(Contentlet contentlet, HttpServletRequest req)
           
static void addFileToContentlet(Contentlet contentlet, long fileInode, java.lang.String relationName)
           
static void addImageToContentlet(Contentlet contentlet, long imageInode, java.lang.String relationName)
           
static void addLinkToContentlet(Contentlet contentlet, long linkInode, java.lang.String relationName)
           
static java.util.Date calculateNextReviewDate(java.util.Date baseDate, java.lang.String reviewInterval)
           
static java.util.Date calculateNextReviewDate(java.lang.String reviewInterval)
           
static void cleanContentletsField(Structure structure, Field field)
           
static Contentlet copyContentlet(Contentlet currentContentlet)
           
static boolean existsContentlet(java.lang.String friendlyName)
           
static boolean existsContentletWithTitle(java.lang.String tile)
           
static java.util.List<Contentlet> getActiveContentlets()
           
static java.util.List getAssetsAndPermissionsPerRoleAndCondition(Host host, Role[] roles, java.lang.String condition, int limit, int offset, java.lang.String orderby, java.lang.Class assetsClass, java.lang.String tableName)
           
static java.util.List getAssetsAndPermissionsPerRoleAndCondition(long hostId, Role[] roles, java.lang.String condition, int limit, int offset, java.lang.String orderby, java.lang.Class assetsClass, java.lang.String tableName)
           
static java.util.List getAssetsAndPermissionsPerRoleAndCondition(Role[] roles, java.lang.String condition, int limit, int offset, java.lang.String orderby, java.lang.Class assetsClass, java.lang.String tableName)
           
static java.util.List getChildrenContentletsByOrder(Inode i)
           
static Contentlet getContentlet(long id)
           
static Contentlet getContentlet(java.lang.String id)
           
static int getContentletByCategoriesCount(java.lang.String structureType, java.lang.String categoriesInodes, java.util.List conditionFields, java.lang.String searchCondition)
           
static java.util.List getContentletByCondition(java.lang.String condition)
           
static Contentlet getContentletByLiveAndFolderAndTitle(Inode parent, java.lang.String title)
           
static java.util.List getContentletChildren(Inode o)
           
static java.util.List getContentletChildrenByCondition(Inode o, java.lang.String condition)
           
static Contentlet getContentletForLanguage(long languageId, Inode inode)
           
static Contentlet getContentletNoLock(long id)
           
static java.util.List<java.util.Map> getContentletReferences(Contentlet cont)
           
static java.util.List getContentletsAndPermissionsPerRoleAndCondition(Role[] roles, java.lang.String condition, int limit, int offset, java.lang.String orderby)
           
static java.util.List getContentletsByContainerAndPage(Container c, HTMLPage html, java.lang.String language)
           
static java.util.List getContentletsByOrder(java.lang.String orderby)
           
static java.util.List getContentletsByOrderAndParent(Inode i, java.lang.String orderby)
           
static java.util.List getContentletsByOrderAndParent(java.lang.String orderby, Inode o)
           
static java.util.List getContentletsByOrderAndParents(long i, long i2, java.lang.String orderby)
           
static java.util.List<Contentlet> getContentletsByOrderAndParents(long i, long i2, java.lang.String orderby, boolean previewMode, java.lang.String language)
           
static java.util.List getContentletsByOrderAndParents(long i, long i2, java.lang.String orderby, java.lang.String language)
           
static java.util.List getContentletsByParent(Inode i)
           
static java.util.List getContentletsByStructure(long structureInode)
           
static java.util.List getContentletsByStructure(long structureInode, java.lang.String orderby)
           
static java.util.List<Contentlet> getContentletsByStructureAndOrder(Structure st, java.lang.String orderFieldName, java.lang.String direction, int maxResults)
           
static java.util.List<Contentlet> getContentletsByStuctureAndCategory(Structure st, Category cat, java.lang.String orderby)
           
static java.util.List<Contentlet> getContentletsByStuctureAndCategory(Structure st, Category cat, java.lang.String orderby, int maxResults)
           
static java.util.List<Contentlet> getContentletsByStuctureAndCategoryList(Structure st, java.util.List<Category> categories, int quantity, java.lang.String orderby)
           
static java.util.List<Contentlet> getContentletsByStuctureAndFieldsValues(Structure st, java.util.Map<java.lang.String,java.lang.String> fieldsMap)
           
static java.util.List<Contentlet> getContentletsByStuctureAndFieldsValues(Structure st, java.util.Map<java.lang.String,java.lang.String> fieldsMap, java.util.List<java.lang.String> orderByfields, boolean descOrder)
           
static java.util.List<Contentlet> getContentletsByStuctureAndFieldsValuesLike(Structure st, java.util.Map<java.lang.String,java.lang.String> fieldsMap, java.util.List<java.lang.String> orderByfields, boolean descOrder)
           
static java.util.List<Contentlet> getContentletsByStuctureAndFieldValue(Structure st, java.lang.String fieldName, java.lang.String fieldValue, java.lang.String orderby, int maxResults)
           
static int getContentletsCountByStuctureAndFieldsValues(Structure st, java.util.Map<java.lang.String,java.lang.String> fieldsMap)
           
static java.util.List<java.lang.Long> getContentletsInodesByCondition(java.lang.String condition)
           
static java.util.List<java.lang.Long> getContentletsInodesByConditionNoLock(java.lang.String condition)
           
static java.util.List getContentletsPerRole(Host host, Role[] roles)
           
static java.util.List getContentletsPerRole(long hostId, Role[] roles)
           
static java.util.List getContentletsPerRoleAndCondition(Host host, Role[] roles, java.lang.String condition)
           
static java.util.List getContentletsPerRoleAndCondition(long hostId, Role[] roles, java.lang.String condition)
           
static java.util.List<Contentlet> getContentsByStructureAndCategoryList(Structure structure, java.lang.String categoryInodelist, java.util.List conditionFields, java.lang.String searchCondition, java.lang.String orderFieldName, java.lang.String direction, int offset, int maxResults)
           
static LuceneHits getContentsByStructureAndCategoryListWithLucene(Structure structure, java.lang.String categoryInodelist, java.lang.String searchCondition, java.lang.String orderFieldName, int offset, int maxResults)
           
static java.util.List<Contentlet> getContentsByStructureCategoryListAndCondition(Structure structure, java.lang.String categoryInodelist, java.lang.String searchCondition, java.lang.String orderFieldName, java.lang.String direction, int offset, int maxResults)
           
static java.lang.Object getFieldValue(Contentlet content, Field theField)
           
static java.lang.Object getFieldValue(Contentlet content, java.lang.String fieldName)
           
static Contentlet getInstance()
           
static java.util.List getWorkingContentlets()
           
static java.util.List getWorkingContentletsByOrderAndParents(long i, long i2)
           
static LuceneHits indexSearch(Structure st, java.util.Map fieldsSearch, boolean usingDBNames, java.util.List<java.lang.String> categories, boolean deleted, int offset, int limit, java.lang.String sortBy, boolean fieldsAnd, boolean categoriesAnd)
          Makes a lucene index search
static LuceneHits indexSearch(Structure st, java.util.Map fieldsSearch, java.util.List<java.lang.String> categories, boolean deleted, int offset, int limit, java.lang.String sortBy, boolean fieldsAnd, boolean categoriesAnd)
          Makes a lucene index search
static LuceneHits indexSearch(Structure st, java.lang.String query, boolean deleted, int offset, int limit, java.lang.String sortBy)
           
static LuceneHits indexSearch(Structure st, java.lang.String keywords, boolean deleted, int offset, int limit, java.lang.String sortBy, boolean fieldsAnd, boolean categoriesAnd)
          Makes a lucene index search
static LuceneHits indexSearch(Structure st, java.lang.String keywords, boolean deleted, java.lang.String sortBy, boolean fieldsAnd, boolean categoriesAnd)
          Makes a lucene index search
static LuceneHits indexSearch(Structure st, java.lang.String keywords, java.util.List<java.lang.String> categories, boolean deleted, int offset, int limit, java.lang.String sortBy, boolean fieldsAnd, boolean categoriesAnd)
          Makes a lucene index search
static LuceneHits indexSearchByField(Structure st, java.lang.String keywords, java.util.List<java.lang.String> categories, boolean deleted, int offset, int limit, java.lang.String searchfield, java.lang.String sortBy, boolean fieldsAnd, boolean categoriesAnd)
          Makes a lucene index search
static boolean reIndexAllContentlets()
           
static boolean reIndexAllContentlets(boolean log)
           
static boolean reIndexAllContentletsByStructure(Structure st)
           
static boolean reIndexAllContentletsByStructure(Structure st, boolean log)
           
static void reIndexContentlet(Contentlet contentlet)
           
static void reIndexContentlet(Contentlet contentlet, boolean log)
           
static Contentlet save(Contentlet x)
           
static void setFieldValue(Contentlet content, java.lang.String fieldName, java.lang.Object fieldValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADD_TO_INDEX

public static final java.lang.String ADD_TO_INDEX
See Also:
Constant Field Values

ADD_TO_INDEX_REINDEXATION

public static final java.lang.String ADD_TO_INDEX_REINDEXATION
See Also:
Constant Field Values

shuttingDown

public static boolean shuttingDown
Constructor Detail

ContentletFactory

public ContentletFactory()
Method Detail

getContentlet

public static final Contentlet getContentlet(java.lang.String id)

getContentletForLanguage

public static final Contentlet getContentletForLanguage(long languageId,
                                                        Inode inode)

getContentletNoLock

public static final Contentlet getContentletNoLock(long id)

getContentlet

public static final Contentlet getContentlet(long id)

getContentletsByContainerAndPage

public static final java.util.List getContentletsByContainerAndPage(Container c,
                                                                    HTMLPage html,
                                                                    java.lang.String language)

getContentletsByStructure

public static final java.util.List getContentletsByStructure(long structureInode,
                                                             java.lang.String orderby)

getContentletsByStructure

public static final java.util.List getContentletsByStructure(long structureInode)

getContentletsByOrderAndParents

public static final java.util.List getContentletsByOrderAndParents(long i,
                                                                   long i2,
                                                                   java.lang.String orderby)

getContentletsByOrderAndParents

public static final java.util.List getContentletsByOrderAndParents(long i,
                                                                   long i2,
                                                                   java.lang.String orderby,
                                                                   java.lang.String language)

getContentletsByOrderAndParents

public static final java.util.List<Contentlet> getContentletsByOrderAndParents(long i,
                                                                               long i2,
                                                                               java.lang.String orderby,
                                                                               boolean previewMode,
                                                                               java.lang.String language)

getContentletsByStuctureAndCategory

public static final java.util.List<Contentlet> getContentletsByStuctureAndCategory(Structure st,
                                                                                   Category cat,
                                                                                   java.lang.String orderby)

getContentletsByStuctureAndCategory

public static final java.util.List<Contentlet> getContentletsByStuctureAndCategory(Structure st,
                                                                                   Category cat,
                                                                                   java.lang.String orderby,
                                                                                   int maxResults)

getContentletsByStuctureAndFieldValue

public static final java.util.List<Contentlet> getContentletsByStuctureAndFieldValue(Structure st,
                                                                                     java.lang.String fieldName,
                                                                                     java.lang.String fieldValue,
                                                                                     java.lang.String orderby,
                                                                                     int maxResults)

getContentletsByStuctureAndFieldsValues

public static final java.util.List<Contentlet> getContentletsByStuctureAndFieldsValues(Structure st,
                                                                                       java.util.Map<java.lang.String,java.lang.String> fieldsMap,
                                                                                       java.util.List<java.lang.String> orderByfields,
                                                                                       boolean descOrder)

getContentletsByStuctureAndFieldsValuesLike

public static final java.util.List<Contentlet> getContentletsByStuctureAndFieldsValuesLike(Structure st,
                                                                                           java.util.Map<java.lang.String,java.lang.String> fieldsMap,
                                                                                           java.util.List<java.lang.String> orderByfields,
                                                                                           boolean descOrder)

getContentletsCountByStuctureAndFieldsValues

public static final int getContentletsCountByStuctureAndFieldsValues(Structure st,
                                                                     java.util.Map<java.lang.String,java.lang.String> fieldsMap)

getWorkingContentletsByOrderAndParents

public static final java.util.List getWorkingContentletsByOrderAndParents(long i,
                                                                          long i2)

getWorkingContentlets

public static final java.util.List getWorkingContentlets()

getContentletsByParent

public static final java.util.List getContentletsByParent(Inode i)

getContentletsByOrderAndParent

public static final java.util.List getContentletsByOrderAndParent(Inode i,
                                                                  java.lang.String orderby)

save

public static Contentlet save(Contentlet x)

getInstance

public static Contentlet getInstance()

getChildrenContentletsByOrder

public static java.util.List getChildrenContentletsByOrder(Inode i)

getActiveContentlets

public static java.util.List<Contentlet> getActiveContentlets()

getContentletsByOrderAndParent

public static java.util.List getContentletsByOrderAndParent(java.lang.String orderby,
                                                            Inode o)

getContentletsByOrder

public static java.util.List getContentletsByOrder(java.lang.String orderby)

getContentletChildrenByCondition

public static java.util.List getContentletChildrenByCondition(Inode o,
                                                              java.lang.String condition)

getContentletByCondition

public static java.util.List getContentletByCondition(java.lang.String condition)

getContentletsInodesByCondition

public static java.util.List<java.lang.Long> getContentletsInodesByCondition(java.lang.String condition)

getContentletsInodesByConditionNoLock

public static java.util.List<java.lang.Long> getContentletsInodesByConditionNoLock(java.lang.String condition)

getContentletChildren

public static java.util.List getContentletChildren(Inode o)

getContentletByLiveAndFolderAndTitle

public static Contentlet getContentletByLiveAndFolderAndTitle(Inode parent,
                                                              java.lang.String title)

getContentletsPerRoleAndCondition

public static java.util.List getContentletsPerRoleAndCondition(Host host,
                                                               Role[] roles,
                                                               java.lang.String condition)

getContentletsPerRoleAndCondition

public static java.util.List getContentletsPerRoleAndCondition(long hostId,
                                                               Role[] roles,
                                                               java.lang.String condition)

getContentletsPerRole

public static java.util.List getContentletsPerRole(Host host,
                                                   Role[] roles)

getContentletsPerRole

public static java.util.List getContentletsPerRole(long hostId,
                                                   Role[] roles)

getContentletsAndPermissionsPerRoleAndCondition

public static java.util.List getContentletsAndPermissionsPerRoleAndCondition(Role[] roles,
                                                                             java.lang.String condition,
                                                                             int limit,
                                                                             int offset,
                                                                             java.lang.String orderby)

existsContentlet

public static boolean existsContentlet(java.lang.String friendlyName)

getAssetsAndPermissionsPerRoleAndCondition

public static java.util.List getAssetsAndPermissionsPerRoleAndCondition(Host host,
                                                                        Role[] roles,
                                                                        java.lang.String condition,
                                                                        int limit,
                                                                        int offset,
                                                                        java.lang.String orderby,
                                                                        java.lang.Class assetsClass,
                                                                        java.lang.String tableName)

getAssetsAndPermissionsPerRoleAndCondition

public static java.util.List getAssetsAndPermissionsPerRoleAndCondition(long hostId,
                                                                        Role[] roles,
                                                                        java.lang.String condition,
                                                                        int limit,
                                                                        int offset,
                                                                        java.lang.String orderby,
                                                                        java.lang.Class assetsClass,
                                                                        java.lang.String tableName)

getAssetsAndPermissionsPerRoleAndCondition

public static java.util.List getAssetsAndPermissionsPerRoleAndCondition(Role[] roles,
                                                                        java.lang.String condition,
                                                                        int limit,
                                                                        int offset,
                                                                        java.lang.String orderby,
                                                                        java.lang.Class assetsClass,
                                                                        java.lang.String tableName)

addImageToContentlet

public static void addImageToContentlet(Contentlet contentlet,
                                        long imageInode,
                                        java.lang.String relationName)

addFileToContentlet

public static void addFileToContentlet(Contentlet contentlet,
                                       long fileInode,
                                       java.lang.String relationName)

addLinkToContentlet

public static void addLinkToContentlet(Contentlet contentlet,
                                       long linkInode,
                                       java.lang.String relationName)

existsContentletWithTitle

public static boolean existsContentletWithTitle(java.lang.String tile)

copyContentlet

public static Contentlet copyContentlet(Contentlet currentContentlet)

getFieldValue

public static java.lang.Object getFieldValue(Contentlet content,
                                             java.lang.String fieldName)

getFieldValue

public static java.lang.Object getFieldValue(Contentlet content,
                                             Field theField)

getContentletsByStructureAndOrder

public static final java.util.List<Contentlet> getContentletsByStructureAndOrder(Structure st,
                                                                                 java.lang.String orderFieldName,
                                                                                 java.lang.String direction,
                                                                                 int maxResults)

getContentsByStructureAndCategoryList

public static java.util.List<Contentlet> getContentsByStructureAndCategoryList(Structure structure,
                                                                               java.lang.String categoryInodelist,
                                                                               java.util.List conditionFields,
                                                                               java.lang.String searchCondition,
                                                                               java.lang.String orderFieldName,
                                                                               java.lang.String direction,
                                                                               int offset,
                                                                               int maxResults)

getContentsByStructureCategoryListAndCondition

public static java.util.List<Contentlet> getContentsByStructureCategoryListAndCondition(Structure structure,
                                                                                        java.lang.String categoryInodelist,
                                                                                        java.lang.String searchCondition,
                                                                                        java.lang.String orderFieldName,
                                                                                        java.lang.String direction,
                                                                                        int offset,
                                                                                        int maxResults)

getContentletByCategoriesCount

public static int getContentletByCategoriesCount(java.lang.String structureType,
                                                 java.lang.String categoriesInodes,
                                                 java.util.List conditionFields,
                                                 java.lang.String searchCondition)

getContentletsByStuctureAndFieldsValues

public static final java.util.List<Contentlet> getContentletsByStuctureAndFieldsValues(Structure st,
                                                                                       java.util.Map<java.lang.String,java.lang.String> fieldsMap)

getContentletReferences

public static java.util.List<java.util.Map> getContentletReferences(Contentlet cont)

setFieldValue

public static void setFieldValue(Contentlet content,
                                 java.lang.String fieldName,
                                 java.lang.Object fieldValue)

cleanContentletsField

public static void cleanContentletsField(Structure structure,
                                         Field field)

calculateNextReviewDate

public static java.util.Date calculateNextReviewDate(java.lang.String reviewInterval)

calculateNextReviewDate

public static java.util.Date calculateNextReviewDate(java.util.Date baseDate,
                                                     java.lang.String reviewInterval)

indexSearch

public static LuceneHits indexSearch(Structure st,
                                     java.lang.String keywords,
                                     boolean deleted,
                                     java.lang.String sortBy,
                                     boolean fieldsAnd,
                                     boolean categoriesAnd)
Makes a lucene index search

Parameters:
st - Content Structure you are looking for
keywords - Keywords to match against structure fields
deleted - Show only deleted contentlets
sortBy - Sort by this field (can be the structure logical field name or the db name)
fieldsAnd - If true applies and conditions between all the fields of the structure
categoriesAnd - If true applies and conditions between all the categories
Returns:
A LuceneHits object with the matches

indexSearch

public static LuceneHits indexSearch(Structure st,
                                     java.lang.String keywords,
                                     boolean deleted,
                                     int offset,
                                     int limit,
                                     java.lang.String sortBy,
                                     boolean fieldsAnd,
                                     boolean categoriesAnd)
Makes a lucene index search

Parameters:
st - Content Structure you are looking for
keywords - Keywords to match against structure fields
deleted - Show only deleted contentlets
offset - Starting point of the search
limit - Max number of contents to retrieve
sortBy - Sort by this field (can be the structure logical field name or the db name)
fieldsAnd - If true applies and conditions between all the fields of the structure
categoriesAnd - If true applies and conditions between all the categories
Returns:
A LuceneHits object with the matches

indexSearch

public static LuceneHits indexSearch(Structure st,
                                     java.lang.String keywords,
                                     java.util.List<java.lang.String> categories,
                                     boolean deleted,
                                     int offset,
                                     int limit,
                                     java.lang.String sortBy,
                                     boolean fieldsAnd,
                                     boolean categoriesAnd)
Makes a lucene index search

Parameters:
st - Content Structure you are looking for
keywords - Keywords to match against structure fields
categories - A string array of categories inodes to filter the search
deleted - Show only deleted contentlets
offset - Starting point of the search
limit - Max number of contents to retrieve
sortBy - Sort by this field (can be the structure logical field name or the db name)
fieldsAnd - If true applies and conditions between all the fields of the structure
categoriesAnd - If true applies and conditions between all the categories
Returns:
A LuceneHits object with the matches

indexSearch

public static LuceneHits indexSearch(Structure st,
                                     java.util.Map fieldsSearch,
                                     java.util.List<java.lang.String> categories,
                                     boolean deleted,
                                     int offset,
                                     int limit,
                                     java.lang.String sortBy,
                                     boolean fieldsAnd,
                                     boolean categoriesAnd)
Makes a lucene index search

Parameters:
st - Content Structure you are looking for
fieldsSearch - Map of fields name and keywords to match againsts
categories - A string array of categories inodes to filter the search
deleted - Show only deleted contentlets
offset - Starting point of the search
limit - Max number of contents to retrieve
fieldsAnd - If true applies and conditions between the fields provided
categoriesAnd - If true applies and conditions between all the categories
sortBy - Sort by this field (can be the structure logical field name or the db name)
Returns:
A LuceneHits object with the matches

indexSearchByField

public static LuceneHits indexSearchByField(Structure st,
                                            java.lang.String keywords,
                                            java.util.List<java.lang.String> categories,
                                            boolean deleted,
                                            int offset,
                                            int limit,
                                            java.lang.String searchfield,
                                            java.lang.String sortBy,
                                            boolean fieldsAnd,
                                            boolean categoriesAnd)
Makes a lucene index search

Parameters:
st - Content Structure you are looking for
keywords - Keywords to search
categories - Categories to match
deleted - Search deleted contents only
offset - Start index of the search
limit - Max number of matches to retrieve
searchfield - Structure field to use for the search
sortBy - Sort by this field (can be the structure logical field name or the db name)
fieldsAnd - If true applies and conditions between all the fields of the structure
categoriesAnd - If true applies and conditions between all the categories
Returns:
A LuceneHits object with the matches

indexSearch

public static LuceneHits indexSearch(Structure st,
                                     java.util.Map fieldsSearch,
                                     boolean usingDBNames,
                                     java.util.List<java.lang.String> categories,
                                     boolean deleted,
                                     int offset,
                                     int limit,
                                     java.lang.String sortBy,
                                     boolean fieldsAnd,
                                     boolean categoriesAnd)
Makes a lucene index search

Parameters:
st - Content Structure you are looking for
fieldsSearch - Map of fields name and keywords to match againsts
categories - A string array of categories inodes to filter the search
deleted - Show only deleted contentlets
offset - Starting point of the search
limit - Max number of contents to retrieve
sortBy - Sort by this field (can be the structure logical field name or the db name)
fieldsAnd - If true applies and conditions between the fields provided
categoriesAnd - If true applies and conditions between all the categories
Returns:
A LuceneHits object with the matches

indexSearch

public static LuceneHits indexSearch(Structure st,
                                     java.lang.String query,
                                     boolean deleted,
                                     int offset,
                                     int limit,
                                     java.lang.String sortBy)

getContentsByStructureAndCategoryListWithLucene

public static LuceneHits getContentsByStructureAndCategoryListWithLucene(Structure structure,
                                                                         java.lang.String categoryInodelist,
                                                                         java.lang.String searchCondition,
                                                                         java.lang.String orderFieldName,
                                                                         int offset,
                                                                         int maxResults)

reIndexContentlet

public static void reIndexContentlet(Contentlet contentlet)

reIndexContentlet

public static void reIndexContentlet(Contentlet contentlet,
                                     boolean log)

reIndexAllContentletsByStructure

public static boolean reIndexAllContentletsByStructure(Structure st)

reIndexAllContentletsByStructure

public static boolean reIndexAllContentletsByStructure(Structure st,
                                                       boolean log)

reIndexAllContentlets

public static boolean reIndexAllContentlets()

reIndexAllContentlets

public static boolean reIndexAllContentlets(boolean log)

getContentletsByStuctureAndCategoryList

public static final java.util.List<Contentlet> getContentletsByStuctureAndCategoryList(Structure st,
                                                                                       java.util.List<Category> categories,
                                                                                       int quantity,
                                                                                       java.lang.String orderby)

_sendContentletPublishNotification

public static void _sendContentletPublishNotification(Contentlet contentlet,
                                                      HttpServletRequest req)
                                               throws PortalException,
                                                      SystemException
Throws:
PortalException
SystemException


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.