|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
T - サービスが扱うモデルクラスpublic interface DataService<T>
データを扱うサービスの基本的なインターフェイス
| メソッドの概要 | |
|---|---|
void |
add(T obj)
対象のモデルを追加する |
void |
delete(T condition)
指定したモデルを削除する |
void |
edit(T obj)
対象のモデルを更新する |
T |
get(String id)
対象のモデルオブジェクトを取得する |
LangridList<T> |
getList(int index,
int count,
MatchingCondition[] conditions,
Order[] orders,
Scope scope)
対象のモデルオブジェクトのリストを取得する |
int |
getTotalCount(MatchingCondition[] conditions,
Scope scope)
指定した条件に一致した件数を取得する |
boolean |
isExist(String dataId)
|
void |
setScopeParametar(String serviceGridId,
String userGridId,
String userId)
サービスが必要とするパラメータをセットする |
| メソッドの詳細 |
|---|
void add(T obj)
throws ServiceManagerException
obj - 対象のオブジェクト
ServiceManagerException
T get(String id)
throws ServiceManagerException
id - 対象のモデルID
ServiceManagerException
LangridList<T> getList(int index,
int count,
MatchingCondition[] conditions,
Order[] orders,
Scope scope)
throws ServiceManagerException
index - 取得開始位置count - 取得件数conditions - 取得条件orders - ソート条件scope - 検索範囲
ServiceManagerException
int getTotalCount(MatchingCondition[] conditions,
Scope scope)
throws ServiceManagerException
conditions - 取得する条件scope - 取得するエントリの範囲条件
ServiceManagerException
void edit(T obj)
throws ServiceManagerException
obj - 対象のモデルオブジェクト
ServiceManagerException
void delete(T condition)
throws ServiceManagerException
condition - 削除条件
ServiceManagerException
void setScopeParametar(String serviceGridId,
String userGridId,
String userId)
serviceGridId - サービスの所属するグリッドIDuserGridId - ユーザの所属するグリッドIDuserId - サービスを使用するユーザID
boolean isExist(String dataId)
throws ServiceManagerException
ServiceManagerException
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||