Uses of Interface
org.broadleafcommerce.common.site.domain.Site
Packages that use Site
Package
Description
-
Uses of Site in org.broadleafcommerce.cms.url.service
Methods in org.broadleafcommerce.cms.url.service with parameters of type SiteModifier and TypeMethodDescriptionURLHandlerService.buildURLHandlerCacheKey(Site site, String requestUri) URLHandlerServiceImpl.buildURLHandlerCacheKey(Site site, String requestUri) -
Uses of Site in org.broadleafcommerce.common.copy
Fields in org.broadleafcommerce.common.copy declared as SiteModifier and TypeFieldDescriptionprotected SiteMultiTenantCopyContext.fromSiteprotected SiteMultiTenantCopyContext.toSiteMethods in org.broadleafcommerce.common.copy that return SiteModifier and TypeMethodDescriptionMultiTenantCopyContext.getFromSite()MultiTenantCopyContext.getToSite()Methods in org.broadleafcommerce.common.copy with parameters of type SiteModifier and TypeMethodDescriptionprotected <T extends MultiTenantCloneable>
voidMultiTenantCopier.copyEntitiesOfType(Class<T> clazz, Site fromSite, Catalog fromCatalog, MultiTenantCopyContext context) Subclasses will generally call this method in theirMultiTenantCopier.copyEntities(MultiTenantCopyContext)implementation.protected <T> List<T>Returns a list of all entities in the system for the given class, site, and catalog.protected <T> List<T>MultiTenantCopier.readAllIds(Class<?> clazz, Site site, Catalog catalog) Returns the primary key values for all entities of the specified type in the site or catalog.protected <T> LongReturns the count of the given entity class for the specified site and catalogConstructors in org.broadleafcommerce.common.copy with parameters of type SiteModifierConstructorDescriptionMultiTenantCopyContext(Catalog fromCatalog, Catalog toCatalog, Site fromSite, Site toSite, GenericEntityService genericEntityService, MultiTenantCopierExtensionManager extensionManager) -
Uses of Site in org.broadleafcommerce.common.entity.service
Methods in org.broadleafcommerce.common.entity.service that return SiteModifier and TypeMethodDescriptionEntityInformationService.getParentSiteForProfile(Site profile) Given a profileSiteobject, returns the parent site, if one exists.EntityInformationServiceImpl.getParentSiteForProfile(Site profile) Methods in org.broadleafcommerce.common.entity.service with parameters of type SiteModifier and TypeMethodDescriptionAbstractEntityInformationServiceExtensionHandler.getBaseProfileIdForSite(Site site, ExtensionResultHolder<Long> erh) EntityInformationService.getBaseProfileIdForSite(Site site) Given a Site object, returns the Base Profile Id if one exists.EntityInformationServiceExtensionHandler.getBaseProfileIdForSite(Site site, ExtensionResultHolder<Long> erh) Handler implementations will populate theExtensionResultHolderwith a valid base profile id if one exists for the siteEntityInformationServiceExtensionManager.getBaseProfileIdForSite(Site site, ExtensionResultHolder<Long> erh) EntityInformationServiceImpl.getBaseProfileIdForSite(Site site) AbstractEntityInformationServiceExtensionHandler.getChildSiteIdsForProfile(Site profile, ExtensionResultHolder<Set<Long>> erh) EntityInformationService.getChildSiteIdsForProfile(Site profile) EntityInformationServiceExtensionHandler.getChildSiteIdsForProfile(Site profile, ExtensionResultHolder<Set<Long>> erh) Handler implementations will populate theExtensionResultHolderwith a valid child site ids whose base profile is the given profileEntityInformationServiceExtensionManager.getChildSiteIdsForProfile(Site profile, ExtensionResultHolder<Set<Long>> erh) EntityInformationServiceImpl.getChildSiteIdsForProfile(Site profile) AbstractEntityInformationServiceExtensionHandler.getDefaultCatalogIdForSite(Site site, ExtensionResultHolder<Long> erh) EntityInformationService.getDefaultCatalogIdForSite(Site site) Given a Site object, returns the default catalog id.EntityInformationServiceExtensionHandler.getDefaultCatalogIdForSite(Site site, ExtensionResultHolder<Long> erh) Handler implementations will populate theExtensionResultHolderwith a valid default catalog id for the siteEntityInformationServiceExtensionManager.getDefaultCatalogIdForSite(Site site, ExtensionResultHolder<Long> erh) EntityInformationServiceImpl.getDefaultCatalogIdForSite(Site site) AbstractEntityInformationServiceExtensionHandler.getParentSiteForProfile(Site profile, ExtensionResultHolder<Site> erh) EntityInformationService.getParentSiteForProfile(Site profile) Given a profileSiteobject, returns the parent site, if one exists.EntityInformationServiceExtensionHandler.getParentSiteForProfile(Site profile, ExtensionResultHolder<Site> erh) Handler implementations will popoulate theExtensionResultHolderwith a valid parent site if one exists for the profileEntityInformationServiceExtensionManager.getParentSiteForProfile(Site profile, ExtensionResultHolder<Site> erh) EntityInformationServiceImpl.getParentSiteForProfile(Site profile) AbstractEntityInformationServiceExtensionHandler.getTypeForSite(Site site, ExtensionResultHolder<String> erh) EntityInformationService.getTypeForSite(Site site) EntityInformationServiceExtensionHandler.getTypeForSite(Site site, ExtensionResultHolder<String> erh) EntityInformationServiceExtensionManager.getTypeForSite(Site site, ExtensionResultHolder<String> erh) EntityInformationServiceImpl.getTypeForSite(Site site) Method parameters in org.broadleafcommerce.common.entity.service with type arguments of type SiteModifier and TypeMethodDescriptionAbstractEntityInformationServiceExtensionHandler.getParentSiteForProfile(Site profile, ExtensionResultHolder<Site> erh) EntityInformationServiceExtensionHandler.getParentSiteForProfile(Site profile, ExtensionResultHolder<Site> erh) Handler implementations will popoulate theExtensionResultHolderwith a valid parent site if one exists for the profileEntityInformationServiceExtensionManager.getParentSiteForProfile(Site profile, ExtensionResultHolder<Site> erh) -
Uses of Site in org.broadleafcommerce.common.event
Methods in org.broadleafcommerce.common.event that return Site -
Uses of Site in org.broadleafcommerce.common.file.service
Methods in org.broadleafcommerce.common.file.service with parameters of type SiteModifier and TypeMethodDescriptionBroadleafStaticAssetExtensionHandler.removeShareOptionsForMTStandardSite(org.springframework.ui.Model model, Site currentSite) BroadleafFileServiceExtensionHandler.retrieveAllParentSitesIds(Site site, ExtensionResultHolder<List<String>> holder) -
Uses of Site in org.broadleafcommerce.common.security
Methods in org.broadleafcommerce.common.security that return SiteMethods in org.broadleafcommerce.common.security with parameters of type Site -
Uses of Site in org.broadleafcommerce.common.site.dao
Methods in org.broadleafcommerce.common.site.dao that return SiteModifier and TypeMethodDescriptionSiteDao.create()Creates an instance of Site based on the class matching the bean id of "org.broadleafcommerce.common.site.domain.Site"SiteDaoImpl.create()Finds a site by its id.SiteDao.retrieveDefaultSite()Returns a default site.SiteDaoImpl.retrieveDefaultSite()SiteDao.retrieveSiteByDomainOrDomainPrefix(String domain, String prefix) Finds a site by its domain or domain prefix.SiteDaoImpl.retrieveSiteByDomainOrDomainPrefix(String domain, String domainPrefix) SiteDao.retrieveSiteByIdentifier(String identifier) Finds a site by itsgetSiteIdentifierValue().SiteDaoImpl.retrieveSiteByIdentifier(String identifier) Persists the site changes.Methods in org.broadleafcommerce.common.site.dao that return types with arguments of type SiteModifier and TypeMethodDescriptionSiteDao.readAllActiveSites()SiteDaoImpl.readAllActiveSites()SiteDaoImpl.retrieveSitesByPotentialIdentifiers(String... potentialIdentifiers) Methods in org.broadleafcommerce.common.site.dao with parameters of type Site -
Uses of Site in org.broadleafcommerce.common.site.domain
Classes in org.broadleafcommerce.common.site.domain that implement SiteFields in org.broadleafcommerce.common.site.domain declared as SiteFields in org.broadleafcommerce.common.site.domain with type parameters of type SiteMethods in org.broadleafcommerce.common.site.domain that return SiteModifier and TypeMethodDescriptionSite.clone()Retrieve an deep copy of this site.SiteImpl.clone()SiteCatalogXref.getSite()SiteCatalogXrefImpl.getSite()Methods in org.broadleafcommerce.common.site.domain that return types with arguments of type SiteMethods in org.broadleafcommerce.common.site.domain with parameters of type SiteMethod parameters in org.broadleafcommerce.common.site.domain with type arguments of type Site -
Uses of Site in org.broadleafcommerce.common.site.service
Fields in org.broadleafcommerce.common.site.service with type parameters of type SiteMethods in org.broadleafcommerce.common.site.service that return SiteModifier and TypeMethodDescriptionSiteService.createSite()Creates an instance of Site.SiteServiceImpl.createSite()protected SiteSiteServiceImpl.getNonPersistentSite(Site persistentSite) SiteService.retrieveDefaultSite()Deprecated.SiteServiceImpl.retrieveDefaultSite()Deprecated.protected SiteSiteServiceImpl.retrieveDefaultSite(boolean persistentResult) SiteService.retrieveNonPersistentDefaultSite()Retrieves the non-persistent version of the default siteSiteServiceImpl.retrieveNonPersistentDefaultSite()SiteService.retrieveNonPersistentSiteByDomainName(String domain) Finds a site by the given domain name and returns a non-persistent versionSiteServiceImpl.retrieveNonPersistentSiteByDomainName(String domainName) SiteService.retrieveNonPersistentSiteById(Long id) Retrieves a site by its primary key disconnected from a Hibernate sessionSiteServiceImpl.retrieveNonPersistentSiteById(Long id) SiteService.retrieveNonPersistentSiteByIdentifer(String identifier) Finds a site by itsgetSiteIdentifierValue()and return an entity that is not attached to the Hibernate sessionSiteServiceImpl.retrieveNonPersistentSiteByIdentifer(String identifier) SiteService.retrievePersistentDefaultSite()Retrieves the default site attached to a Hibernate sessionSiteServiceImpl.retrievePersistentDefaultSite()SiteService.retrievePersistentSiteByDomainName(String domain) Finds a site by the domain name which is still attached to a Hibernate sessionSiteServiceImpl.retrievePersistentSiteByDomainName(String domainName) SiteService.retrievePersistentSiteById(Long id) Retrieves a site by its primary key whose return value is still attached to a Hibernate sessionSiteServiceImpl.retrievePersistentSiteById(Long id) SiteService.retrievePersistentSiteByIdentifier(String identifier) Finds a site by itsgetSiteIdentifierValue()SiteServiceImpl.retrievePersistentSiteByIdentifier(String identifier) SiteService.retrieveSiteByDomainName(String domain) Deprecated.SiteServiceImpl.retrieveSiteByDomainName(String domainName) Deprecated.SiteServiceImpl.retrieveSiteByDomainName(String domainName, boolean persistentResult) SiteService.retrieveSiteById(Long id) Deprecated.useSiteService.retrieveNonPersistentSiteById(Long)insteadSiteServiceImpl.retrieveSiteById(Long id) Deprecated.protected SiteSiteServiceImpl.retrieveSiteById(Long id, boolean persistentResult) protected SiteSiteServiceImpl.retrieveSiteByIdentifier(String identifier, boolean persistentResult) Deprecated.useSiteService.saveAndReturnNonPersisted(Site)insteadDeprecated.SiteService.saveAndReturnNonPersisted(Site site) Save updates to a site and returns a non-persistent instanceSiteServiceImpl.saveAndReturnNonPersisted(Site site) SiteService.saveAndReturnPersisted(Site site) Save updates to a site and return the persistent instance attached to a Hibernate sessionSiteServiceImpl.saveAndReturnPersisted(Site site) Methods in org.broadleafcommerce.common.site.service that return types with arguments of type SiteModifier and TypeMethodDescriptionSiteService.findAllActiveSites()Deprecated.useSiteService.findAllNonPersistentActiveSites()insteadSiteServiceImpl.findAllActiveSites()Deprecated.SiteService.findAllNonPersistentActiveSites()Returns all of the active sites in the system and does not attach them to a Hibernate sessionSiteServiceImpl.findAllNonPersistentActiveSites()SiteService.findAllPersistentActiveSites()Returns all of the active sites in the system that are still attached to a Hibernate sessionSiteServiceImpl.findAllPersistentActiveSites()SiteServiceImpl.findAllSites(boolean persistentResult) NonPersistentSiteThreadLocalCache.getSites()Methods in org.broadleafcommerce.common.site.service with parameters of type SiteModifier and TypeMethodDescriptionAbstractSiteServiceExtensionHandler.contributeNonPersitentSiteProperties(Site from, Site to) SiteServiceExtensionHandler.contributeNonPersitentSiteProperties(Site from, Site to) Invoked viaSiteServiceImpl.getNonPersistentSite(Site)after the initial framework clone.protected SiteSiteServiceImpl.getNonPersistentSite(Site persistentSite) Deprecated.useSiteService.saveAndReturnNonPersisted(Site)insteadDeprecated.SiteService.saveAndReturnNonPersisted(Site site) Save updates to a site and returns a non-persistent instanceSiteServiceImpl.saveAndReturnNonPersisted(Site site) SiteService.saveAndReturnPersisted(Site site) Save updates to a site and return the persistent instance attached to a Hibernate sessionSiteServiceImpl.saveAndReturnPersisted(Site site) Method parameters in org.broadleafcommerce.common.site.service with type arguments of type Site -
Uses of Site in org.broadleafcommerce.common.site.service.provider
Methods in org.broadleafcommerce.common.site.service.provider with parameters of type Site -
Uses of Site in org.broadleafcommerce.common.util.tenant
Fields in org.broadleafcommerce.common.util.tenant declared as SiteMethods in org.broadleafcommerce.common.util.tenant that return SiteMethods in org.broadleafcommerce.common.util.tenant with parameters of type SiteModifier and TypeMethodDescriptionstatic <T,G extends Throwable>
TIdentityExecutionUtils.runOperationByIdentifier(IdentityOperation<T, G> operation, Site site) static <T,G extends Throwable>
TIdentityExecutionUtils.runOperationByIdentifier(IdentityOperation<T, G> operation, Site site, Catalog catalog) static <T,G extends Throwable>
TIdentityExecutionUtils.runOperationByIdentifier(IdentityOperation<T, G> operation, Site site, Site profile) static <T,G extends Throwable>
TIdentityExecutionUtils.runOperationByIdentifier(IdentityOperation<T, G> operation, Site site, Site profile, Catalog catalog) static <T,G extends Throwable>
TIdentityExecutionUtils.runOperationByIdentifier(IdentityOperation<T, G> operation, Site site, Site profile, Catalog catalog, org.springframework.transaction.PlatformTransactionManager transactionManager) voidIdentityUtilContext.setIdentifier(Site identifier) -
Uses of Site in org.broadleafcommerce.common.web
Fields in org.broadleafcommerce.common.web declared as SiteModifier and TypeFieldDescriptionprotected SiteBroadleafRequestContext.currentProfileprotected SiteBroadleafRequestContext.siteMethods in org.broadleafcommerce.common.web that return SiteModifier and TypeMethodDescriptionBroadleafRequestContext.getCurrentProfile()BroadleafRequestContext.getNonPersistentSite()BroadleafRequestContext.getSite()Deprecated.this has been changed toBroadleafRequestContext.getNonPersistentSite()to explicitly indicate that the site being returned is not attached to a Hibernate sessionBroadleafSiteResolver.resolveSite(jakarta.servlet.http.HttpServletRequest request) Deprecated.UseBroadleafSiteResolver.resolveSite(WebRequest)insteadBroadleafSiteResolver.resolveSite(org.springframework.web.context.request.WebRequest request) BroadleafSiteResolver.resolveSite(org.springframework.web.context.request.WebRequest request, boolean allowNullSite) Resolves a site for the given WebRequest.NullBroadleafSiteResolver.resolveSite(jakarta.servlet.http.HttpServletRequest request) NullBroadleafSiteResolver.resolveSite(org.springframework.web.context.request.WebRequest request) NullBroadleafSiteResolver.resolveSite(org.springframework.web.context.request.WebRequest request, boolean allowNullSite) Methods in org.broadleafcommerce.common.web with parameters of type SiteModifier and TypeMethodDescriptionBroadleafSandBoxResolver.resolveSandBox(jakarta.servlet.http.HttpServletRequest request, Site site) Deprecated.BroadleafSandBoxResolver.resolveSandBox(org.springframework.web.context.request.WebRequest request, Site site) Resolve the sandbox for the given site and requestBroadleafSandBoxResolverImpl.resolveSandBox(jakarta.servlet.http.HttpServletRequest request, Site site) Determines the current sandbox based on other parameters on the request such as the blSandBoxId parameters.BroadleafSandBoxResolverImpl.resolveSandBox(org.springframework.web.context.request.WebRequest request, Site site) BroadleafThemeResolver.resolveTheme(jakarta.servlet.http.HttpServletRequest request, Site site) Deprecated.UseBroadleafThemeResolver.resolveTheme(WebRequest)insteadNullBroadleafThemeResolver.resolveTheme(jakarta.servlet.http.HttpServletRequest request, Site site) voidBroadleafRequestContext.setCurrentProfile(Site currentProfile) voidBroadleafRequestContext.setNonPersistentSite(Site site) voidDeprecated.this has been changed to#setNonPersistentSite()to explicitly indicate that the site being set is not attached to an active Hibernate session -
Uses of Site in org.broadleafcommerce.common.web.expression
Methods in org.broadleafcommerce.common.web.expression that return SiteModifier and TypeMethodDescriptionBRCVariableExpression.getCurrentProfile()BRCVariableExpression.getSite() -
Uses of Site in org.broadleafcommerce.core.search.service.solr
Methods in org.broadleafcommerce.core.search.service.solr with parameters of type SiteModifier and TypeMethodDescriptionprotected StringSolrConfiguration.getSiteAliasName(Site site) protected StringSolrConfiguration.getSiteCollectionName(Site site) protected StringSolrConfiguration.getSiteReindexAliasName(Site site) protected StringSolrConfiguration.getSiteReindexCollectionName(Site site) -
Uses of Site in org.broadleafcommerce.core.search.service.solr.indexer
Methods in org.broadleafcommerce.core.search.service.solr.indexer that return SiteMethods in org.broadleafcommerce.core.search.service.solr.indexer with parameters of type SiteModifier and TypeMethodDescriptionprotected voidCatalogSolrIndexUpdateCommandHandlerImpl.afterBackgroundThread(ReindexStateHolder holder, Catalog catalog, Site site, SandBox sandBox) This executes after to the main execution of the background (page) thread(s).protected voidCatalogSolrIndexUpdateCommandHandlerImpl.beforeBackgroundThread(ReindexStateHolder holder, Catalog catalog, Site site, SandBox sandBox) The reindex process, specifically page processing, is executed in background threads.protected voidCatalogSolrIndexUpdateCommandHandlerImpl.buildIncrementalIndex(List<Long> productIds, List<Product> products, ReindexStateHolder holder, Catalog catalog, Site site) Builds an incremental or batch portion of the index.protected IdentityOperation<Void,Exception> CatalogSolrIndexUpdateCommandHandlerImpl.getIncrementalIndexOperation(ReindexStateHolder holder, Catalog catalog, Site site, List<Long> ids) Returns anIdentityOperationwho may be executed in the context of aCatalogand/orSiteto read products by IDs, and then build the index incrementally.voidCatalogSolrIndexUpdateService.rebuildIndex(Site site) voidCatalogSolrIndexUpdateServiceImpl.rebuildIndex(Site site) -
Uses of Site in org.broadleafcommerce.openadmin.server.security.external
Methods in org.broadleafcommerce.openadmin.server.security.external that return SiteModifier and TypeMethodDescriptionprotected SiteBroadleafAdminLdapUserDetailsMapper.determineSite(org.springframework.ldap.core.DirContextOperations ctx, String username, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) Allows for a hook to determine the Multi-Tenant site for this user from the ctx, username, and authorities. -
Uses of Site in org.broadleafcommerce.openadmin.web.filter
Methods in org.broadleafcommerce.openadmin.web.filter with parameters of type SiteModifier and TypeMethodDescriptionAdminRequestProcessorExtensionHandler.overrideCurrentCatalog(org.springframework.web.context.request.WebRequest request, Site currentSite, ExtensionResultHolder<Catalog> result) AdminRequestProcessorExtensionManager.overrideCurrentCatalog(org.springframework.web.context.request.WebRequest request, Site currentSite, ExtensionResultHolder<Catalog> result) AdminRequestProcessorExtensionHandler.overrideCurrentProfile(org.springframework.web.context.request.WebRequest request, Site currentSite, ExtensionResultHolder<Site> result) AdminRequestProcessorExtensionManager.overrideCurrentProfile(org.springframework.web.context.request.WebRequest request, Site currentSite, ExtensionResultHolder<Site> result) AdminRequestProcessorExtensionHandler.retrieveCatalogs(Site currentSite, ExtensionResultHolder<Set<Catalog>> result) AdminRequestProcessorExtensionManager.retrieveCatalogs(Site currentSite, ExtensionResultHolder<Set<Catalog>> result) AdminRequestProcessorExtensionHandler.retrieveProfiles(Site currentSite, ExtensionResultHolder<Set<Site>> result) AdminRequestProcessorExtensionManager.retrieveProfiles(Site currentSite, ExtensionResultHolder<Set<Site>> result) Method parameters in org.broadleafcommerce.openadmin.web.filter with type arguments of type SiteModifier and TypeMethodDescriptionAdminRequestProcessorExtensionHandler.overrideCurrentProfile(org.springframework.web.context.request.WebRequest request, Site currentSite, ExtensionResultHolder<Site> result) AdminRequestProcessorExtensionManager.overrideCurrentProfile(org.springframework.web.context.request.WebRequest request, Site currentSite, ExtensionResultHolder<Site> result) AdminRequestProcessorExtensionHandler.retrieveProfiles(Site currentSite, ExtensionResultHolder<Set<Site>> result) AdminRequestProcessorExtensionManager.retrieveProfiles(Site currentSite, ExtensionResultHolder<Set<Site>> result)
SiteService.retrieveNonPersistentDefaultSite()instead