Class MockRenditionService2

  • All Implemented Interfaces:
    Serializable, org.alfresco.repo.rendition2.RenditionService2

    public class MockRenditionService2
    extends Object
    implements org.alfresco.repo.rendition2.RenditionService2, Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • MockRenditionService2

        public MockRenditionService2()
    • Method Detail

      • getRenditionDefinitionRegistry2

        public org.alfresco.repo.rendition2.RenditionDefinitionRegistry2 getRenditionDefinitionRegistry2()
        Specified by:
        getRenditionDefinitionRegistry2 in interface org.alfresco.repo.rendition2.RenditionService2
      • render

        public void render​(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
                           String renditionName)
        Specified by:
        render in interface org.alfresco.repo.rendition2.RenditionService2
      • getRenditions

        public List<org.alfresco.service.cmr.repository.ChildAssociationRef> getRenditions​(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef)
        Specified by:
        getRenditions in interface org.alfresco.repo.rendition2.RenditionService2
      • getRenditionByName

        public org.alfresco.service.cmr.repository.ChildAssociationRef getRenditionByName​(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
                                                                                          String renditionName)
        Specified by:
        getRenditionByName in interface org.alfresco.repo.rendition2.RenditionService2
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface org.alfresco.repo.rendition2.RenditionService2