Class ValidationDtoFactory


  • public class ValidationDtoFactory
    extends java.lang.Object
    Factory for creating beans used for validation.
    • Constructor Detail

      • ValidationDtoFactory

        public ValidationDtoFactory()
    • Method Detail

      • buildComponentAndContentSlotValidationDto

        public ComponentAndContentSlotValidationDto buildComponentAndContentSlotValidationDto​(java.lang.String componentUid,
                                                                                              java.lang.String contentSlotUid)
        Build a new DTO for use with predicates.
        Parameters:
        componentUid -
        contentSlotUid -
        Returns:
        the new DTO
        Throws:
        UnknownIdentifierException - when the component or the slot cannot be found
        AmbiguousIdentifierException - when more than one component or slot is found
      • buildComponentTypeAndContentSlotValidationDto

        public ComponentTypeAndContentSlotValidationDto buildComponentTypeAndContentSlotValidationDto​(java.lang.String typeCode,
                                                                                                      java.lang.String contentSlotUid,
                                                                                                      java.lang.String pageId)
        Build a new DTO for use with predicates.
        Parameters:
        typeCode -
        contentSlotUid - the content slot id
        pageId - the page id
        Returns:
        the new DTO
        Throws:
        UnknownIdentifierException - when the slot cannot be found
        AmbiguousIdentifierException - when more than one slot is found
      • setCmsAdminContentSlotService

        public void setCmsAdminContentSlotService​(CMSAdminContentSlotService cmsAdminContentSlotService)
      • setCmsAdminComponentService

        public void setCmsAdminComponentService​(CMSAdminComponentService cmsAdminComponentService)
      • setCmsAdminPageService

        public void setCmsAdminPageService​(CMSAdminPageService cmsAdminPageService)
      • setCatalogVersionService

        public void setCatalogVersionService​(CatalogVersionService catalogVersionService)