|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.fiverworks.xone.mw.Commands
コマンドを作成するためのクラスです。
コマンドもXoneObjectで表現され、そのエレメント名等の定数が定義されています。
フィールドの概要 | |
static int |
ALL
オブジェクトをロードするとき、ロードするオブジェクトの最大数を制限なしにします。 |
static String |
ARGUMENT_RANGE
コマンド内のエレメント名 |
static String |
BATCH_COMMAND
コマンド名 |
static String |
COMMAND
コマンド内のエレメント名 |
static String |
COMMAND_CLASS_NAME
コマンドのクラス名 |
static String |
COMMAND_LIST
コマンド内のエレメント名 |
static String |
COMMAND_LIST_LIST
コマンド内のエレメント名 |
static String |
COMPLETELY
コマンド内のエレメント名 |
static String |
COPY_COMMAND
コマンド名 |
static String |
COPY_FOLDER_COMMAND
コマンド名 |
static String |
COUNT_COMMAND
コマンド名 |
static String |
DELETE_COMMAND
コマンド名 |
static String |
DELETE_FOLDER_COMMAND
コマンド名 |
static String |
DESCRIPTION
コマンド内のエレメント名 |
static String |
DEST
コマンド内のエレメント名 |
static String |
ELEMENT_CONDITION
コマンド内のエレメント名 |
static String |
EXISTS_COMMAND
コマンド名 |
static String |
EXISTS_FOLDER_COMMAND
コマンド名 |
static String |
FIND_COMMAND
コマンド名 |
static String |
FOLDER_PROPERTY_COMMAND
コマンド名 |
static String |
GET_FOLDER_COMMAND
コマンド名 |
static String |
HINT
コマンド内のエレメント名 |
static String |
LIMIT
コマンド内のエレメント名 |
static String |
LIST_COMMAND
コマンド名 |
static String |
LIST_OBJECTS_COMMAND
コマンド名 |
static String |
LOAD_COMMAND
コマンド名 |
static String |
LOGIN_COMMAND
コマンド名 |
static String |
LOGOUT_COMMAND
コマンド名 |
static String |
MOVE_COMMAND
コマンド名 |
static String |
MOVE_FOLDER_COMMAND
コマンド名 |
static String |
MULTI_DELETE_COMMAND
コマンド名 |
static String |
MULTI_LOAD_COMMAND
コマンド名 |
static String |
MULTI_REVIVE_COMMAND
コマンド名 |
static String |
NAME
コマンド内のエレメント名 |
static String |
NAMES
コマンド内のエレメント名 |
static String |
NEW
保存するときの書き込みモードです。 |
static String |
NEW_FOLDER_COMMAND
コマンド名 |
static String |
OBJECT_PROPERTY_COMMAND
コマンド名 |
static String |
OFFSET
コマンド内のエレメント名 |
static String |
ORDER_BY
コマンド内のエレメント名 |
static String |
OVERWRITE
保存するときの書き込みモードです。 |
static String |
PARENT
コマンド内のエレメント名 |
static String |
PASSWORD
コマンド内のエレメント名 |
static String |
PATH
コマンド内のエレメント名 |
static String |
PATH_ARRAY
コマンド内のエレメント名 |
static String |
REVIVE_COMMAND
コマンド名 |
static String |
REVIVE_FOLDER_COMMAND
コマンド名 |
static String |
SAVE_COMMAND
コマンド名 |
static String |
SELECT_DELETE_COMMAND
コマンド名 |
static String |
SELECT_LOAD_COMMAND
コマンド名 |
static String |
SELECT_LOAD_COMMAND2
コマンド名 |
static String |
SELECT_REVIVE_COMMAND
コマンド名 |
static String |
SOURCE
コマンド内のエレメント名 |
static String |
SUBFOLDER
コマンド内のエレメント名 |
static String |
TIMESTAMP
コマンド内のエレメント名 |
static String |
WHERE
コマンド内のエレメント名 |
static String |
WRITE_MODE
コマンド内のエレメント名 |
static int |
ZERO_OFFSET
オブジェクトをロードするとき、オフセットなしでロードします。 |
メソッドの概要 | |
static void |
checkLegalWhere(String where)
正しい条件式か調べます。 |
static XoneObject |
getBasicCommand()
基本となるコマンドオブジェクトを取得します。 |
static XoneObject |
getCopyCommand(String source,
String dest)
copyコマンドを取得します。 |
static XoneObject |
getCopyCommand(String source,
String[] names,
String dest)
copyコマンドを取得します。 |
static XoneObject |
getCopyCommand(String source,
String[] names,
String dest,
String writeMode)
copyコマンドを取得します。 |
static XoneObject |
getCopyCommand(String source,
String dest,
String writeMode)
copyコマンドを取得します。 |
static XoneObject |
getCopyFolderCommand(String source,
String dest)
copyFolderコマンドを取得します。 |
static XoneObject |
getCountCommand(String parent)
countコマンドを取得します。 |
static XoneObject |
getCountCommand(String parent,
String where)
countコマンドを取得します。 |
static XoneObject |
getCountCommand(String parent,
String where,
String elementCondition)
countコマンドを取得します。 |
static XoneObject |
getDeleteCommand(String parent)
deleteコマンドを取得します。 |
static XoneObject |
getDeleteCommand(String[] paths)
deleteコマンドを取得します。 |
static XoneObject |
getDeleteCommand(String[] paths,
boolean completely)
deleteコマンドを取得します。 |
static XoneObject |
getDeleteCommand(String parent,
boolean completely)
deleteコマンドを取得します。 |
static XoneObject |
getDeleteCommand(String parent,
String where)
deleteコマンドを取得します。 |
static XoneObject |
getDeleteCommand(String parent,
String[] names)
deleteコマンドを取得します。 |
static XoneObject |
getDeleteCommand(String parent,
String[] names,
boolean completely)
deleteコマンドを取得します。 |
static XoneObject |
getDeleteCommand(String parent,
String where,
boolean completely)
deleteコマンドを取得します。 |
static XoneObject |
getDeleteCommand(String parent,
String where,
String elementCondition)
deleteコマンドを取得します。 |
static XoneObject |
getDeleteCommand(String parent,
String where,
String elementCondition,
boolean completely)
deleteコマンドを取得します。 |
static XoneObject |
getDeleteFolderCommand(String path)
deleteFolderコマンドを取得します。 |
static XoneObject |
getDeleteFolderCommand(String path,
boolean completely)
deleteFolderコマンドを取得します。 |
static XoneObject |
getExistsCommand(String path)
existコマンドを取得します。 |
static XoneObject |
getExistsFolderCommand(String path)
existsFolderコマンドを取得します。 |
static XoneObject |
getFolderProprtyCommand(String path)
folderProperty(フォルダのメタ情報)コマンドを取得します。 |
static XoneObject |
getGetFolderCommand(String path)
getFolderコマンドを取得します。 |
static XoneObject |
getListCommand(String parent)
listコマンドを取得します。 |
static XoneObject |
getListObjectsCommand(String parent)
listObjectsコマンドを取得します。 |
static XoneObject |
getListObjectsCommand(String parent,
String where)
listObjectsコマンドを取得します。 |
static XoneObject |
getListObjectsCommand(String parent,
String where,
String elementCondition)
listObjectsコマンドを取得します。 |
static XoneObject |
getLoadCommand(String parent)
loadコマンドを取得します。 |
static XoneObject |
getLoadCommand(String[] paths)
loadコマンドを取得します。 |
static XoneObject |
getLoadCommand(String parent,
String where)
loadコマンドを取得します。 |
static XoneObject |
getLoadCommand(String parent,
String[] names)
loadコマンドを取得します。 |
static XoneObject |
getLoadCommand(String parent,
String orderBy,
int limit,
int offset)
loadコマンドを取得します。 |
static XoneObject |
getLoadCommand(String parent,
String where,
String elementCondition)
loadコマンドを取得します。 |
static XoneObject |
getLoadCommand(String parent,
String elementCondition,
String orderBy,
int limit,
int offset)
loadコマンドを取得します。 |
static XoneObject |
getLoginCommand(String name,
String password)
loginコマンドを取得します。 |
static XoneObject |
getLogoutCommand()
logoutコマンドを取得します。 |
static XoneObject |
getMoveCommand(String source,
String dest)
moveコマンドを取得します。 |
static XoneObject |
getMoveCommand(String source,
String[] names,
String dest)
moveコマンドを取得します。 |
static XoneObject |
getMoveCommand(String source,
String[] names,
String dest,
String writeMode)
moveコマンドを取得します。 |
static XoneObject |
getMoveCommand(String source,
String dest,
String writeMode)
moveコマンドを取得します。 |
static XoneObject |
getMoveFolderCommand(String source,
String dest)
moveFolderコマンドを取得します。 |
static XoneObject |
getNewFolderCommand(String parent)
newFolderコマンドを取得します。 |
static XoneObject |
getObjectProprtyCommand(String path,
String name)
objectProperty(オブジェクトのメタ情報)コマンドを取得します。 |
static XoneObject |
getObjectProprtyCommand(String path,
String name,
Timestamp timestamp)
objectProperty(オブジェクトのメタ情報)コマンドを取得します。 |
static XoneObject |
getObjectProprtyCommand(String path,
String name,
Timestamp timestamp,
String hint)
objectProperty(オブジェクトのメタ情報)コマンドを取得します。 |
static XoneObject |
getReviveCommand(String parent)
reviveコマンドを取得します。 |
static XoneObject |
getReviveCommand(String[] paths)
reviveコマンドを取得します。 |
static XoneObject |
getReviveCommand(String parent,
String where)
reviveコマンドを取得します。 |
static XoneObject |
getReviveCommand(String parent,
String[] names)
reviveコマンドを取得します。 |
static XoneObject |
getReviveCommand(String parent,
String where,
String elementCondition)
reviveコマンドを取得します。 |
static XoneObject |
getReviveFolderCommand(String path)
reviveFolderコマンドを取得します。 |
static XoneObject |
getSaveCommand(String parent)
saveコマンドを取得します。 |
static XoneObject |
getSaveCommand(String parent,
String writeMode)
saveコマンドを取得します。 |
static boolean |
isLegalOrderBy(String orderBy)
OrderByの指定が正しいかどうか調べます。 |
static boolean |
isLegalWriteMode(String writeMode)
書き込みモードが正しいかどうか調べます。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public static final String COMMAND_CLASS_NAME
public static final String COPY_COMMAND
public static final String COPY_FOLDER_COMMAND
public static final String MOVE_COMMAND
public static final String MOVE_FOLDER_COMMAND
public static final String DELETE_COMMAND
public static final String MULTI_DELETE_COMMAND
public static final String SELECT_DELETE_COMMAND
public static final String DELETE_FOLDER_COMMAND
public static final String REVIVE_COMMAND
public static final String MULTI_REVIVE_COMMAND
public static final String SELECT_REVIVE_COMMAND
public static final String REVIVE_FOLDER_COMMAND
public static final String LOAD_COMMAND
public static final String SELECT_LOAD_COMMAND
public static final String SELECT_LOAD_COMMAND2
public static final String MULTI_LOAD_COMMAND
public static final String COUNT_COMMAND
public static final String SAVE_COMMAND
public static final String FIND_COMMAND
public static final String LIST_COMMAND
public static final String LIST_OBJECTS_COMMAND
public static final String NEW_FOLDER_COMMAND
public static final String GET_FOLDER_COMMAND
public static final String FOLDER_PROPERTY_COMMAND
public static final String OBJECT_PROPERTY_COMMAND
public static final String EXISTS_COMMAND
public static final String EXISTS_FOLDER_COMMAND
public static final String LOGIN_COMMAND
public static final String LOGOUT_COMMAND
public static final String BATCH_COMMAND
public static final String NEW
public static final String OVERWRITE
public static final int ALL
public static final int ZERO_OFFSET
public static final String COMMAND
public static final String SOURCE
public static final String DEST
public static final String NAMES
public static final String PARENT
public static final String PATH
public static final String WRITE_MODE
public static final String NAME
public static final String PASSWORD
public static final String TIMESTAMP
public static final String DESCRIPTION
public static final String HINT
public static final String COMPLETELY
public static final String LIMIT
public static final String OFFSET
public static final String ORDER_BY
public static final String WHERE
public static final String ELEMENT_CONDITION
public static final String SUBFOLDER
public static final String PATH_ARRAY
public static final String COMMAND_LIST
public static final String COMMAND_LIST_LIST
public static final String ARGUMENT_RANGE
メソッドの詳細 |
public static XoneObject getBasicCommand()
public static XoneObject getExistsCommand(String path)
path
- XoneObjectへのパス
XoneRuntimeException
- pathが不正な場合public static XoneObject getMoveCommand(String source, String dest)
source
- 移動元のフォルダのパスdest
- 移動先のフォルダのパス
XoneRuntimeException
- sourceまたはdestが不正な場合public static XoneObject getMoveCommand(String source, String dest, String writeMode)
source
- 移動元のフォルダのパスdest
- 移動先のフォルダのパスwriteMode
- 同じ名前のオブジェクトでも上書きするときはOVERWRITE、新しい名前のものだけを書き込む時はNEW
XoneRuntimeException
- source,dest,writeModeのいずれかが不正な場合public static XoneObject getMoveCommand(String source, String[] names, String dest)
names
- 移動するオブジェクトの名前(nullの場合はsource内のすべてのオブジェクト)source
- 移動元のフォルダのパスdest
- 移動先のフォルダのパス
XoneRuntimeException
- source,destのいずれかが不正な場合、あるいはnamesの長さが0の場合public static XoneObject getMoveCommand(String source, String[] names, String dest, String writeMode)
names
- 移動するオブジェクトの名前(nullの場合はsource内のすべてのオブジェクト)source
- 移動元のフォルダのパスdest
- 移動先のフォルダのパスwriteMode
- 同じ名前のオブジェクトでも上書きするときはOVERWRITE、新しい名前のものだけを書き込む時はNEW
XoneRuntimeException
- source,dest,writeModeのいずれかが不正な場合、あるいはnamesの長さが0の場合public static XoneObject getCopyCommand(String source, String dest)
source
- コピー元のフォルダのパスdest
- コピー先のフォルダのパス
XoneRuntimeException
- sourceまたはdestが不正な場合public static XoneObject getCopyCommand(String source, String dest, String writeMode)
source
- コピー元のフォルダのパスdest
- コピー先のフォルダのパスwriteMode
- 同じ名前のオブジェクトでも上書きするときはOVERWRITE、新しい名前のものだけを書き込む時はNEW
XoneRuntimeException
- source,dest,writeModeのいずれかが不正な場合public static XoneObject getCopyCommand(String source, String[] names, String dest)
names
- コピーするオブジェクトの名前(nullの場合はsource内のすべてのオブジェクト)source
- コピー元のフォルダのパスdest
- コピー先のフォルダのパス
XoneRuntimeException
- source,destのいずれかが不正な場合、あるいはnamesの長さが0の場合public static XoneObject getCopyCommand(String source, String[] names, String dest, String writeMode)
names
- コピーするオブジェクトの名前(nullの場合はsource内のすべてのオブジェクト)source
- コピー元のフォルダのパスdest
- コピー先のフォルダのパスwriteMode
- 同じ名前のオブジェクトでも上書きするときはOVERWRITE、新しい名前のものだけを書き込む時はNEW
XoneRuntimeException
- source,dest,writeModeのいずれかが不正な場合、あるいはnamesの長さが0の場合public static XoneObject getDeleteCommand(String parent)
parent
- 親フォルダのパス
XoneRuntimeException
- parentが不正な場合public static XoneObject getDeleteCommand(String parent, boolean completely)
parent
- 親フォルダのパスcompletely
- 完全に削除したいときはtrue
XoneRuntimeException
- parentが不正な場合public static XoneObject getDeleteCommand(String parent, String[] names)
names
- 削除するオブジェクトの名前(nullの場合はparent内のすべてのオブジェクト)parent
- 親フォルダのパス
XoneRuntimeException
- parentが不正な場合、あるいはnamesの長さが0の場合public static XoneObject getDeleteCommand(String parent, String[] names, boolean completely)
names
- 削除するオブジェクトの名前(nullの場合はparent内のすべてのオブジェクト)completely
- 完全に削除したいときはtrueparent
- 親フォルダのパス
XoneRuntimeException
- parentが不正な場合、あるいはnamesの長さが0の場合public static XoneObject getDeleteCommand(String[] paths)
paths
- 削除するオブジェクトのパス
XoneRuntimeException
- pathsがnullまたは長さが0の場合、あるいはpathsの個々の要素が不正な場合public static XoneObject getDeleteCommand(String[] paths, boolean completely)
paths
- 削除するオブジェクトのパスcompletely
- 完全に削除したいときはtrue
XoneRuntimeException
- pathsがnullまたは長さが0の場合、あるいはpathsの個々の要素が不正な場合public static XoneObject getDeleteCommand(String parent, String where)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます(この条件式がnullの場合はparent内のすべてのオブジェクトが対象になります)。
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static XoneObject getDeleteCommand(String parent, String where, boolean completely)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます(この条件式がnullの場合はparent内のすべてのオブジェクトが対象になります)。completely
- 完全に削除したいときはtrue
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static XoneObject getDeleteCommand(String parent, String where, String elementCondition)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます。elementCondition
- エレメントに対する条件式
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static XoneObject getDeleteCommand(String parent, String where, String elementCondition, boolean completely)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます。elementCondition
- エレメントに対する条件式completely
- 完全に削除したいときはtrue
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static XoneObject getReviveCommand(String parent)
parent
- 親フォルダのパス
XoneRuntimeException
- parentが不正な場合public static XoneObject getReviveCommand(String parent, String[] names)
names
- 復活するオブジェクトの名前(nullの場合はparent内の削除マークの付いたオブジェクト)parent
- 親フォルダのパス
XoneRuntimeException
- parentが不正な場合、あるいはnamesの長さが0の場合public static XoneObject getReviveCommand(String[] paths)
paths
- 復活するオブジェクトのパス
XoneRuntimeException
- pathsがnullまたは長さが0の場合、あるいはpathsの個々の要素が不正な場合public static XoneObject getReviveCommand(String parent, String where)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます(この条件式がnullの場合はparent内のすべてのオブジェクトが対象になります)。
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static XoneObject getReviveCommand(String parent, String where, String elementCondition)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます。elementCondition
- エレメントに対する条件式
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static XoneObject getLoadCommand(String parent)
parent
- 親フォルダのパス
XoneRuntimeException
- parentが不正な場合public static XoneObject getLoadCommand(String parent, String[] names)
parent
- 親フォルダのパスnames
- 読み込むオブジェクトの名前(nullの場合はparent内のすべてのオブジェクト)
XoneRuntimeException
- parentが不正な場合、あるいはnamesの長さが0の場合public static XoneObject getLoadCommand(String[] paths)
paths
- 読み込むオブジェクトのパス
XoneRuntimeException
- pathsがnullまたは長さが0の場合、あるいはpathsの個々の要素が不正な場合public static XoneObject getLoadCommand(String parent, String where)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます(この条件式がnullの場合はparent内のすべてのオブジェクトが対象になります)。
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static XoneObject getLoadCommand(String parent, String where, String elementCondition)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます。elementCondition
- エレメントに対する条件式
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static XoneObject getLoadCommand(String parent, String orderBy, int limit, int offset)
parent
- 親フォルダのパスorderBy
- 並び替えるフィールド(nullの場合はNAME_FIELDと見なす)limit
- 読み込むオブジェクトの最大数offset
- 何番目からロードするかを指定
XoneRuntimeException
- parentが不正な場合、あるいはorderByが不正な場合public static XoneObject getLoadCommand(String parent, String elementCondition, String orderBy, int limit, int offset)
parent
- 親フォルダのパスelementCondition
- エレメントに対する条件式orderBy
- 並び替えるフィールド(nullの場合はNAME_FIELDと見なす)limit
- 読み込むオブジェクトの最大数offset
- 何番目からロードするかを指定
XoneRuntimeException
- parentが不正な場合、whereに不正な文字が含まれている場合、あるいはorderByが不正な場合public static void checkLegalWhere(String where)
where
- 調べる条件式
XoneRuntimeException
- whereに不正な文字が含まれている場合public static XoneObject getCountCommand(String parent)
parent
- 親フォルダのパス
XoneRuntimeException
- parentが不正な場合public static XoneObject getCountCommand(String parent, String where)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます(この条件式がnullの場合はparent内のすべてのオブジェクトが対象になります)。
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static XoneObject getCountCommand(String parent, String where, String elementCondition)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます。elementCondition
- エレメントに対する条件式
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static XoneObject getListObjectsCommand(String parent)
parent
- 親フォルダのパス
XoneRuntimeException
- parentが不正な場合public static XoneObject getListObjectsCommand(String parent, String where)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます(この条件式がnullの場合はparent内のすべてのオブジェクトが対象になります)。
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static XoneObject getListObjectsCommand(String parent, String where, String elementCondition)
parent
- 親フォルダのパスwhere
- 条件式としてSQLのwhere句を記述します。フィールド名(列名、カラム名)にはMwMain
で定義されているNAME_FIELD、TYPE_FIELD、CLASSNAME_FIELD、TIMESTAMP_FIELD、OBJECTID_FIELD、FOLDERID_FIELD、HINT_FIELD
の定数が使えます。elementCondition
- エレメントに対する条件式
XoneRuntimeException
- parentが不正な場合、あるいはwhereに不正な文字が含まれている場合public static boolean isLegalOrderBy(String orderBy)
orderBy
- OrderByの指定
public static XoneObject getSaveCommand(String parent)
parent
- 親フォルダのパス
XoneRuntimeException
- parentが不正な場合public static XoneObject getSaveCommand(String parent, String writeMode)
parent
- 親フォルダのパスwriteMode
- 同じ名前のオブジェクトでも上書きするときはOVERWRITE、新しい名前のものだけを書き込む時はNEW
XoneRuntimeException
- parent,writeModemのいずれかが不正な場合public static boolean isLegalWriteMode(String writeMode)
writeMode
- 書き込みモード
public static XoneObject getObjectProprtyCommand(String path, String name)
path
- オブジェクトのパスname
- 新しいオブジェクト名
XoneRuntimeException
- path,nameのいずれかが不正な場合public static XoneObject getObjectProprtyCommand(String path, String name, Timestamp timestamp)
path
- オブジェクトのパスname
- 新しいオブジェクト名timestamp
- 新しいタイムスタンプ
XoneRuntimeException
- path,nameのいずれかが不正な場合public static XoneObject getObjectProprtyCommand(String path, String name, Timestamp timestamp, String hint)
path
- オブジェクトのパスname
- 新しいオブジェクト名timestamp
- 新しいタイムスタンプhint
- 新しいヒント
XoneRuntimeException
- path,nameのいずれかが不正な場合、あるいはnameとtimestampの両方がnullの場合public static XoneObject getExistsFolderCommand(String path)
path
- フォルダのパス
XoneRuntimeException
- pathが不正な場合public static XoneObject getNewFolderCommand(String parent)
parent
- 親フォルダのパス
XoneRuntimeException
- parentが不正な場合public static XoneObject getDeleteFolderCommand(String path)
path
- 削除するフォルダのパス
XoneRuntimeException
- pathが不正な場合public static XoneObject getDeleteFolderCommand(String path, boolean completely)
path
- 削除するフォルダのパスcompletely
- 完全に削除したいときはtrue
XoneRuntimeException
- pathが不正な場合public static XoneObject getReviveFolderCommand(String path)
path
- 復活するフォルダのパス
XoneRuntimeException
- pathが不正な場合public static XoneObject getFolderProprtyCommand(String path)
path
- 変更するフォルダのパス
XoneRuntimeException
- pathが不正な場合public static XoneObject getGetFolderCommand(String path)
path
- 取得するフォルダのパス
XoneRuntimeException
- pathが不正な場合public static XoneObject getListCommand(String parent)
parent
- 親フォルダのパス
XoneRuntimeException
- parentが不正な場合public static XoneObject getMoveFolderCommand(String source, String dest)
source
- 移動元のフォルダdest
- 移動先のフォルダ
XoneRuntimeException
- sourceまたはdestが不正な場合public static XoneObject getCopyFolderCommand(String source, String dest)
source
- コピー元のフォルダdest
- コピー先のフォルダ
XoneRuntimeException
- sourceまたはdestが不正な場合public static XoneObject getLoginCommand(String name, String password)
name
- ログインするユーザ名password
- ユーザのパスワード
XoneRuntimeException
- name,passwordがnullまたは空白の場合public static XoneObject getLogoutCommand()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |