クラス RepositoryEntityLinks
java.lang.ObjectSE
org.springframework.hateoas.server.core.AbstractEntityLinks
org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
- 実装されたすべてのインターフェース:
EntityLinks
,org.springframework.plugin.core.Plugin<ClassSE<?>>
- 作成者:
- Jon Brisbin, Oliver Gierke
コンストラクターのサマリー
コンストラクター説明RepositoryEntityLinks
(Repositories repositories, ResourceMappings mappings, RepositoryRestConfiguration config, PagingAndSortingTemplateVariables templateVariables, org.springframework.plugin.core.PluginRegistry<BackendIdConverter, ClassSE<?>> idConverters) RepositoryEntityLinks
(Repositories repositories, ResourceMappings mappings, RepositoryRestConfiguration config, Lazy<PagingAndSortingTemplateVariables> templateVariables, org.springframework.plugin.core.PluginRegistry<BackendIdConverter, ClassSE<?>> idConverters) 方法の概要
修飾子と型メソッド説明linkForItemResource
(ClassSE<?> type, ObjectSE id) linksToSearchResources
(ClassSE<?> type) 指定された型の検索リソースへのすべてのリンクを返します。linksToSearchResources
(ClassSE<?> type, Pageable pageable) 指定された型の検索リソースへのすべてのリンクを返します。該当する場合は、指定されたPageable
で事前に展開されています。linksToSearchResources
(ClassSE<?> type, Sort sort) 指定された型の検索リソースへのすべてのリンクを返します。該当する場合は、指定されたSort
で事前に展開されています。linkToCollectionResource
(ClassSE<?> type) linkToItemResource
(ClassSE<?> type, ObjectSE id) linkToPagedResource
(ClassSE<?> type, Pageable pageable) 指定された型のページ化されたコレクションリソースへのリンクを返し、事前に展開しますlinkToSearchResource
(ClassSE<?> domainType, LinkRelation relation) 指定された型の指定されたLinkRelation
を使用して検索リソースへのリンクを作成します。linkToSearchResource
(ClassSE<?> domainType, LinkRelation relation, Pageable pageable) 指定された型の指定されたLinkRelation
を使用して検索リソースへのリンクを作成します。linkToSearchResource
(ClassSE<?> domainType, LinkRelation relation, Sort sort) 指定された型の指定されたLinkRelation
を使用して検索リソースへのリンクを作成します。boolean
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.hateoas.server.EntityLinks から継承されたメソッド
forType, forType, linkForItemResource, linkToItemResource
コンストラクターの詳細
RepositoryEntityLinks
public RepositoryEntityLinks(Repositories repositories, ResourceMappings mappings, RepositoryRestConfiguration config, PagingAndSortingTemplateVariables templateVariables, org.springframework.plugin.core.PluginRegistry<BackendIdConverter, ClassSE<?>> idConverters) RepositoryEntityLinks
public RepositoryEntityLinks(Repositories repositories, ResourceMappings mappings, RepositoryRestConfiguration config, Lazy<PagingAndSortingTemplateVariables> templateVariables, org.springframework.plugin.core.PluginRegistry<BackendIdConverter, ClassSE<?>> idConverters)
メソッドの詳細
supports
linkFor
linkFor
linkToPagedResource
指定された型のページ化されたコレクションリソースへのリンクを返し、事前に展開します- パラメーター:
type
- null であってはなりません。pageable
- ページング可能 to は null にすることができます。- 戻り値:
linkToCollectionResource
linkToItemResource
linkForItemResource
- 次で指定:
- インターフェース
EntityLinks
のlinkForItemResource
- オーバーライド:
- クラス
AbstractEntityLinks
のlinkForItemResource
linksToSearchResources
指定された型の検索リソースへのすべてのリンクを返します。- パラメーター:
type
- null であってはなりません。- 戻り値:
- 導入:
- 2.3
linksToSearchResources
指定された型の検索リソースへのすべてのリンクを返します。該当する場合は、指定されたPageable
で事前に展開されています。- パラメーター:
type
- null であってはなりません。pageable
- null でもかまいません。- 戻り値:
- 導入:
- 2.3
linksToSearchResources
指定された型の検索リソースへのすべてのリンクを返します。該当する場合は、指定されたSort
で事前に展開されています。- パラメーター:
type
- null であってはなりません。sort
- null でもかまいません。- 戻り値:
- 導入:
- 2.3
linkToSearchResource
指定された型の指定されたLinkRelation
を使用して検索リソースへのリンクを作成します。- パラメーター:
domainType
- null であってはなりません。relation
- null であってはなりません。- 戻り値:
- 導入:
- 2.3
linkToSearchResource
指定された型の指定されたLinkRelation
を使用して検索リソースへのリンクを作成します。指定されたPageable
を使用して、使用可能なテンプレート変数を事前に展開します。- パラメーター:
domainType
- null であってはなりません。relation
- null であってはなりません。pageable
- null でもかまいません。- 戻り値:
- 導入:
- 2.3
linkToSearchResource
指定された型の指定されたLinkRelation
を使用して検索リソースへのリンクを作成します。指定されたSort
を使用して、使用可能なテンプレート変数を事前に展開します。- パラメーター:
domainType
- null であってはなりません。relation
- null であってはなりません。sort
- null でもかまいません。- 戻り値:
- 導入:
- 2.3