|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.portals.graffito.services.search.impl.ContentIndexServiceImpl
public class ContentIndexServiceImpl
Default implementation for org.apache.portals.graffito.services.core.ContentIndexService
Field Summary | |
---|---|
static java.lang.String |
CONTENT_TEXT
Content text document field name |
static java.lang.String |
CONTENT_TYPE_FIELD
Content type document field name |
static java.lang.String |
CREATION_DATE_FIELD
Creation date document field name |
static java.lang.String |
LANGUAGE_FIELD
Language document field name |
static java.lang.String |
LAST_MODIFIED_DATE_FIELD
Last modified document field name |
static java.lang.String |
NAME_FIELD
Name document field name |
static java.lang.String |
OWNER_FIELD
Owner document field name |
static java.lang.String |
REVISION_FIELD
Revision document field name |
static java.lang.String |
SIZE_FIELD
Size document field name |
static java.lang.String |
URI_FIELD
URI document field name |
Constructor Summary | |
---|---|
ContentIndexServiceImpl(ContentPersistenceService persistenceService,
java.lang.String indexRoot)
Constructor - Initialise with the PersistenceService and the index root folder. |
Method Summary | |
---|---|
boolean |
add(org.apache.portals.graffito.model.core.CmsObject cmsObject)
|
boolean |
add(java.util.Collection cmsObjects)
|
boolean |
remove(org.apache.portals.graffito.model.core.CmsObject cmsObject)
|
boolean |
remove(java.util.Collection cmsObjects)
|
boolean |
update(org.apache.portals.graffito.model.core.CmsObject cmsObject)
|
boolean |
update(java.util.Collection cmsObjects)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String URI_FIELD
public static final java.lang.String NAME_FIELD
public static final java.lang.String REVISION_FIELD
public static final java.lang.String CREATION_DATE_FIELD
public static final java.lang.String LAST_MODIFIED_DATE_FIELD
public static final java.lang.String CONTENT_TYPE_FIELD
public static final java.lang.String LANGUAGE_FIELD
public static final java.lang.String OWNER_FIELD
public static final java.lang.String SIZE_FIELD
public static final java.lang.String CONTENT_TEXT
Constructor Detail |
---|
public ContentIndexServiceImpl(ContentPersistenceService persistenceService, java.lang.String indexRoot) throws org.apache.portals.graffito.exception.ContentManagementException
persistenceService
- The associated PersistenceStoreindexRoot
- The directory folder used to create the index
org.apache.portals.graffito.exception.ContentManagementException
Method Detail |
---|
public boolean add(org.apache.portals.graffito.model.core.CmsObject cmsObject)
add
in interface org.apache.portals.graffito.services.search.ContentIndexService
org.apache.portals.graffito.services.core.ContentIndexService#add(org.apache.portals.graffito.model.core.CmsObject)
public boolean add(java.util.Collection cmsObjects)
add
in interface org.apache.portals.graffito.services.search.ContentIndexService
org.apache.portals.graffito.services.core.ContentIndexService#add(java.util.Collection)
public boolean remove(org.apache.portals.graffito.model.core.CmsObject cmsObject)
remove
in interface org.apache.portals.graffito.services.search.ContentIndexService
org.apache.portals.graffito.services.core.ContentIndexService#remove(org.apache.portals.graffito.model.core.CmsObject)
public boolean remove(java.util.Collection cmsObjects)
remove
in interface org.apache.portals.graffito.services.search.ContentIndexService
org.apache.portals.graffito.services.core.ContentIndexService#remove(java.util.Collection)
public boolean update(org.apache.portals.graffito.model.core.CmsObject cmsObject)
update
in interface org.apache.portals.graffito.services.search.ContentIndexService
org.apache.portals.graffito.services.core.ContentIndexService#update(org.apache.portals.graffito.model.core.CmsObject)
public boolean update(java.util.Collection cmsObjects)
update
in interface org.apache.portals.graffito.services.search.ContentIndexService
org.apache.portals.graffito.services.core.ContentIndexService#update(java.util.Collection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |