Class LivingApplicationAPIDelegate

java.lang.Object
org.bonitasoft.engine.api.impl.livingapplication.LivingApplicationAPIDelegate

public class LivingApplicationAPIDelegate extends Object
Author:
Elias Ricken de Medeiros
  • Constructor Summary

    Constructors
    Constructor
    Description
    LivingApplicationAPIDelegate(ServiceAccessor accessor, ApplicationModelConverter converter, long loggedUserId, ApplicationTokenValidator tokenValidator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bonitasoft.engine.business.application.Application
    createApplication(org.bonitasoft.engine.business.application.ApplicationCreator applicationCreator)
    Deprecated.
    as of 9.0.0, Applications should be created at startup.
    org.bonitasoft.engine.business.application.ApplicationLink
    createApplicationLink(org.bonitasoft.engine.business.application.ApplicationLinkCreator applicationLinkCreator)
    Deprecated.
    as of 9.0.0, Applications should be created at startup.
    void
    deleteApplication(long applicationId)
     
    org.bonitasoft.engine.business.application.IApplication
    getIApplication(long applicationId)
     
    org.bonitasoft.engine.business.application.IApplication
    getIApplicationByToken(String applicationToken)
     
    org.bonitasoft.engine.business.application.Icon
    getIconOfApplication(long applicationId)
     
    <E extends org.bonitasoft.engine.business.application.IApplication>
    org.bonitasoft.engine.search.SearchResult<E>
     
    org.bonitasoft.engine.business.application.Application
    updateApplication(long applicationId, org.bonitasoft.engine.business.application.ApplicationUpdater updater)
    Deprecated.
    as of 9.0.0, Applications should be updated at startup.
    org.bonitasoft.engine.business.application.ApplicationLink
    updateApplicationLink(long applicationId, org.bonitasoft.engine.business.application.ApplicationLinkUpdater updater)
    Deprecated.
    as of 9.0.0, Applications should be updated at startup.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • createApplication

      @Deprecated(since="9.0.0") public org.bonitasoft.engine.business.application.Application createApplication(org.bonitasoft.engine.business.application.ApplicationCreator applicationCreator) throws org.bonitasoft.engine.exception.CreationException
      Deprecated.
      as of 9.0.0, Applications should be created at startup.
      Throws:
      org.bonitasoft.engine.exception.CreationException
    • createApplicationLink

      @Deprecated(since="10.2.0") public org.bonitasoft.engine.business.application.ApplicationLink createApplicationLink(org.bonitasoft.engine.business.application.ApplicationLinkCreator applicationLinkCreator) throws org.bonitasoft.engine.exception.CreationException
      Deprecated.
      as of 9.0.0, Applications should be created at startup. This also concerns application links introduced in 10.2.0.
      Throws:
      org.bonitasoft.engine.exception.CreationException
    • getIApplication

      public org.bonitasoft.engine.business.application.IApplication getIApplication(long applicationId) throws org.bonitasoft.engine.business.application.ApplicationNotFoundException
      Throws:
      org.bonitasoft.engine.business.application.ApplicationNotFoundException
    • getIApplicationByToken

      public org.bonitasoft.engine.business.application.IApplication getIApplicationByToken(String applicationToken) throws org.bonitasoft.engine.business.application.ApplicationNotFoundException
      Throws:
      org.bonitasoft.engine.business.application.ApplicationNotFoundException
    • getIconOfApplication

      public org.bonitasoft.engine.business.application.Icon getIconOfApplication(long applicationId) throws org.bonitasoft.engine.business.application.ApplicationNotFoundException
      Throws:
      org.bonitasoft.engine.business.application.ApplicationNotFoundException
    • deleteApplication

      public void deleteApplication(long applicationId) throws org.bonitasoft.engine.exception.DeletionException
      Throws:
      org.bonitasoft.engine.exception.DeletionException
    • searchIApplications

      public <E extends org.bonitasoft.engine.business.application.IApplication> org.bonitasoft.engine.search.SearchResult<E> searchIApplications(AbstractSearchEntity<E,SApplication> searchApplications) throws org.bonitasoft.engine.exception.SearchException
      Throws:
      org.bonitasoft.engine.exception.SearchException
    • updateApplication

      @Deprecated(since="9.0.0") public org.bonitasoft.engine.business.application.Application updateApplication(long applicationId, org.bonitasoft.engine.business.application.ApplicationUpdater updater) throws org.bonitasoft.engine.exception.UpdateException, org.bonitasoft.engine.exception.AlreadyExistsException, org.bonitasoft.engine.business.application.ApplicationNotFoundException
      Deprecated.
      as of 9.0.0, Applications should be updated at startup.
      Throws:
      org.bonitasoft.engine.exception.UpdateException
      org.bonitasoft.engine.exception.AlreadyExistsException
      org.bonitasoft.engine.business.application.ApplicationNotFoundException
    • updateApplicationLink

      @Deprecated(since="10.2.0") public org.bonitasoft.engine.business.application.ApplicationLink updateApplicationLink(long applicationId, org.bonitasoft.engine.business.application.ApplicationLinkUpdater updater) throws org.bonitasoft.engine.exception.UpdateException, org.bonitasoft.engine.exception.AlreadyExistsException, org.bonitasoft.engine.business.application.ApplicationNotFoundException
      Deprecated.
      as of 9.0.0, Applications should be updated at startup. This also concerns application links introduced in 10.2.0.
      Throws:
      org.bonitasoft.engine.exception.UpdateException
      org.bonitasoft.engine.exception.AlreadyExistsException
      org.bonitasoft.engine.business.application.ApplicationNotFoundException