|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexUpdater
Index updater which updates the index when a document changes.
Field Summary | |
---|---|
static java.lang.String |
ROLE
The service role. |
Method Summary | |
---|---|
void |
delete(org.apache.lenya.cms.repository.Session session,
org.apache.lenya.cms.publication.ResourceType resourceType,
java.lang.String publicationId,
java.lang.String area,
java.lang.String uuid,
java.lang.String language)
Deletes a document from the index. |
void |
index(org.apache.lenya.cms.repository.Session session,
org.apache.lenya.cms.publication.ResourceType resourceType,
java.lang.String publicationId,
java.lang.String area,
java.lang.String uuid,
java.lang.String language)
Adds a document to the index. |
Methods inherited from interface org.apache.lenya.cms.observation.RepositoryListener |
---|
eventFired |
Field Detail |
---|
static final java.lang.String ROLE
Method Detail |
---|
void index(org.apache.lenya.cms.repository.Session session, org.apache.lenya.cms.publication.ResourceType resourceType, java.lang.String publicationId, java.lang.String area, java.lang.String uuid, java.lang.String language) throws IndexException
session
- The session.resourceType
- The resource type.publicationId
- The publication ID.area
- The area.uuid
- The UUID.language
- The language.
IndexException
- if an error occurs.void delete(org.apache.lenya.cms.repository.Session session, org.apache.lenya.cms.publication.ResourceType resourceType, java.lang.String publicationId, java.lang.String area, java.lang.String uuid, java.lang.String language) throws IndexException
session
- The session.resourceType
- The resource type.publicationId
- The publication ID.area
- The area.uuid
- The UUID.language
- The language.
IndexException
- if an error occurs.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |