public class WeaveSiteImpl extends Object implements MultiTenantSite
MultiTenantSiteImpl into SiteImpl| Modifier and Type | Field and Description |
|---|---|
protected MultiTenantSiteImpl |
embeddableMultiTenantSite |
| Constructor and Description |
|---|
WeaveSiteImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildTemplateSiteVisibleCatalogs(Set<org.broadleafcommerce.common.site.domain.Catalog> catalogs,
Set<Long> visitedSites,
Set<Long> visitedCatalogs) |
List<org.broadleafcommerce.openadmin.server.security.domain.AdminUser> |
getAdminUsers()
The list of admin users that are able to operate on this site and its children.
|
List<org.broadleafcommerce.common.site.domain.SiteCatalogXref> |
getAssignedCatalogs()
Returns a list of
SiteCatalogXref that have been assigned to this site by its parent. |
List<SiteProfileXref> |
getAssignedProfiles()
Returns a list of
SiteCatalogXref that have been assigned to this site by its parent. |
org.broadleafcommerce.common.site.domain.Site |
getBaseProfile()
Returns the base profile which is an instance of
Site which has a SiteType.PROFILE or
null if not base profile has been set. |
List<org.broadleafcommerce.common.site.domain.Site> |
getChildProfiles()
If this site is a profile, return the list of other profiles who reference this one as their base profile
|
ConfigurationStatusType |
getConfigurationStatus()
Describes whether or not the catalog has been marked as finished for configuration.
|
org.broadleafcommerce.common.site.domain.Catalog |
getDefaultCatalog()
Returns the
Catalog that is the default catalog for this site. |
DeploymentStatus |
getDeploymentStatus()
For profile type sites, describes the lifecycle status of copying the profile related entities
|
protected MultiTenantSiteImpl |
getEmbeddableMultiTenantSite(boolean assign) |
List<org.broadleafcommerce.common.site.domain.Catalog> |
getManagedCatalogs()
Returns a list of
Catalogs that have been created by this site. |
org.broadleafcommerce.common.site.domain.Site |
getParent()
Reference to the site which this embed is contained.
|
Long |
getParentSiteId()
Returns the id of the
Site that created this site. |
SiteType |
getSiteType()
Returns the
SiteType |
Set<org.broadleafcommerce.common.site.domain.Catalog> |
getStandardSiteVisibleCatalogs()
Returns a list of all catalogs this site has visibility into.
|
Set<org.broadleafcommerce.common.site.domain.Catalog> |
getTemplateSiteVisibleCatalogs() |
Boolean |
isHideFromProfileSelection()
Whether or not this profile should be hidden from profile selection.
|
void |
setAdminUsers(List<org.broadleafcommerce.openadmin.server.security.domain.AdminUser> adminUsers)
Sets the list of adminUsers for this site.
|
void |
setAssignedCatalogs(List<org.broadleafcommerce.common.site.domain.SiteCatalogXref> assignedCatalogs)
Sets the catalog assigned to this site.
|
void |
setAssignedProfiles(List<SiteProfileXref> assignedProfiles)
Sets the catalog assigned to this site.
|
void |
setBaseProfile(org.broadleafcommerce.common.site.domain.Site baseSite)
Sets the base profile which is an instance of
Site which has a SiteType.PROFILE. |
void |
setChildProfiles(List<org.broadleafcommerce.common.site.domain.Site> childProfiles)
If this site is a profile, set the list of other profiles who reference this one as their base profile
|
void |
setConfigurationStatus(ConfigurationStatusType configurationStatus) |
void |
setDefaultCatalog(org.broadleafcommerce.common.site.domain.Catalog defaultCatalog)
Sets the default
Catalog for this site. |
void |
setDeploymentStatus(DeploymentStatus deploymentStatus)
For profile type sites, describes the lifecycle status of copying the profile related entities
|
void |
setHideFromProfileSelection(Boolean hideFromProfileSelection)
Set whether or not this profile should be hidden from profile selection.
|
void |
setManagedCatalogs(List<org.broadleafcommerce.common.site.domain.Catalog> managedCatalogs)
Sets list of catalogs owned by this site.
|
void |
setParentSiteId(Long parentSiteId)
Sets the id
Site of SiteType.TEMPLATE that created this site |
void |
setSiteType(SiteType siteType)
Sets the
SiteType |
protected MultiTenantSiteImpl embeddableMultiTenantSite
public SiteType getSiteType()
MultiTenantSiteSiteTypegetSiteType in interface MultiTenantSiteSiteTypepublic void setSiteType(SiteType siteType)
MultiTenantSiteSiteTypesetSiteType in interface MultiTenantSitepublic org.broadleafcommerce.common.site.domain.Catalog getDefaultCatalog()
MultiTenantSiteCatalog that is the default catalog for this site. Default catalogs are only used with
Sites of type SiteType.STANDARD.getDefaultCatalog in interface MultiTenantSiteCatalogpublic void setDefaultCatalog(org.broadleafcommerce.common.site.domain.Catalog defaultCatalog)
MultiTenantSiteCatalog for this site. Default catalogs are only used with
Sites of type SiteType.STANDARD.setDefaultCatalog in interface MultiTenantSitepublic org.broadleafcommerce.common.site.domain.Site getBaseProfile()
MultiTenantSiteSite which has a SiteType.PROFILE or
null if not base profile has been set.
Base profiles are used with Sites of type SiteType.STANDARD or SiteType.PROFILEgetBaseProfile in interface MultiTenantSiteSitepublic void setBaseProfile(org.broadleafcommerce.common.site.domain.Site baseSite)
MultiTenantSiteSite which has a SiteType.PROFILE.
Used to allow content changes to flow through a hierarchy.
Base profiles are used with Sites of type SiteType.STANDARD or SiteType.PROFILEsetBaseProfile in interface MultiTenantSitepublic List<org.broadleafcommerce.common.site.domain.SiteCatalogXref> getAssignedCatalogs()
MultiTenantSiteSiteCatalogXref that have been assigned to this site by its parent.getAssignedCatalogs in interface MultiTenantSitepublic void setAssignedCatalogs(List<org.broadleafcommerce.common.site.domain.SiteCatalogXref> assignedCatalogs)
MultiTenantSitesetAssignedCatalogs in interface MultiTenantSitepublic List<SiteProfileXref> getAssignedProfiles()
MultiTenantSiteSiteCatalogXref that have been assigned to this site by its parent.getAssignedProfiles in interface MultiTenantSitepublic void setAssignedProfiles(List<SiteProfileXref> assignedProfiles)
MultiTenantSitesetAssignedProfiles in interface MultiTenantSitepublic List<org.broadleafcommerce.common.site.domain.Catalog> getManagedCatalogs()
MultiTenantSiteCatalogs that have been created by this site.getManagedCatalogs in interface MultiTenantSitepublic void setManagedCatalogs(List<org.broadleafcommerce.common.site.domain.Catalog> managedCatalogs)
MultiTenantSitesetManagedCatalogs in interface MultiTenantSitepublic Long getParentSiteId()
MultiTenantSiteSite that created this site.getParentSiteId in interface MultiTenantSitepublic void setParentSiteId(Long parentSiteId)
MultiTenantSiteSite of SiteType.TEMPLATE that created this sitesetParentSiteId in interface MultiTenantSiteprotected MultiTenantSiteImpl getEmbeddableMultiTenantSite(boolean assign)
public List<org.broadleafcommerce.common.site.domain.Site> getChildProfiles()
MultiTenantSitegetChildProfiles in interface MultiTenantSitepublic void setChildProfiles(List<org.broadleafcommerce.common.site.domain.Site> childProfiles)
MultiTenantSitesetChildProfiles in interface MultiTenantSitepublic List<org.broadleafcommerce.openadmin.server.security.domain.AdminUser> getAdminUsers()
MultiTenantSitegetAdminUsers in interface MultiTenantSitepublic void setAdminUsers(List<org.broadleafcommerce.openadmin.server.security.domain.AdminUser> adminUsers)
MultiTenantSitesetAdminUsers in interface MultiTenantSitepublic Set<org.broadleafcommerce.common.site.domain.Catalog> getStandardSiteVisibleCatalogs()
MultiTenantSitegetStandardSiteVisibleCatalogs in interface MultiTenantSitepublic Boolean isHideFromProfileSelection()
MultiTenantSiteisHideFromProfileSelection in interface MultiTenantSitepublic void setHideFromProfileSelection(Boolean hideFromProfileSelection)
MultiTenantSitesetHideFromProfileSelection in interface MultiTenantSitepublic Set<org.broadleafcommerce.common.site.domain.Catalog> getTemplateSiteVisibleCatalogs()
getTemplateSiteVisibleCatalogs in interface MultiTenantSitepublic void buildTemplateSiteVisibleCatalogs(Set<org.broadleafcommerce.common.site.domain.Catalog> catalogs, Set<Long> visitedSites, Set<Long> visitedCatalogs)
buildTemplateSiteVisibleCatalogs in interface MultiTenantSitepublic org.broadleafcommerce.common.site.domain.Site getParent()
MultiTenantSitegetParent in interface MultiTenantSitepublic DeploymentStatus getDeploymentStatus()
MultiTenantSitegetDeploymentStatus in interface MultiTenantSitepublic void setDeploymentStatus(DeploymentStatus deploymentStatus)
MultiTenantSitesetDeploymentStatus in interface MultiTenantSitepublic ConfigurationStatusType getConfigurationStatus()
MultiTenantSitegetConfigurationStatus in interface MultiTenantSitepublic void setConfigurationStatus(ConfigurationStatusType configurationStatus)
setConfigurationStatus in interface MultiTenantSiteCopyright © 2020. All rights reserved.