Class ValidationDtoFactory

java.lang.Object
de.hybris.platform.cmsfacades.common.validator.ValidationDtoFactory

public class ValidationDtoFactory extends Object
Factory for creating beans used for validation.
  • Constructor Details

    • ValidationDtoFactory

      public ValidationDtoFactory()
  • Method Details

    • buildComponentAndContentSlotValidationDto

      public ComponentAndContentSlotValidationDto buildComponentAndContentSlotValidationDto(String componentUid, 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(String typeCode, String contentSlotUid, 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
    • getCmsAdminContentSlotService

      protected CMSAdminContentSlotService getCmsAdminContentSlotService()
    • setCmsAdminContentSlotService

      public void setCmsAdminContentSlotService(CMSAdminContentSlotService cmsAdminContentSlotService)
    • getCmsAdminComponentService

      protected CMSAdminComponentService getCmsAdminComponentService()
    • setCmsAdminComponentService

      public void setCmsAdminComponentService(CMSAdminComponentService cmsAdminComponentService)
    • getCmsAdminPageService

      protected CMSAdminPageService getCmsAdminPageService()
    • setCmsAdminPageService

      public void setCmsAdminPageService(CMSAdminPageService cmsAdminPageService)
    • getCatalogVersionService

      protected CatalogVersionService getCatalogVersionService()
    • setCatalogVersionService

      public void setCatalogVersionService(CatalogVersionService catalogVersionService)