Class AbstractCommonBusinessServiceImpl<T extends com.hack23.cia.service.api.action.common.ServiceRequest,​V extends com.hack23.cia.service.api.action.common.ServiceResponse>

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractCommonBusinessServiceImpl​(java.lang.Class<T> clazz)
      Instantiates a new abstract common business service impl.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends com.hack23.cia.service.api.action.common.ServiceRequest> getSupportedService()
      Gets the supported service.
      protected com.hack23.cia.model.internal.application.user.impl.UserAccount getUserAccountFromSecurityContext()
      Gets the user account from security context.
      protected com.hack23.cia.service.data.api.UserDAO getUserDAO()
      Gets the user dao.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractCommonBusinessServiceImpl

        public AbstractCommonBusinessServiceImpl​(java.lang.Class<T> clazz)
        Instantiates a new abstract common business service impl.
        Parameters:
        clazz - the clazz
    • Method Detail

      • getSupportedService

        public final java.lang.Class<? extends com.hack23.cia.service.api.action.common.ServiceRequest> getSupportedService()
        Description copied from interface: BusinessService
        Gets the supported service.
        Specified by:
        getSupportedService in interface BusinessService<T extends com.hack23.cia.service.api.action.common.ServiceRequest,​V extends com.hack23.cia.service.api.action.common.ServiceResponse>
        Returns:
        the supported service
      • getUserAccountFromSecurityContext

        protected final com.hack23.cia.model.internal.application.user.impl.UserAccount getUserAccountFromSecurityContext()
        Gets the user account from security context.
        Returns:
        the user account from security context
      • getUserDAO

        protected final com.hack23.cia.service.data.api.UserDAO getUserDAO()
        Gets the user dao.
        Returns:
        the user dao