Class DefaultCMSAdminTypeRestrictionsService

All Implemented Interfaces:
CMSAdminTypeRestrictionsService, Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

public class DefaultCMSAdminTypeRestrictionsService extends AbstractCMSAdminService implements CMSAdminTypeRestrictionsService
Default implementation of the type restrictions service.

To get the type restrictions for a given page and content slot, first we get the ContentSlotForPageModel representing the relation between the page and the content slot. Then, we get the ContentSlotNameModel from ContentSlotForPageModel.POSITION. From there, we can get the type restrictions from ContentSlotNameModel.COMPTYPEGROUP.

See Also: