@Service(value="blEntityInformationServiceExtensionManager") public class EntityInformationServiceExtensionManager extends ExtensionManager<EntityInformationServiceExtensionHandler> implements EntityInformationServiceExtensionHandler
EntityInformationServiceExtensionHandler.| Modifier and Type | Field and Description | 
|---|---|
| static ExtensionManagerOperation | findAllCatalogs | 
| static ExtensionManagerOperation | getBaseProfileIdForSite | 
| static ExtensionManagerOperation | getChildSiteIdsForProfile | 
| static ExtensionManagerOperation | getDefaultCatalogIdForSite | 
| static ExtensionManagerOperation | getOkayToUseSiteDiscriminator | 
| static ExtensionManagerOperation | getParentSiteForProfile | 
| static ExtensionManagerOperation | getTypeForSite | 
| static ExtensionManagerOperation | updateBasicEntityInformationDto | 
| static ExtensionManagerOperation | updateEntityInformationDto | 
extensionHandler, handlers, handlersSorted, LOCK_OBJECT| Constructor and Description | 
|---|
| EntityInformationServiceExtensionManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| ExtensionResultStatusType | findAllCatalogs(ExtensionResultHolder<List<Catalog>> erh)Handler implementations will set the value of  ExtensionResultHolderto a list of all catalogs,
 specifically when running in a Multi-Tenant Broadleaf implementation. | 
| ExtensionResultStatusType | getBaseProfileIdForSite(Site site,
                       ExtensionResultHolder<Long> erh)Handler implementations will populate the  ExtensionResultHolderwith a valid 
 base profile id if one exists for the site | 
| ExtensionResultStatusType | getChildSiteIdsForProfile(Site profile,
                         ExtensionResultHolder<Set<Long>> erh)Handler implementations will populate the  ExtensionResultHolderwith a valid
 child site ids whose base profile is the given profile | 
| ExtensionResultStatusType | getDefaultCatalogIdForSite(Site site,
                          ExtensionResultHolder<Long> erh)Handler implementations will populate the  ExtensionResultHolderwith a valid default catalog id for the site | 
| ExtensionResultStatusType | getOkayToUseSiteDiscriminator(Object o,
                             ExtensionResultHolder<Boolean> erh)Handler implementations will set the value of  ExtensionResultHolderto true if the
 passed in object supports site discriminator usage. | 
| ExtensionResultStatusType | getParentSiteForProfile(Site profile,
                       ExtensionResultHolder<Site> erh)Handler implementations will popoulate the  ExtensionResultHolderwith a valid
 parent site if one exists for the profile | 
| ExtensionResultStatusType | getTypeForSite(Site site,
              ExtensionResultHolder<String> erh) | 
| boolean | isEnabled()If false, the ExtensionManager should skip this Handler. | 
| ExtensionResultStatusType | updateBasicEntityInformationDto(EntityInformationDto dto,
                               Object entityInstance) | 
| ExtensionResultStatusType | updateEntityInformationDto(EntityInformationDto dto,
                          Object entityInstance)Handler implementations will override or populate the values on the passed in dto. | 
continueOnHandled, execute, getHandlers, getPriority, getProxy, invoke, registerHandler, setHandlers, shouldContinue, sortHandlersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrioritypublic static final ExtensionManagerOperation getDefaultCatalogIdForSite
public static final ExtensionManagerOperation updateEntityInformationDto
public static final ExtensionManagerOperation updateBasicEntityInformationDto
public static final ExtensionManagerOperation getBaseProfileIdForSite
public static final ExtensionManagerOperation getTypeForSite
public static final ExtensionManagerOperation getParentSiteForProfile
public static final ExtensionManagerOperation getOkayToUseSiteDiscriminator
public static final ExtensionManagerOperation findAllCatalogs
public static final ExtensionManagerOperation getChildSiteIdsForProfile
public EntityInformationServiceExtensionManager()
public ExtensionResultStatusType updateEntityInformationDto(EntityInformationDto dto, Object entityInstance)
EntityInformationServiceExtensionHandlerupdateEntityInformationDto in interface EntityInformationServiceExtensionHandlerdto - EntityInformationDto the dto to add values toentityInstance - the object to be examinedEntityInformationServiceImpl#buildEntityInformationForObject(Object)}public ExtensionResultStatusType updateBasicEntityInformationDto(EntityInformationDto dto, Object entityInstance)
updateBasicEntityInformationDto in interface EntityInformationServiceExtensionHandlerpublic boolean isEnabled()
ExtensionHandlerisEnabled in interface ExtensionHandlerpublic ExtensionResultStatusType getBaseProfileIdForSite(Site site, ExtensionResultHolder<Long> erh)
EntityInformationServiceExtensionHandlerExtensionResultHolder with a valid 
 base profile id if one exists for the sitegetBaseProfileIdForSite in interface EntityInformationServiceExtensionHandlersite - Site the Site to check for a base profileerh - ExtensionResultHolder a container for the resultpublic ExtensionResultStatusType getParentSiteForProfile(Site profile, ExtensionResultHolder<Site> erh)
EntityInformationServiceExtensionHandlerExtensionResultHolder with a valid
 parent site if one exists for the profilegetParentSiteForProfile in interface EntityInformationServiceExtensionHandlerprofile - Site the profile to check for the parent siteerh - ExtensionResultHolder a container for the resultpublic ExtensionResultStatusType getOkayToUseSiteDiscriminator(Object o, ExtensionResultHolder<Boolean> erh)
EntityInformationServiceExtensionHandlerExtensionResultHolder to true if the
 passed in object supports site discriminator usage.   For example, when running in a Multi-Tenant
 Broadleaf implementation.getOkayToUseSiteDiscriminator in interface EntityInformationServiceExtensionHandlerpublic ExtensionResultStatusType findAllCatalogs(ExtensionResultHolder<List<Catalog>> erh)
EntityInformationServiceExtensionHandlerExtensionResultHolder to a list of all catalogs,
 specifically when running in a Multi-Tenant Broadleaf implementation.findAllCatalogs in interface EntityInformationServiceExtensionHandlerpublic ExtensionResultStatusType getDefaultCatalogIdForSite(Site site, ExtensionResultHolder<Long> erh)
EntityInformationServiceExtensionHandlerExtensionResultHolder with a valid default catalog id for the sitegetDefaultCatalogIdForSite in interface EntityInformationServiceExtensionHandlersite - Site the Site to get the catalog id fromerh - ExtensionResultHolder a container for the resultpublic ExtensionResultStatusType getChildSiteIdsForProfile(Site profile, ExtensionResultHolder<Set<Long>> erh)
EntityInformationServiceExtensionHandlerExtensionResultHolder with a valid
 child site ids whose base profile is the given profilegetChildSiteIdsForProfile in interface EntityInformationServiceExtensionHandlerprofile - Site the profile to check for the child siteserh - a container for the resultpublic ExtensionResultStatusType getTypeForSite(Site site, ExtensionResultHolder<String> erh)
getTypeForSite in interface EntityInformationServiceExtensionHandlerCopyright © 2020. All rights reserved.