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

java.lang.Object
com.hack23.cia.service.impl.action.common.AbstractCommonBusinessServiceImpl<T,V>
Type Parameters:
T - the generic type
V - the value type
All Implemented Interfaces:
BusinessService<T,V>
Direct Known Subclasses:
AbstractBusinessServiceImpl, CreateApplicationEventService, CreateApplicationSessionService

public abstract class AbstractCommonBusinessServiceImpl<T extends com.hack23.cia.service.api.action.common.ServiceRequest,V extends com.hack23.cia.service.api.action.common.ServiceResponse> extends Object implements BusinessService<T,V>
The Class AbstractCommonBusinessServiceImpl.
  • Constructor Details

    • AbstractCommonBusinessServiceImpl

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

    • getSupportedService

      public final 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