Interface IDouiService

    • Method Detail

      • usesFileManager

        boolean usesFileManager​(ITransaction transaction)
                         throws PortalException
        Indicates if this service uses the FileManager file storage API.
        Parameters:
        transaction - the transaction for persistence access.
        Returns:
        true if this service uses the FileManager, false otherwise.
        Throws:
        PortalException
      • usesImageService

        @Deprecated
        boolean usesImageService​(ITransaction transaction)
                          throws PortalException
        Deprecated.
        Since 7.0.0, replaced by usesMediaRepository(ITransaction).
        Indicates if this service uses an image service (as repository, for example).
        Parameters:
        transaction - the transaction for persistence access.
        Returns:
        true if this service uses a image service, false otherwise.
        Throws:
        PortalException
      • usesMediaRepository

        boolean usesMediaRepository​(ITransaction transaction)
                             throws PortalException
        Indicates if this service may use a media repository.
        Parameters:
        transaction - the transaction for persistence access.
        Returns:
        true if this service may use a media service, false otherwise.
        Throws:
        PortalException
        Since:
        7.0.0
      • usesDocumentService

        boolean usesDocumentService​(ITransaction transaction)
                             throws PortalException
        Indicates if this service uses a document service (as repository, for example).
        Parameters:
        transaction - the transaction for persistence access.
        Returns:
        true if this service uses a document service, false otherwise.
        Throws:
        PortalException
      • usesWidgetRepository

        boolean usesWidgetRepository​(ITransaction transaction)
                              throws PortalException
        Indicates if this service uses a widget repository.
        Parameters:
        transaction - the transaction for persistence access.
        Returns:
        true if this service uses a widget repository, false otherwise.
        Throws:
        PortalException
      • hasHtmlField

        boolean hasHtmlField​(ITransaction transaction)
                      throws PortalException
        Indicates if this service has an html field.
        Parameters:
        transaction - the transaction for persistence access.
        Returns:
        true if this service has an html field, false otherwise.
        Throws:
        PortalException