public interface EntityInformationService
Modifier and Type | Method and Description |
---|---|
EntityInformationDto |
buildEntityInformationForObject(Object o)
Given an object, populates
EntityInformationDto with the associated site, profile, and catalog ids. |
List<Catalog> |
findAllCatalogs()
Returns all of the catalogs, using multi-tenant mode
|
Long |
getBaseProfileIdForSite(Site site)
Given a Site object, returns the Base Profile Id if one exists.
|
boolean |
getOkayToUseSiteDiscriminator(Object o)
Given an entity instance, returns true if the object has access to a Site Discriminator.
|
EntityInformationDto buildEntityInformationForObject(Object o)
EntityInformationDto
with the associated site, profile, and catalog ids.
This method does nothing by default and instead relies on the EntityInformationServiceExtensionManager
to
populate the correct values. Designed for use with the commercial "workflow" and "multi-tenant" modules.o
- Long getBaseProfileIdForSite(Site site)
o
- boolean getOkayToUseSiteDiscriminator(Object o)
o
- Copyright © 2017. All rights reserved.