Interface ComponentClassDAO<T extends com.flower.docs.domain.componentclass.ComponentClass>

  • All Superinterfaces:
    GenericDAO<T>

    public interface ComponentClassDAO<T extends com.flower.docs.domain.componentclass.ComponentClass>
    extends GenericDAO<T>
    Abstract Data Access Object allowing to manage persistence and access to ComponentClass domain objects
    Author:
    Christopher Laszczuk
    • Method Detail

      • fetchAll

        java.util.List<T> fetchAll()
                            throws com.flower.docs.domain.exception.TechnicalException
        Search all the stored classes according to supplied parameters
        Parameters:
        scope - The business scope
        category - The Category referenced by classes
        isActiveOnly - Determines if classes must be active or not
        Returns:
        the list of found classes
        Throws:
        com.flower.docs.domain.exception.TechnicalException - If a technical error occurs
      • setActive

        void setActive​(java.util.List<com.flower.docs.domain.common.Id> id,
                       boolean activate)
                throws com.flower.docs.domain.exception.TechnicalException
        Throws:
        com.flower.docs.domain.exception.TechnicalException
      • getAllVersions

        java.util.List<T> getAllVersions​(java.util.List<com.flower.docs.domain.common.Id> ids)
                                  throws com.flower.docs.domain.exception.TechnicalException
        Throws:
        com.flower.docs.domain.exception.TechnicalException