Package org.iplass.mtp.entity.definition
Interface EntityDefinitionManager
- All Superinterfaces:
- Manager,- TypedDefinitionManager<EntityDefinition>
Entity定義を管理するクラスのインタフェース。
- 
Method SummaryModifier and TypeMethodDescriptioncreate(EntityDefinition definition) 新規にEntity定義を作成する。現在登録されているEntity定義名のリストを返す。現在登録されているEntity定義名のリストを返す。definitionNameList(String filterPath) 現在登録されているEntity定義名のリストを返す。指定の定義名のEntity定義を取得する。longgetAutoNumberCurrentValue(String definitionName, String propertyName) AutoNumberPropertyの現在のカウンター値を返す。longgetAutoNumberCurrentValue(String definitionName, String propertyName, String subUnitKey) AutoNumberPropertyの現在のカウンター値を返す。getAutoNumberCurrentValueList(String definitionName, String propertyName) AutoNumberPropertyの現在のカウンター値のリストを返す。現在登録されているEntity Storage Spaceのリストを返す。booleanisLockedSchema(String definitionName) スキーマがロックされているかを返す。指定の定義名のEntityを削除する。voidrenameEntityDefinition(String from, String to) Entity定義名を変更する。 データ自体はそのまま保持される。voidrenamePropertyDefinition(String definitionName, 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定義で既存の定義を更新する。 (定義名の一致する定義を更新する。)Methods inherited from interface org.iplass.mtp.definition.TypedDefinitionManagerdefinitionSummaryList, definitionSummaryList, definitionSummaryList, getDefinitionType, rename
- 
Method Details- 
create新規にEntity定義を作成する。- Specified by:
- createin interface- TypedDefinitionManager<EntityDefinition>
- Parameters:
- definition- 新規に作成するEntityの定義
- Returns:
- 作成結果
 
- 
get指定の定義名のEntity定義を取得する。- Specified by:
- getin interface- TypedDefinitionManager<EntityDefinition>
- Parameters:
- definitionName- 定義名
- Returns:
- 指定の定義名で一意に特定されるEntity定義
 
- 
definitionList現在登録されているEntity定義名のリストを返す。- Specified by:
- definitionListin interface- TypedDefinitionManager<EntityDefinition>
- Returns:
- Entity定義名のリスト
 
- 
definitionNameListList<DefinitionSummary> definitionNameList()現在登録されているEntity定義名のリストを返す。- Returns:
- Entity定義名(Name, DisplayName, Description)のリスト
 
- 
definitionNameList現在登録されているEntity定義名のリストを返す。- Parameters:
- filterPath- "/"区切りのdefinitionNameのプレフィックス(Entity関連の定義は.区切りでも可)
- Returns:
- Entity定義名(Name, DisplayName, Description)のリスト
 
- 
remove指定の定義名のEntityを削除する。- Specified by:
- removein interface- TypedDefinitionManager<EntityDefinition>
- Parameters:
- definitionName- 定義名
- Returns:
- 削除結果
 
- 
update指定のEntity定義で既存の定義を更新する。 (定義名の一致する定義を更新する。)- Specified by:
- updatein interface- TypedDefinitionManager<EntityDefinition>
- Parameters:
- definition- 更新するEntity定義
- Returns:
- 更新結果
 
- 
updateEntityDefinitionModifyResult update(EntityDefinition definition, Map<String, String> renamePropertyMap) 指定のEntity定義で既存の定義を更新する。 (定義名の一致する定義を更新する。)- Parameters:
- definition- 更新するEntity定義
- renamePropertyMap- 名前を変更するプロパティのMap(from, to)
- Returns:
- 更新結果
 
- 
getAutoNumberCurrentValueAutoNumberPropertyの現在のカウンター値を返す。- Parameters:
- definitionName- Entity定義名
- propertyName- AutoNumberProperty型プロパティのプロパティ名
- Returns:
- 現在のカウンター値
 
- 
getAutoNumberCurrentValueListList<org.apache.commons.lang3.tuple.Pair<String,Long>> getAutoNumberCurrentValueList(String definitionName, String propertyName) AutoNumberPropertyの現在のカウンター値のリストを返す。- Parameters:
- definitionName- Entity定義名
- propertyName- AutoNumberProperty型プロパティのプロパティ名
- Returns:
- 現在のカウンター値のリスト
 
- 
getAutoNumberCurrentValueAutoNumberPropertyの現在のカウンター値を返す。- Parameters:
- definitionName- Entity定義名
- propertyName- AutoNumberProperty型プロパティのプロパティ名
- subUnitKey- 採番単位のKEY値
- Returns:
- 現在のカウンター値
 
- 
resetAutoNumberCounterAutoNumberPropertyのカウンター値を指定の値にリセットする。- Parameters:
- definitionName- Entity定義名
- propertyName- AutoNumberProperty型プロパティのプロパティ名
- subUnitKey- 採番単位のKEY値
- startsWith- リセットするカウンター値
 
- 
resetAutoNumberCountervoid resetAutoNumberCounter(String definitionName, String propertyName, String subUnitKey, long startsWith) AutoNumberPropertyのカウンター値を指定の値にリセットする。- Parameters:
- definitionName- Entity定義名
- propertyName- AutoNumberProperty型プロパティのプロパティ名
- subUnitKey- 採番単位のKEY値
- startsWith- リセットするカウンター値
 
- 
renameEntityDefinitionEntity定義名を変更する。 データ自体はそのまま保持される。- Parameters:
- from- 変更前の定義名
- to- 変更後の定義名
 
- 
renamePropertyDefinitionEntity定義のプロパティ名を変更する。 データ自体はそのまま保持される。- Parameters:
- definitionName- 対象のEntity定義名
- from- 変更前のプロパティ名
- to- 変更後のプロパティ名
 
- 
getStorageSpaceList現在登録されているEntity Storage Spaceのリストを返す。- Returns:
- Entity Entity Storage Spaceのリスト
 
- 
isLockedSchemaスキーマがロックされているかを返す。 - Parameters:
- definitionName- 対象のEntity定義名
- Returns:
- true:ロック
 
 
-