com.isenshi.util.extlib
クラス CJKTxtContainsIndexer
java.lang.Object
org.apache.commons.transaction.util.xa.AbstractXAResource
org.apache.slide.common.AbstractXAServiceBase
org.apache.slide.common.XAServiceBase
com.isenshi.util.extlib.CJKTxtContainsIndexer
- すべての実装インタフェース:
- org.apache.slide.search.basic.IBasicExpressionFactoryProvider, org.apache.slide.search.Indexer, org.apache.slide.store.IndexStore, org.apache.slide.common.Service, Status, XAResource
- public class CJKTxtContainsIndexer
- extends org.apache.slide.common.XAServiceBase
- implements org.apache.slide.store.IndexStore
- 作成者:
- nishioka
クラス org.apache.slide.common.XAServiceBase から継承した入れ子クラス |
org.apache.slide.common.XAServiceBase.DummyTxResource |
クラス org.apache.slide.common.AbstractXAServiceBase から継承したフィールド |
LOG_CHANNEL, loggerFacade, namespace, scope |
インタフェース javax.transaction.xa.XAResource から継承したフィールド |
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
メソッドの概要 |
void |
connect()
Connects to the underlying data source (if any is needed). |
void |
createIndex(org.apache.slide.common.Uri uri,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
org.apache.slide.content.NodeRevisionContent revisionContent)
Index an object content. |
void |
disconnect()
Disconnects from the underlying data source. |
void |
dropIndex(org.apache.slide.common.Uri uri,
org.apache.slide.content.NodeRevisionNumber number)
Drop an object revision from the index. |
org.apache.slide.search.basic.IBasicExpressionFactory |
getBasicExpressionFactory()
Method getFactory |
void |
initialize(org.apache.slide.common.NamespaceAccessToken token)
|
boolean |
isConnected()
This function tells whether or not the service is connected. |
void |
reset()
Deletes service underlying data source, if possible (and meaningful). |
void |
updateIndex(org.apache.slide.common.Uri uri,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
org.apache.slide.content.NodeRevisionContent revisionContent)
Method updateIndex |
クラス org.apache.slide.common.XAServiceBase から継承したメソッド |
createTransactionResource, getTransactionTimeout, includeBranchInXid, isSameRM, recover, setParameters, setTransactionTimeout |
クラス org.apache.slide.common.AbstractXAServiceBase から継承したメソッド |
cacheResults, connect, connectIfNeeded, connectIfNeeded, getLogger, getLoggerFacade, setNamespace, setScope |
クラス org.apache.commons.transaction.util.xa.AbstractXAResource から継承したメソッド |
addAcitveTransactionalResource, addSuspendedTransactionalResource, commit, end, forget, getActiveTransactionalResource, getCurrentlyActiveTransactionalResource, getSuspendedTransactionalResource, getTransactionalResource, prepare, removeActiveTransactionalResource, removeSuspendedTransactionalResource, rollback, setCurrentlyActiveTransactionalResource, start |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース org.apache.slide.common.Service から継承したメソッド |
cacheResults, connect, connectIfNeeded, connectIfNeeded, getLogger, setNamespace, setParameters, setScope |
CJKTxtContainsIndexer
public CJKTxtContainsIndexer()
initialize
public void initialize(org.apache.slide.common.NamespaceAccessToken token)
throws org.apache.slide.common.ServiceInitializationFailedException
- 定義:
- インタフェース
org.apache.slide.common.Service
内の initialize
- 例外:
org.apache.slide.common.ServiceInitializationFailedException
getBasicExpressionFactory
public org.apache.slide.search.basic.IBasicExpressionFactory getBasicExpressionFactory()
- Method getFactory
- 定義:
- インタフェース
org.apache.slide.search.basic.IBasicExpressionFactoryProvider
内の getBasicExpressionFactory
- 戻り値:
- an IBasicExpressionFactory
createIndex
public void createIndex(org.apache.slide.common.Uri uri,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
org.apache.slide.content.NodeRevisionContent revisionContent)
throws org.apache.slide.search.IndexException
- Index an object content.
- 定義:
- インタフェース
org.apache.slide.search.Indexer
内の createIndex
- パラメータ:
uri
- Uri
- 例外:
org.apache.slide.search.IndexException
- Error accessing the Data Source
updateIndex
public void updateIndex(org.apache.slide.common.Uri uri,
org.apache.slide.content.NodeRevisionDescriptor revisionDescriptor,
org.apache.slide.content.NodeRevisionContent revisionContent)
throws org.apache.slide.search.IndexException
- Method updateIndex
- 定義:
- インタフェース
org.apache.slide.search.Indexer
内の updateIndex
- パラメータ:
uri
- an UrirevisionDescriptor
- a NodeRevisionDescriptorrevisionContent
- a NodeRevisionContent
- 例外:
org.apache.slide.search.IndexException
dropIndex
public void dropIndex(org.apache.slide.common.Uri uri,
org.apache.slide.content.NodeRevisionNumber number)
throws org.apache.slide.search.IndexException
- Drop an object revision from the index.
- 定義:
- インタフェース
org.apache.slide.search.Indexer
内の dropIndex
- パラメータ:
uri
- Uri
- 例外:
org.apache.slide.common.ServiceAccessException
- Error accessing the Data Source
org.apache.slide.search.IndexException
connect
public void connect()
throws org.apache.slide.common.ServiceConnectionFailedException
- Connects to the underlying data source (if any is needed).
- 定義:
- インタフェース
org.apache.slide.common.Service
内の connect
- 例外:
org.apache.slide.common.ServiceConnectionFailedException
- Connection failed
isConnected
public boolean isConnected()
throws org.apache.slide.common.ServiceAccessException
- This function tells whether or not the service is connected.
- 定義:
- インタフェース
org.apache.slide.common.Service
内の isConnected
- 戻り値:
- boolean true if we are connected
- 例外:
org.apache.slide.common.ServiceAccessException
- Service access error
disconnect
public void disconnect()
throws org.apache.slide.common.ServiceDisconnectionFailedException
- Disconnects from the underlying data source.
- 定義:
- インタフェース
org.apache.slide.common.Service
内の disconnect
- 例外:
org.apache.slide.common.ServiceDisconnectionFailedException
- Disconnection failed
reset
public void reset()
throws org.apache.slide.common.ServiceResetFailedException
- Deletes service underlying data source, if possible (and meaningful).
- 定義:
- インタフェース
org.apache.slide.common.Service
内の reset
- 例外:
org.apache.slide.common.ServiceResetFailedException
- Reset failed
Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.