|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.co.quickbinder.api.document.QBDocHistory
public class QBDocHistory
履歴情報クラス
履歴情報の操作を行います。
コンストラクタの概要 | |
---|---|
QBDocHistory(String dbid,
String treeid,
String dataid)
コンストラクタ 引数で指定した値を変更する場合、各setterのメソッドで変更します。 |
メソッドの概要 | |
---|---|
boolean |
adjustment(int intDataVerCnt)
指定の数になるように履歴数の調整を行います。 |
Integer |
getCount()
履歴数の取得 |
String |
getErrorCD()
エラーコードを取得します。 |
String |
getErrorMessage()
メッセージの取得 |
ArrayList<QbsXDataVersion> |
getXDataVersionList()
QBS_X_DATAVERSIONのデータを取得する |
ArrayList<QbsXDataVersion> |
getXDataVersionList(String condition,
String orderBy)
QBS_X_DATAVERSIONのデータを取得する |
ArrayList<QbsXFileVersion> |
getXFileVersionList(String condition,
String orderBy)
QBS_X_FILEVERSIONのデータを取得する |
void |
setDataId(String dataid)
データIDのセット |
void |
setDbId(String dbid)
データベースIDのセット |
void |
setTreeId(String treeid)
階層IDIDのセット |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public QBDocHistory(String dbid, String treeid, String dataid)
コンストラクタ 引数で指定した値を変更する場合、各setterのメソッドで変更します。
dbid
- データベースIDtreeid
- 階層IDdataid
- データIDメソッドの詳細 |
---|
public String getErrorMessage()
public String getErrorCD()
public void setDbId(String dbid)
dbid
- データベースIDpublic void setTreeId(String treeid)
treeid
- 階層IDpublic void setDataId(String dataid)
dataid
- データIDpublic Integer getCount() throws Exception
履歴数の取得
Exception
public ArrayList<QbsXDataVersion> getXDataVersionList() throws Exception
QBS_X_DATAVERSIONのデータを取得する
Exception
public ArrayList<QbsXDataVersion> getXDataVersionList(String condition, String orderBy) throws Exception
QBS_X_DATAVERSIONのデータを取得する
condition
- 検索条件 (WHERE区から)
orderBy
- 取得するデータの並び順
Exception
public ArrayList<QbsXFileVersion> getXFileVersionList(String condition, String orderBy) throws Exception
QBS_X_FILEVERSIONのデータを取得する
condition
- 検索条件 WHERE句から
orderBy
- 取得するデータの並び順
Exception
public boolean adjustment(int intDataVerCnt) throws Exception
指定の数になるように履歴数の調整を行います。 現在の履歴数と指定の数の差の値だけ古い履歴を削除します
intDataVerCnt
- 調整する数
Exception
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |