public interface SearchBuilderItem
| Modifier and Type | Field and Description |
|---|---|
static Integer |
ACTION_ADD
Action ADD the record to the search engine, if the doc ID is set, then
remove first, if not set, check its not there.
|
static Integer |
ACTION_DELETE
Action DELETE the record from the search engine, once complete delete the
record
|
static Integer |
ACTION_REBUILD
The action REBUILD causes the indexer thread to rebuild the index from
scratch, re-fetching all entities This should only ever appear on the
master record
|
static Integer |
ACTION_REFRESH
The action REFRESH causes the indexer thread to refresh the search index
from the current set of entities.
|
static Integer |
ACTION_UNKNOWN
Action Unknown, usually because the record has just been created
|
static String[] |
actions |
static String |
GLOBAL_CONTEXT |
static String |
GLOBAL_MASTER |
static String |
INDEX_MASTER
A master record is used to override the indexer thread operation and avoid
hide updates to the database in the request cycle.
|
static Integer |
ITEM |
static Integer |
ITEM_GLOBAL_MASTER |
static Integer |
ITEM_SITE_MASTER |
static String[] |
scope |
static String |
SITE_MASTER_FORMAT |
static String |
SITE_MASTER_PATTERN |
static Integer |
STATE_COMPLETED
Operation completed
|
static Integer |
STATE_FAILED |
static Integer |
STATE_LOCKED
Locked for processing
|
static Integer |
STATE_PENDING
Operation pending
|
static Integer |
STATE_PENDING_2 |
static Integer |
STATE_UNKNOWN
Unknown state
|
static String[] |
states |
| Modifier and Type | Method and Description |
|---|---|
String |
getContext()
The context of the index item
|
String |
getId() |
Integer |
getItemscope() |
int |
getLock()
The lock id on this object
|
String |
getName()
Name of the resource in the search index
|
Integer |
getSearchaction()
The action being performed
|
Integer |
getSearchstate()
The state of the record
|
Date |
getVersion()
The last update to the record
|
void |
input(DataInputStream dataInputStream) |
boolean |
isLocked() |
void |
output(DataOutputStream dataOutputStream) |
void |
setContext(String context)
The context of the index item
|
void |
setId(String id) |
void |
setItemscope(Integer itemscope) |
void |
setName(String name)
The name of the resource in the search index
|
void |
setSearchaction(Integer searchaction)
The action being performed
|
void |
setSearchstate(Integer searchstate)
The state of the record
|
void |
setVersion(Date version)
The last update to the record
|
static final String INDEX_MASTER
static final Integer ACTION_UNKNOWN
static final Integer ACTION_ADD
static final Integer ACTION_DELETE
static final Integer ACTION_REBUILD
static final Integer ACTION_REFRESH
static final Integer STATE_UNKNOWN
static final Integer STATE_PENDING
static final Integer STATE_COMPLETED
static final Integer STATE_PENDING_2
static final Integer STATE_LOCKED
static final Integer STATE_FAILED
static final Integer ITEM
static final Integer ITEM_GLOBAL_MASTER
static final Integer ITEM_SITE_MASTER
static final String GLOBAL_CONTEXT
static final String GLOBAL_MASTER
static final String SITE_MASTER_FORMAT
static final String SITE_MASTER_PATTERN
static final String[] states
static final String[] actions
static final String[] scope
String getId()
void setId(String id)
String getName()
void setName(String name)
name - Integer getSearchaction()
void setSearchaction(Integer searchaction)
searchaction - Integer getSearchstate()
void setSearchstate(Integer searchstate)
searchstate - Date getVersion()
void setVersion(Date version)
version - String getContext()
void setContext(String context)
context - Integer getItemscope()
void setItemscope(Integer itemscope)
itemscope - the itemscope to setvoid output(DataOutputStream dataOutputStream) throws IOException
dataOutputStream - IOExceptionvoid input(DataInputStream dataInputStream) throws IOException
dataInputStream - IOExceptionint getLock()
boolean isLocked()
Copyright © 2003–2014 Sakai Project. All rights reserved.