Class EntityConfigurationLinkBuilder
java.lang.Object
com.foreach.across.modules.entity.web.EntityConfigurationLinkBuilder
- All Implemented Interfaces:
EntityLinkBuilder
- Direct Known Subclasses:
EntityAssociationLinkBuilder
Deprecated.
Creates links to entity views and standard controllers.
By default crud and list views are included.
-
Constructor Summary
ConstructorDescriptionEntityConfigurationLinkBuilder
(String rootPath, EntityConfiguration entityConfiguration, org.springframework.core.convert.ConversionService conversionService) Deprecated.EntityConfigurationLinkBuilder
(String rootPath, EntityConfiguration entityConfiguration, org.springframework.core.convert.ConversionService conversionService, com.foreach.across.modules.web.context.WebAppPathResolver webAppPathResolver) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionasAssociationFor
(EntityLinkBuilder sourceLinkBuilder, Object sourceEntity) Deprecated.Creates a new link builder that represents the current linkbuilder as an association from a source entity, this will useEntityLinkBuilder.associations(Object)
on the source link builder for prefixing the current link builder.associations
(Object entity) Deprecated.create()
Deprecated.Deprecated.protected String
Deprecated.protected String
getIdAsString
(EntityConfiguration cfg, Object entity) Deprecated.overview()
Deprecated.void
setAssociationsPath
(String associationsPath) Deprecated.void
setCreatePath
(String createPath) Deprecated.void
setDeletePath
(String deletePath) Deprecated.void
setOverviewPath
(String overviewPath) Deprecated.void
setUpdatePath
(String updatePath) Deprecated.void
setViewPath
(String viewPath) Deprecated.void
setWebAppPathResolver
(com.foreach.across.modules.web.context.WebAppPathResolver webAppPathResolver) Deprecated.Set theWebAppPathResolver
to be used for this builder.Deprecated.Deprecated.
-
Constructor Details
-
EntityConfigurationLinkBuilder
public EntityConfigurationLinkBuilder(String rootPath, EntityConfiguration entityConfiguration, org.springframework.core.convert.ConversionService conversionService) Deprecated. -
EntityConfigurationLinkBuilder
public EntityConfigurationLinkBuilder(String rootPath, EntityConfiguration entityConfiguration, org.springframework.core.convert.ConversionService conversionService, com.foreach.across.modules.web.context.WebAppPathResolver webAppPathResolver) Deprecated.
-
-
Method Details
-
setWebAppPathResolver
public void setWebAppPathResolver(com.foreach.across.modules.web.context.WebAppPathResolver webAppPathResolver) Deprecated.Set theWebAppPathResolver
to be used for this builder. All generated links will be passed through this resolver.- Parameters:
webAppPathResolver
- to use, can be null
-
setOverviewPath
Deprecated. -
setCreatePath
Deprecated. -
setViewPath
Deprecated. -
setUpdatePath
Deprecated. -
setDeletePath
Deprecated. -
setAssociationsPath
Deprecated. -
overview
Deprecated.- Specified by:
overview
in interfaceEntityLinkBuilder
- Returns:
- link to the overview/list page
-
create
Deprecated.- Specified by:
create
in interfaceEntityLinkBuilder
- Returns:
- link to create-new page
-
update
Deprecated.- Specified by:
update
in interfaceEntityLinkBuilder
- Parameters:
entity
- being updated- Returns:
- link to update page for entity
-
delete
Deprecated.- Specified by:
delete
in interfaceEntityLinkBuilder
- Parameters:
entity
- being deleted- Returns:
- link to delete page for entity
-
view
Deprecated.- Specified by:
view
in interfaceEntityLinkBuilder
- Parameters:
entity
- being viewed- Returns:
- link to view page for entity
-
associations
Deprecated.- Specified by:
associations
in interfaceEntityLinkBuilder
- Parameters:
entity
- being viewed- Returns:
- base link for associations
-
getIdAsString
Deprecated. -
getEntityConfigurationPath
Deprecated. -
asAssociationFor
Deprecated.Creates a new link builder that represents the current linkbuilder as an association from a source entity, this will useEntityLinkBuilder.associations(Object)
on the source link builder for prefixing the current link builder.- Specified by:
asAssociationFor
in interfaceEntityLinkBuilder
-
EntityViewLinks
instead