|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
public interface AccessLogDao
アクセスログを扱うDAO。
| メソッドの概要 | |
|---|---|
void |
addAccessLog(AccessLog log)
アクセスログを追加する。 |
void |
clear()
アクセスログをクリアする。 |
void |
deleteAccessLogBefore(Calendar dateTime)
指定された日時以前のログを削除する。 |
void |
deleteAccessLogOfNode(String nodeGridId,
String nodeId)
指定されたノードのアクセスログを削除する。 |
void |
deleteAccessLogOfUser(String userGridId,
String userId)
指定されたユーザのアクセスログを削除する。 |
void |
deleteAccessLogsOfGrid(String gridId)
指定されたグリッドのアクセスログを削除する。 |
void |
deleteAccessLogsOfService(String serviceGridId,
String serviceId)
指定されたサービスのアクセスログを削除する。 |
boolean |
isLogExist(int logId)
ログが存在する場合、trueを返す。 |
boolean |
isLogExistByNodeIds(String gridId,
String nodeId,
int nodeLocalId)
gridIDとnodeIdとnodeLocalIdをキーにログの存在を確認する。 |
List<AccessLog> |
listAccessLogsNewerThanOrEqualsTo(String serviceAndNodeGridId,
Calendar dateTime)
指定した日時以降に追加されたアクセスログ一覧を取得する。 |
AccessLogSearchResult |
searchAccessLog(int startIndex,
int maxCount,
String userGridId,
String userId,
String serviceGridId,
String[] serviceIds,
Calendar startDateTime,
Calendar endDateTime,
MatchingCondition[] conditions,
Order[] orders)
アクセスログを検索する。 |
AccessLogSearchResult |
searchLimitOverAccessLog(int startIndex,
int maxCount,
String userGridId,
String userId,
String serviceGridId,
String[] serviceIds,
Calendar startDateTime,
Calendar endDateTime,
MatchingCondition[] conditions,
Order[] orders,
int limitCount)
アクセスログを検索する。 |
void |
updateAccessLogByNodeIds(AccessLog log)
gridIdとnodeIdとnodeLocalIdをキーにアクセスログを更新する。 |
| メソッドの詳細 |
|---|
void clear()
throws DaoException
DaoException - 処理に失敗した
List<AccessLog> listAccessLogsNewerThanOrEqualsTo(String serviceAndNodeGridId,
Calendar dateTime)
throws DaoException
serviceAndNodeGridId - グリッドIDdateTime - 日時
DaoException - 処理に失敗した
AccessLogSearchResult searchLimitOverAccessLog(int startIndex,
int maxCount,
String userGridId,
String userId,
String serviceGridId,
String[] serviceIds,
Calendar startDateTime,
Calendar endDateTime,
MatchingCondition[] conditions,
Order[] orders,
int limitCount)
throws DaoException
startIndex - 返すログの開始インデックスmaxCount - 返すログの総数userGridId - ユーザのグリッドID。指定しない場合は空文字列userId - ユーザID。指定しない場合は空文字列serviceGridId - サービスのグリッドID。指定しない場合は空文字列serviceIds - サービスID。指定しない場合は空配列startDateTime - ログの開始日時endDateTime - ログの終了日時。この日時は結果に含まれないconditions - 検索条件orders - ソート順limitCount - 制限値
DaoException - 処理に失敗した
AccessLogSearchResult searchAccessLog(int startIndex,
int maxCount,
String userGridId,
String userId,
String serviceGridId,
String[] serviceIds,
Calendar startDateTime,
Calendar endDateTime,
MatchingCondition[] conditions,
Order[] orders)
throws DaoException
startIndex - 返すログの開始インデックスmaxCount - 返すログの総数userGridId - ユーザのグリッドID。指定しない場合は空文字列userId - ユーザID。指定しない場合は空文字列serviceGridId - サービスのグリッドID。指定しない場合は空文字列serviceIds - サービスID。指定しない場合は空配列startDateTime - ログの開始日時endDateTime - ログの終了日時。この日時は結果に含まれないconditions - 検索条件orders - ソート順
DaoException - 処理に失敗した
boolean isLogExist(int logId)
throws DaoException
logId - ログID
DaoException - 処理に失敗した
void addAccessLog(AccessLog log)
throws DaoException
log - アクセスログ
DaoException - 処理に失敗した
void deleteAccessLogBefore(Calendar dateTime)
throws DaoException
dateTime - 基準日時。この日時のログは削除されない
DaoException - 処理に失敗した
void deleteAccessLogsOfGrid(String gridId)
throws DaoException
gridId - グリッドID
DaoException - 処理に失敗した
void deleteAccessLogsOfService(String serviceGridId,
String serviceId)
throws DaoException
serviceGridId - サービスのグリッドIDserviceId - サービスID
DaoException - 処理に失敗した
void deleteAccessLogOfNode(String nodeGridId,
String nodeId)
throws DaoException
nodeGridId - ノードのグリッドIDnodeId - ノードID
DaoException - 処理に失敗した
void deleteAccessLogOfUser(String userGridId,
String userId)
throws DaoException
userGridId - ユーザのグリッドIDuserId - ユーザID
DaoException - 処理に失敗した
boolean isLogExistByNodeIds(String gridId,
String nodeId,
int nodeLocalId)
throws DaoException
gridId - グリッドIDnodeId - ノードIDnodeLocalId - ノード内のログのID
DaoException - 処理に失敗した
void updateAccessLogByNodeIds(AccessLog log)
throws DaoException
log - アクセスログ
DaoException - 処理に失敗した
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||