public class CommitableFinderAdaptorForCommon extends java.lang.Object implements CommitableFinder, java.io.Serializable
コンストラクタと説明 |
---|
CommitableFinderAdaptorForCommon(CommonCommitableFinder source,
Key resourceKey) |
修飾子とタイプ | メソッドと説明 |
---|---|
CommitResult |
commit(Updatable target,
java.util.Map controlMap)
更新内容を反映する。
|
java.lang.Long |
countByFilter(Filter filter)
filterに合致するObservableの件数を取得して返す。
|
java.util.Collection |
findAll()
全てのObservableを返す。
|
java.util.Collection |
findAll(SortRule[] sortRules,
LimitRule limitRule)
全てのObservableを返す。
|
java.util.Collection |
findByFilter(Filter filter)
filterに合致するObservableを検索する。
|
java.util.Collection |
findByFilter(Filter filter,
SortRule[] sortRules,
LimitRule limitRule)
filterに合致するObservableを検索する。
|
Observable |
findByObservableProxy(ObservableProxy proxy)
proxyに合致するObservableを検索する。
|
Observable |
findByPrimaryKey(ObservableProxy proxy)
proxyに合致するObservableを検索する。
|
java.util.Collection |
findByQuery(java.lang.String query)
queryに合致するObservableを検索する。
|
java.util.Collection |
findByQuery(java.lang.String query,
SortRule[] sortRules,
LimitRule limitRule)
queryに合致するObservableを検索する。
|
protected CommonCommitableFinder |
getCommonCommitableFinder() |
java.lang.String |
getFinderName()
Finder名を返す
|
java.util.Collection |
getObservableProxyClasses()
このFinderで返すObservableProxyのクラスリストを返す。
|
UpdatableFactory |
getUpdatableFactory()
UpdatableFactoryを返す。
|
java.lang.String |
toString() |
public CommitableFinderAdaptorForCommon(CommonCommitableFinder source, Key resourceKey)
source
- resourceKey
- public java.lang.Long countByFilter(Filter filter) throws javax.ejb.FinderException, java.rmi.RemoteException
countByFilter
インタフェース内 FinderFacade
filter
- 検索条件javax.ejb.FinderException
java.rmi.RemoteException
public java.util.Collection findByFilter(Filter filter) throws javax.ejb.FinderException, java.rmi.RemoteException
FinderFacade
findByFilter
インタフェース内 FinderFacade
filter
- 抽出条件javax.ejb.FinderException
java.rmi.RemoteException
public java.util.Collection findByQuery(java.lang.String query) throws javax.ejb.FinderException, java.rmi.RemoteException
FinderFacade
findByQuery
インタフェース内 FinderFacade
query
- 抽出条件javax.ejb.FinderException
java.rmi.RemoteException
public java.util.Collection findAll() throws javax.ejb.FinderException, java.rmi.RemoteException
FinderFacade
findAll
インタフェース内 FinderFacade
javax.ejb.FinderException
java.rmi.RemoteException
public java.util.Collection findByFilter(Filter filter, SortRule[] sortRules, LimitRule limitRule) throws javax.ejb.FinderException, java.rmi.RemoteException
FinderFacade
findByFilter
インタフェース内 FinderFacade
filter
- 抽出条件sortRules
- ソート条件配列limitRule
- 検索結果の取得制限条件javax.ejb.FinderException
java.rmi.RemoteException
public java.util.Collection findByQuery(java.lang.String query, SortRule[] sortRules, LimitRule limitRule) throws javax.ejb.FinderException, java.rmi.RemoteException
FinderFacade
findByQuery
インタフェース内 FinderFacade
query
- 抽出条件sortRules
- ソート条件配列limitRule
- 検索結果の取得制限条件javax.ejb.FinderException
java.rmi.RemoteException
public java.util.Collection findAll(SortRule[] sortRules, LimitRule limitRule) throws javax.ejb.FinderException, java.rmi.RemoteException
FinderFacade
findAll
インタフェース内 FinderFacade
sortRules
- ソート条件配列limitRule
- 検索結果の取得制限条件javax.ejb.FinderException
java.rmi.RemoteException
public CommitResult commit(Updatable target, java.util.Map controlMap) throws UpdatableCommitException, java.rmi.RemoteException, FatalException
Commitable
commit
インタフェース内 Commitable
target
- 更新反映対象controlMap
- 制御情報UpdatableCommitException
- 回復可能なcommit実行例外java.rmi.RemoteException
FatalException
public Observable findByPrimaryKey(ObservableProxy proxy) throws javax.ejb.FinderException, java.rmi.RemoteException
PrimaryFinderFacade
findByPrimaryKey
インタフェース内 PrimaryFinderFacade
proxy
- プライマリキーjavax.ejb.FinderException
java.rmi.RemoteException
public Observable findByObservableProxy(ObservableProxy proxy) throws javax.ejb.FinderException, java.rmi.RemoteException
PrimaryFinderFacade
findByObservableProxy
インタフェース内 PrimaryFinderFacade
proxy
- プライマリキーjavax.ejb.FinderException
java.rmi.RemoteException
public java.util.Collection getObservableProxyClasses() throws java.rmi.RemoteException
PrimaryFinderFacade
getObservableProxyClasses
インタフェース内 PrimaryFinderFacade
java.rmi.RemoteException
public UpdatableFactory getUpdatableFactory() throws java.rmi.RemoteException, FatalException
UpdatableFactorySource
getUpdatableFactory
インタフェース内 UpdatableFactorySource
java.rmi.RemoteException
FatalException
protected CommonCommitableFinder getCommonCommitableFinder()
public java.lang.String getFinderName()
FinderFacade
getFinderName
インタフェース内 FinderFacade
public java.lang.String toString()
toString
クラス内 java.lang.Object