クラス EntityDefinitionManagerImpl
java.lang.Object
org.iplass.mtp.impl.entity.EntityDefinitionManagerImpl
- すべての実装されたインタフェース:
TypedDefinitionManager<EntityDefinition>,EntityDefinitionManager,Manager
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明create(EntityDefinition definition) 新規にEntity定義を作成する。現在登録されているEntity定義名のリストを返す。現在登録されているEntity定義名のリストを返す。definitionNameList(String filterPath) 現在登録されているEntity定義名のリストを返す。definitionSummaryList(String filterPath, boolean recursive) 現在登録されているDefinitionのDefinitionSummaryのリストを返します。指定の定義名のEntity定義を取得する。longgetAutoNumberCurrentValue(String definitionName, String propertyName) AutoNumberPropertyの現在のカウンター値を返す。longgetAutoNumberCurrentValue(String definitionName, String propertyName, String subUnitKey) AutoNumberPropertyの現在のカウンター値を返す。getAutoNumberCurrentValueList(String definitionName, String propertyName) AutoNumberPropertyの現在のカウンター値のリストを返す。このTypedDefinitionManagerが扱うDefinitionの型を返却します。現在登録されているEntity Storage Spaceのリストを返す。booleanisLockedSchema(String definitionName) スキーマがロックされているかを返す。指定の定義名のEntityを削除する。void指定のDefinitionのnameを変更します。voidrenameEntityDefinition(String from, String to) Entity定義名を変更する。voidrenamePropertyDefinition(String defName, String from, String to) Entity定義のプロパティ名を変更する。voidresetAutoNumberCounter(String definitionName, String propertyName, long startsWith) AutoNumberPropertyのカウンター値を指定の値にリセットする。voidresetAutoNumberCounter(String definitionName, String propertyName, String subUnitKey, long startsWith) AutoNumberPropertyのカウンター値を指定の値にリセットする。update(EntityDefinition definition) 指定のEntity定義で既存の定義を更新する。update(EntityDefinition definition, Map<String, String> renamePropertyMap) 指定のEntity定義で既存の定義を更新する。クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド org.iplass.mtp.definition.TypedDefinitionManager
definitionSummaryList, definitionSummaryList
-
コンストラクタの詳細
-
EntityDefinitionManagerImpl
public EntityDefinitionManagerImpl()
-
-
メソッドの詳細
-
create
インタフェースからコピーされた説明:EntityDefinitionManager新規にEntity定義を作成する。- 定義:
createインタフェース内EntityDefinitionManager- 定義:
createインタフェース内TypedDefinitionManager<EntityDefinition>- パラメータ:
definition- 新規に作成するEntityの定義- 戻り値:
- 作成結果
-
definitionList
インタフェースからコピーされた説明:EntityDefinitionManager現在登録されているEntity定義名のリストを返す。- 定義:
definitionListインタフェース内EntityDefinitionManager- 定義:
definitionListインタフェース内TypedDefinitionManager<EntityDefinition>- 戻り値:
- Entity定義名のリスト
-
definitionNameList
インタフェースからコピーされた説明:EntityDefinitionManager現在登録されているEntity定義名のリストを返す。- 定義:
definitionNameListインタフェース内EntityDefinitionManager- 戻り値:
- Entity定義名(Name, DisplayName, Description)のリスト
-
definitionNameList
インタフェースからコピーされた説明:EntityDefinitionManager現在登録されているEntity定義名のリストを返す。- 定義:
definitionNameListインタフェース内EntityDefinitionManager- パラメータ:
filterPath- "/"区切りのdefinitionNameのプレフィックス(Entity関連の定義は.区切りでも可)- 戻り値:
- Entity定義名(Name, DisplayName, Description)のリスト
-
get
インタフェースからコピーされた説明:EntityDefinitionManager指定の定義名のEntity定義を取得する。- 定義:
getインタフェース内EntityDefinitionManager- 定義:
getインタフェース内TypedDefinitionManager<EntityDefinition>- パラメータ:
definitionName- 定義名- 戻り値:
- 指定の定義名で一意に特定されるEntity定義
-
remove
インタフェースからコピーされた説明:EntityDefinitionManager指定の定義名のEntityを削除する。- 定義:
removeインタフェース内EntityDefinitionManager- 定義:
removeインタフェース内TypedDefinitionManager<EntityDefinition>- パラメータ:
definitionName- 定義名- 戻り値:
- 削除結果
-
update
インタフェースからコピーされた説明:EntityDefinitionManager指定のEntity定義で既存の定義を更新する。 (定義名の一致する定義を更新する。)- 定義:
updateインタフェース内EntityDefinitionManager- 定義:
updateインタフェース内TypedDefinitionManager<EntityDefinition>- パラメータ:
definition- 更新するEntity定義- 戻り値:
- 更新結果
-
update
public EntityDefinitionModifyResult update(EntityDefinition definition, Map<String, String> renamePropertyMap) インタフェースからコピーされた説明:EntityDefinitionManager指定のEntity定義で既存の定義を更新する。 (定義名の一致する定義を更新する。)- 定義:
updateインタフェース内EntityDefinitionManager- パラメータ:
definition- 更新するEntity定義renamePropertyMap- 名前を変更するプロパティのMap(from, to)- 戻り値:
- 更新結果
-
renameEntityDefinition
インタフェースからコピーされた説明:EntityDefinitionManagerEntity定義名を変更する。 データ自体はそのまま保持される。- 定義:
renameEntityDefinitionインタフェース内EntityDefinitionManager- パラメータ:
from- 変更前の定義名to- 変更後の定義名
-
renamePropertyDefinition
インタフェースからコピーされた説明:EntityDefinitionManagerEntity定義のプロパティ名を変更する。 データ自体はそのまま保持される。- 定義:
renamePropertyDefinitionインタフェース内EntityDefinitionManager- パラメータ:
defName- 対象のEntity定義名from- 変更前のプロパティ名to- 変更後のプロパティ名
-
getAutoNumberCurrentValue
インタフェースからコピーされた説明:EntityDefinitionManagerAutoNumberPropertyの現在のカウンター値を返す。- 定義:
getAutoNumberCurrentValueインタフェース内EntityDefinitionManager- パラメータ:
definitionName- Entity定義名propertyName- AutoNumberProperty型プロパティのプロパティ名- 戻り値:
- 現在のカウンター値
-
getAutoNumberCurrentValue
public long getAutoNumberCurrentValue(String definitionName, String propertyName, String subUnitKey) インタフェースからコピーされた説明:EntityDefinitionManagerAutoNumberPropertyの現在のカウンター値を返す。- 定義:
getAutoNumberCurrentValueインタフェース内EntityDefinitionManager- パラメータ:
definitionName- Entity定義名propertyName- AutoNumberProperty型プロパティのプロパティ名subUnitKey- 採番単位のKEY値- 戻り値:
- 現在のカウンター値
-
getAutoNumberCurrentValueList
public List<org.apache.commons.lang3.tuple.Pair<String,Long>> getAutoNumberCurrentValueList(String definitionName, String propertyName) インタフェースからコピーされた説明:EntityDefinitionManagerAutoNumberPropertyの現在のカウンター値のリストを返す。- 定義:
getAutoNumberCurrentValueListインタフェース内EntityDefinitionManager- パラメータ:
definitionName- Entity定義名propertyName- AutoNumberProperty型プロパティのプロパティ名- 戻り値:
- 現在のカウンター値のリスト
-
resetAutoNumberCounter
インタフェースからコピーされた説明:EntityDefinitionManagerAutoNumberPropertyのカウンター値を指定の値にリセットする。- 定義:
resetAutoNumberCounterインタフェース内EntityDefinitionManager- パラメータ:
definitionName- Entity定義名propertyName- AutoNumberProperty型プロパティのプロパティ名startsWith- リセットするカウンター値
-
resetAutoNumberCounter
public void resetAutoNumberCounter(String definitionName, String propertyName, String subUnitKey, long startsWith) インタフェースからコピーされた説明:EntityDefinitionManagerAutoNumberPropertyのカウンター値を指定の値にリセットする。- 定義:
resetAutoNumberCounterインタフェース内EntityDefinitionManager- パラメータ:
definitionName- Entity定義名propertyName- AutoNumberProperty型プロパティのプロパティ名subUnitKey- 採番単位のKEY値startsWith- リセットするカウンター値
-
getStorageSpaceList
インタフェースからコピーされた説明:EntityDefinitionManager現在登録されているEntity Storage Spaceのリストを返す。- 定義:
getStorageSpaceListインタフェース内EntityDefinitionManager- 戻り値:
- Entity Entity Storage Spaceのリスト
-
isLockedSchema
インタフェースからコピーされた説明:EntityDefinitionManagerスキーマがロックされているかを返す。
- 定義:
isLockedSchemaインタフェース内EntityDefinitionManager- パラメータ:
definitionName- 対象のEntity定義名- 戻り値:
- true:ロック
-
rename
インタフェースからコピーされた説明:TypedDefinitionManager指定のDefinitionのnameを変更します。- 定義:
renameインタフェース内TypedDefinitionManager<EntityDefinition>- パラメータ:
oldDefinitionName- 古いnamenewDefinitionName- 新しいname
-
getDefinitionType
インタフェースからコピーされた説明:TypedDefinitionManagerこのTypedDefinitionManagerが扱うDefinitionの型を返却します。- 定義:
getDefinitionTypeインタフェース内TypedDefinitionManager<EntityDefinition>- 戻り値:
-
definitionSummaryList
インタフェースからコピーされた説明:TypedDefinitionManager現在登録されているDefinitionのDefinitionSummaryのリストを返します。 filterPathが指定された場合は、当該パス以下のDefinitionから取得します。 filterPathがnullもしくは、"/"、""の場合は、すべてのDefinitionから取得します。 recursive=trueが指定された場合は、再帰的に階層下の定義をすべて取得します。- 定義:
definitionSummaryListインタフェース内TypedDefinitionManager<EntityDefinition>- パラメータ:
filterPath- "/"もしくは"."区切りのdefinitionNameのプレフィックス(実装されるDefinitionによりパス区切り文字は異なります)recursive- 再帰的に階層下の定義をすべて取得する場合はtrue- 戻り値:
- DefinitionSummary(Name, DisplayName, description)のリスト
-