public interface SubjectManager
SubjectManagerFactory
クラスから取得してください。final SubjectManager manager = SubjectManagerFactory.getInstance().getSubjectManager();
修飾子とタイプ | メソッドと説明 |
---|---|
int |
countRegisteredSubjectGroups()
全てのサブジェクトグループの件数を取得します。
|
int |
countSubjectGroupsByName(String keyword)
指定した検索条件で設定されている全てのサブジェクトグループの件数を取得します。
|
int |
countSubjectGroupsByName(String keyword,
Locale locale)
指定した検索条件で設定されている全てのサブジェクトグループの件数を取得します。
|
int |
countSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds,
String keyword)
指定した検索条件で設定されている全てのサブジェクトグループの件数を取得します。
|
int |
countSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds,
String keyword,
Locale locale)
指定した検索条件で設定されている全てのサブジェクトグループの件数を取得します。
|
int |
countSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes,
String keyword)
指定した検索条件で設定されている全てのサブジェクトグループの件数を取得します。
|
int |
countSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes,
String keyword,
Locale locale)
指定した検索条件で設定されている全てのサブジェクトグループの件数を取得します。
|
int |
countSubjectGroupsByTypeIds(List<String> subjectTypeIds)
指定した検索条件で設定されている全てのサブジェクトグループの件数を取得します。
|
int |
countSubjectGroupsByTypes(List<SubjectType<?>> subjectTypes)
指定した検索条件で設定されている全てのサブジェクトグループの件数を取得します。
|
SubjectGroup |
getAuthenticatedUsers()
認証済みユーザを表すサブジェクトグループを取得します。
|
SubjectGroupCategory |
getCategoryOfSubjectGroup(String subjectGroupId)
指定したサブジェクトグループが所属しているサブジェクトグループカテゴリを取得します。
|
SubjectGroupCategory |
getCategoryOfSubjectGroup(SubjectGroup subjectGroup)
指定したサブジェクトグループが所属しているサブジェクトグループカテゴリを取得します。
|
SubjectGroup |
getGuestSubjectGroup()
未認証ユーザを表すサブジェクトグループを取得します。
|
List<Subject> |
getMemberSubjects(String subjectGroupId)
指定したサブジェクトグループのサブジェクト式に含まれる全てのサブジェクトの一覧を取得します。
|
List<Subject> |
getMemberSubjects(SubjectGroup subjectGroup)
指定したサブジェクトグループのサブジェクト式に含まれる全てのサブジェクトの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getRegisteredSubjectGroups()
全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getRegisteredSubjectGroups(int offset,
int length)
全てのサブジェクトグループの一覧を取得します。
|
Subject |
getSubject(String subjectId)
サブジェクトを取得します。
|
SubjectGroup |
getSubjectGroup(String subjectGroupId)
サブジェクトグループを取得します。
|
SubjectGroup |
getSubjectGroupByExpression(Expression e)
指定したサブジェクト式に一致するサブジェクトグループを取得します。
|
List<SubjectGroupCategory> |
getSubjectGroupCategories()
全てのサブジェクトグループカテゴリの一覧を取得します。
|
List<SubjectGroupCategory> |
getSubjectGroupCategories(int offset,
int length)
全てのサブジェクトグループカテゴリの一覧を取得します。
|
SubjectGroupCategory |
getSubjectGroupCategory(String subjectCategoryId)
サブジェクトグループカテゴリを取得します。
|
I18nValue<String> |
getSubjectGroupDescriptions(String subjectGroupId)
サブジェクトグループの説明を取得します。
|
I18nValue<String> |
getSubjectGroupNames(String subjectGroupId)
サブジェクトグループの名称を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByName(String keyword)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByName(String keyword,
int offset,
int length)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByName(String keyword,
Locale locale)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByName(String keyword,
Locale locale,
int offset,
int length)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds,
String keyword)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds,
String keyword,
int offset,
int length)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds,
String keyword,
Locale locale)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds,
String keyword,
Locale locale,
int offset,
int length)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes,
String keyword)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes,
String keyword,
int offset,
int length)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes,
String keyword,
Locale locale)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes,
String keyword,
Locale locale,
int offset,
int length)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByTypeIds(List<String> subjectTypeIds)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByTypeIds(List<String> subjectTypeIds,
int offset,
int length)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByTypes(List<SubjectType<?>> subjectTypes)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsByTypes(List<SubjectType<?>> subjectTypes,
int offset,
int length)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsOfCategory(String subjectCategoryId)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsOfCategory(String subjectCategoryId,
int offset,
int length)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsOfCategory(SubjectGroupCategory subjectCategory)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
List<CategorizedSubjectGroup> |
getSubjectGroupsOfCategory(SubjectGroupCategory subjectCategory,
int offset,
int length)
指定した検索条件で設定されている全てのサブジェクトグループの一覧を取得します。
|
SubjectType<?> |
getSubjectType(String subjectTypeId)
サブジェクトタイプID からサブジェクトタイプを取得します。
|
<T> Subject |
registerAsSubject(String subjectTypeId,
Object... keys)
サブジェクトを登録します。
|
<T> Subject |
registerAsSubject(T model)
サブジェクトを登録します。
|
SubjectGroup |
registerSubjectGroup(Expression e,
I18nValue<String> displayName)
サブジェクトグループを登録します。
|
SubjectGroup |
registerSubjectGroup(Expression e,
I18nValue<String> displayName,
I18nValue<String> description)
サブジェクトグループを登録します。
|
void |
removeSubject(Subject subject)
サブジェクトを削除します。
|
void |
removeSubjectGroup(SubjectGroup subjectGroup)
サブジェクトグループを削除します。
|
Set<String> |
resolveSubjectGroupIdsFromSubjectIds(Set<String> subjectIds)
指定したサブジェクトからサブジェクトグループの一覧を取得します。
|
void |
setSubjectGroupCategory(SubjectGroupCategory subjectCategory)
サブジェクトグループカテゴリを更新します。
|
void |
setSubjectGroupCategoryAttach(String subjectGroupId,
String subjectCategoryId,
int sortkey)
指定したサブジェクトグループをサブジェクトグループカテゴリに所属させます。
|
void |
setSubjectGroupCategoryAttach(SubjectGroup subjectGroup,
SubjectGroupCategory subjectCategory,
int sortkey)
指定したサブジェクトグループをサブジェクトグループカテゴリに所属させます。
|
void |
setSubjectGroupDescriptions(String subjectGroupId,
I18nValue<String> description)
サブジェクトグループの説明を更新します。
|
void |
setSubjectGroupNames(String subjectGroupId,
I18nValue<String> displayName)
サブジェクトグループの名称を更新します。
|
int countRegisteredSubjectGroups()
int countSubjectGroupsByName(String keyword)
keyword
- キーワードint countSubjectGroupsByName(String keyword, Locale locale)
keyword
- キーワードlocale
- ロケールint countSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds, String keyword)
subjectTypeIds
- サブジェクトタイプID の一覧keyword
- キーワードint countSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds, String keyword, Locale locale)
subjectTypeIds
- サブジェクトタイプID の一覧keyword
- キーワードlocale
- ロケールint countSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes, String keyword)
subjectTypes
- サブジェクトタイプの一覧keyword
- キーワードint countSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes, String keyword, Locale locale)
subjectTypes
- サブジェクトタイプの一覧keyword
- キーワードlocale
- ロケールint countSubjectGroupsByTypeIds(List<String> subjectTypeIds)
subjectTypeIds
- サブジェクトタイプID の一覧int countSubjectGroupsByTypes(List<SubjectType<?>> subjectTypes)
subjectTypes
- サブジェクトタイプの一覧SubjectGroup getAuthenticatedUsers()
getGuestSubjectGroup()
SubjectGroupCategory getCategoryOfSubjectGroup(String subjectGroupId)
subjectGroupId
- サブジェクトグループIDSubjectGroupCategory getCategoryOfSubjectGroup(SubjectGroup subjectGroup)
subjectGroup
- サブジェクトグループSubjectGroup getGuestSubjectGroup()
getAuthenticatedUsers()
List<Subject> getMemberSubjects(String subjectGroupId)
subjectGroupId
- サブジェクトグループIDList<Subject> getMemberSubjects(SubjectGroup subjectGroup)
subjectGroup
- サブジェクトグループList<CategorizedSubjectGroup> getRegisteredSubjectGroups()
List<CategorizedSubjectGroup> getRegisteredSubjectGroups(int offset, int length)
offset
- 取得開始位置length
- 取得件数Subject getSubject(String subjectId)
subjectId
- サブジェクトIDSubjectGroup getSubjectGroup(String subjectGroupId)
subjectGroupId
- サブジェクトグループIDSubjectGroup getSubjectGroupByExpression(Expression e)
e
- サブジェクト式List<SubjectGroupCategory> getSubjectGroupCategories()
List<SubjectGroupCategory> getSubjectGroupCategories(int offset, int length)
offset
- 取得開始位置length
- 取得件数SubjectGroupCategory getSubjectGroupCategory(String subjectCategoryId)
subjectCategoryId
- サブジェクトグループカテゴリIDI18nValue<String> getSubjectGroupDescriptions(String subjectGroupId)
subjectGroupId
- サブジェクトグループIDI18nValue<String> getSubjectGroupNames(String subjectGroupId)
subjectGroupId
- サブジェクトグループIDList<CategorizedSubjectGroup> getSubjectGroupsByName(String keyword)
keyword
- キーワードList<CategorizedSubjectGroup> getSubjectGroupsByName(String keyword, int offset, int length)
keyword
- キーワードoffset
- 取得開始位置length
- 取得件数List<CategorizedSubjectGroup> getSubjectGroupsByName(String keyword, Locale locale)
keyword
- キーワードlocale
- ロケールList<CategorizedSubjectGroup> getSubjectGroupsByName(String keyword, Locale locale, int offset, int length)
keyword
- キーワードlocale
- ロケールoffset
- 取得開始位置length
- 取得件数List<CategorizedSubjectGroup> getSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds, String keyword)
subjectTypeIds
- サブジェクトタイプID の一覧keyword
- キーワードList<CategorizedSubjectGroup> getSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds, String keyword, int offset, int length)
subjectTypeIds
- サブジェクトタイプID の一覧keyword
- キーワードoffset
- 取得開始位置length
- 取得件数List<CategorizedSubjectGroup> getSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds, String keyword, Locale locale)
subjectTypeIds
- サブジェクトタイプID の一覧keyword
- キーワードlocale
- ロケールList<CategorizedSubjectGroup> getSubjectGroupsByNameAndTypeIds(List<String> subjectTypeIds, String keyword, Locale locale, int offset, int length)
subjectTypeIds
- サブジェクトタイプID の一覧keyword
- キーワードlocale
- ロケールoffset
- 取得開始位置length
- 取得件数List<CategorizedSubjectGroup> getSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes, String keyword)
subjectTypes
- サブジェクトタイプの一覧keyword
- キーワードList<CategorizedSubjectGroup> getSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes, String keyword, int offset, int length)
subjectTypes
- サブジェクトタイプの一覧keyword
- キーワードoffset
- 取得開始位置length
- 取得件数List<CategorizedSubjectGroup> getSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes, String keyword, Locale locale)
subjectTypes
- サブジェクトタイプの一覧keyword
- キーワードlocale
- ロケールList<CategorizedSubjectGroup> getSubjectGroupsByNameAndTypes(List<SubjectType<?>> subjectTypes, String keyword, Locale locale, int offset, int length)
subjectTypes
- サブジェクトタイプの一覧keyword
- キーワードlocale
- ロケールoffset
- 取得開始位置length
- 取得件数List<CategorizedSubjectGroup> getSubjectGroupsByTypeIds(List<String> subjectTypeIds)
subjectTypeIds
- サブジェクトタイプID の一覧List<CategorizedSubjectGroup> getSubjectGroupsByTypeIds(List<String> subjectTypeIds, int offset, int length)
subjectTypeIds
- サブジェクトタイプID の一覧offset
- 取得開始位置length
- 取得件数List<CategorizedSubjectGroup> getSubjectGroupsByTypes(List<SubjectType<?>> subjectTypes)
subjectTypes
- サブジェクトタイプの一覧List<CategorizedSubjectGroup> getSubjectGroupsByTypes(List<SubjectType<?>> subjectTypes, int offset, int length)
subjectTypes
- サブジェクトタイプの一覧offset
- 取得開始位置length
- 取得件数List<CategorizedSubjectGroup> getSubjectGroupsOfCategory(String subjectCategoryId)
subjectCategoryId
- サブジェクトグループカテゴリIDList<CategorizedSubjectGroup> getSubjectGroupsOfCategory(String subjectCategoryId, int offset, int length)
subjectCategoryId
- サブジェクトグループカテゴリIDoffset
- 取得開始位置length
- 取得件数List<CategorizedSubjectGroup> getSubjectGroupsOfCategory(SubjectGroupCategory subjectCategory)
subjectCategory
- サブジェクトグループカテゴリList<CategorizedSubjectGroup> getSubjectGroupsOfCategory(SubjectGroupCategory subjectCategory, int offset, int length)
subjectCategory
- サブジェクトグループカテゴリoffset
- 取得開始位置length
- 取得件数SubjectType<?> getSubjectType(String subjectTypeId)
subjectTypeId
- サブジェクトタイプID<T> Subject registerAsSubject(String subjectTypeId, Object... keys)
T
- サブジェクトの実体を表すクラスタイプsubjectTypeId
- サブジェクトタイプIDkeys
- 特定のモデルを表すキー値<T> Subject registerAsSubject(T model)
T
- サブジェクトの実体を表すクラスタイプmodel
- サブジェクトの実体を表すモデルSubjectGroup registerSubjectGroup(Expression e, I18nValue<String> displayName)
e
- サブジェクト式displayName
- 名称SubjectGroup registerSubjectGroup(Expression e, I18nValue<String> displayName, I18nValue<String> description)
e
- サブジェクト式displayName
- 名称description
- 説明void removeSubject(Subject subject) throws SubjectManagingException
subject
- サブジェクトSubjectManagingException
- 削除処理に問題が発生した場合void removeSubjectGroup(SubjectGroup subjectGroup) throws SubjectManagingException
subjectGroup
- サブジェクトグループSubjectManagingException
- 削除処理に問題が発生した場合Set<String> resolveSubjectGroupIdsFromSubjectIds(Set<String> subjectIds)
subjectIds
- サブジェクトID の一覧void setSubjectGroupCategory(SubjectGroupCategory subjectCategory)
subjectCategory
- サブジェクトグループカテゴリvoid setSubjectGroupCategoryAttach(String subjectGroupId, String subjectCategoryId, int sortkey)
subjectGroupId
- サブジェクトグループIDsubjectCategoryId
- サブジェクトグループカテゴリIDsortkey
- ソートキーvoid setSubjectGroupCategoryAttach(SubjectGroup subjectGroup, SubjectGroupCategory subjectCategory, int sortkey)
subjectGroup
- サブジェクトグループsubjectCategory
- サブジェクトグループカテゴリsortkey
- ソートキーvoid setSubjectGroupDescriptions(String subjectGroupId, I18nValue<String> description)
subjectGroupId
- サブジェクトグループIDdescription
- 説明Copyright © 2012 NTT DATA INTRAMART CORPORATION