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
ConstructorsConstructorDescriptionEntityConfigurationLinkBuilder(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 StringDeprecated.protected StringgetIdAsString(EntityConfiguration cfg, Object entity) Deprecated.overview()Deprecated.voidsetAssociationsPath(String associationsPath) Deprecated.voidsetCreatePath(String createPath) Deprecated.voidsetDeletePath(String deletePath) Deprecated.voidsetOverviewPath(String overviewPath) Deprecated.voidsetUpdatePath(String updatePath) Deprecated.voidsetViewPath(String viewPath) Deprecated.voidsetWebAppPathResolver(com.foreach.across.modules.web.context.WebAppPathResolver webAppPathResolver) Deprecated.Set theWebAppPathResolverto 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 theWebAppPathResolverto 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:
overviewin interfaceEntityLinkBuilder- Returns:
- link to the overview/list page
-
create
Deprecated.- Specified by:
createin interfaceEntityLinkBuilder- Returns:
- link to create-new page
-
update
Deprecated.- Specified by:
updatein interfaceEntityLinkBuilder- Parameters:
entity- being updated- Returns:
- link to update page for entity
-
delete
Deprecated.- Specified by:
deletein interfaceEntityLinkBuilder- Parameters:
entity- being deleted- Returns:
- link to delete page for entity
-
view
Deprecated.- Specified by:
viewin interfaceEntityLinkBuilder- Parameters:
entity- being viewed- Returns:
- link to view page for entity
-
associations
Deprecated.- Specified by:
associationsin 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:
asAssociationForin interfaceEntityLinkBuilder
-
EntityViewLinksinstead