Class ApplicationBootServiceBase

  • All Implemented Interfaces:
    es.caib.seycon.ng.servei.ApplicationBootService
    Direct Known Subclasses:
    BpmConfigServiceBase, BpmConfigServiceBaseProxy

    public abstract class ApplicationBootServiceBase
    extends Object
    implements es.caib.seycon.ng.servei.ApplicationBootService

    Spring Service base class for es.caib.seycon.ng.servei.ApplicationBootService, provides access to all services and entities referenced by this service.

    see es.caib.seycon.ng.servei.ApplicationBootService
    • Constructor Detail

      • ApplicationBootServiceBase

        public ApplicationBootServiceBase()
    • Method Detail

      • setApplicationBootService

        public void setApplicationBootService​(com.soffid.iam.service.ApplicationBootService applicationBootService)
        Sets reference to applicationBootService.
      • getApplicationBootService

        public com.soffid.iam.service.ApplicationBootService getApplicationBootService()
        Gets reference to applicationBootService.
      • consoleBoot

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackForClassName="java.lang.Exception")
        public void consoleBoot()
                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        consoleBoot in interface es.caib.seycon.ng.servei.ApplicationBootService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleConsoleBoot

        protected abstract void handleConsoleBoot()
                                           throws Exception
        Throws:
        Exception
      • syncServerBoot

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackForClassName="java.lang.Exception")
        public void syncServerBoot()
                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        syncServerBoot in interface es.caib.seycon.ng.servei.ApplicationBootService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleSyncServerBoot

        protected abstract void handleSyncServerBoot()
                                              throws Exception
        Throws:
        Exception
      • tenantBoot

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackForClassName="java.lang.Exception")
        public void tenantBoot​(com.soffid.iam.api.Tenant tenant)
                        throws es.caib.seycon.ng.exception.InternalErrorException,
                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        tenantBoot in interface es.caib.seycon.ng.servei.ApplicationBootService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • handleTenantBoot

        protected abstract void handleTenantBoot​(com.soffid.iam.api.Tenant tenant)
                                          throws Exception
        Throws:
        Exception
      • getPrincipal

        protected Principal getPrincipal()
        Gets the current principal if one has been set, otherwise returns null.
        Returns:
        the current principal