Class ValidationDtoFactory
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.validator.ValidationDtoFactory
-
public class ValidationDtoFactory extends java.lang.ObjectFactory for creating beans used for validation.
-
-
Constructor Summary
Constructors Constructor Description ValidationDtoFactory()
-
Method Summary
-
-
-
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 foundAmbiguousIdentifierException- 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 idpageId- the page id- Returns:
- the new DTO
- Throws:
UnknownIdentifierException- when the slot cannot be foundAmbiguousIdentifierException- 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)
-
-