Class LivingApplicationPageAPIDelegate
- java.lang.Object
-
- org.bonitasoft.engine.api.impl.livingapplication.LivingApplicationPageAPIDelegate
-
public class LivingApplicationPageAPIDelegate extends java.lang.Object- Author:
- Elias Ricken de Medeiros
-
-
Constructor Summary
Constructors Constructor Description LivingApplicationPageAPIDelegate(TenantServiceAccessor accessor, ApplicationPageModelConverter converter, long loggedUserId, ApplicationTokenValidator tokenValidator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bonitasoft.engine.business.application.ApplicationPagecreateApplicationPage(long applicationId, long pageId, java.lang.String token)voiddeleteApplicationPage(long applicationPageId)java.util.List<java.lang.String>getAllPagesForProfile(long profileId)java.util.List<java.lang.String>getAllPagesForProfile(java.lang.String profile)org.bonitasoft.engine.business.application.ApplicationPagegetApplicationHomePage(long applicationId)org.bonitasoft.engine.business.application.ApplicationPagegetApplicationPage(long applicationPageId)org.bonitasoft.engine.business.application.ApplicationPagegetApplicationPage(java.lang.String applicationName, java.lang.String applicationPageToken)org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.business.application.ApplicationPage>searchApplicationPages(SearchApplicationPages searchApplicationPages)voidsetApplicationHomePage(long applicationId, long applicationPageId)
-
-
-
Constructor Detail
-
LivingApplicationPageAPIDelegate
public LivingApplicationPageAPIDelegate(TenantServiceAccessor accessor, ApplicationPageModelConverter converter, long loggedUserId, ApplicationTokenValidator tokenValidator)
-
-
Method Detail
-
setApplicationHomePage
public void setApplicationHomePage(long applicationId, long applicationPageId) throws org.bonitasoft.engine.exception.UpdateException, org.bonitasoft.engine.business.application.ApplicationNotFoundException- Throws:
org.bonitasoft.engine.exception.UpdateExceptionorg.bonitasoft.engine.business.application.ApplicationNotFoundException
-
createApplicationPage
public org.bonitasoft.engine.business.application.ApplicationPage createApplicationPage(long applicationId, long pageId, java.lang.String token) throws org.bonitasoft.engine.exception.AlreadyExistsException, org.bonitasoft.engine.exception.CreationException- Throws:
org.bonitasoft.engine.exception.AlreadyExistsExceptionorg.bonitasoft.engine.exception.CreationException
-
getApplicationPage
public org.bonitasoft.engine.business.application.ApplicationPage getApplicationPage(java.lang.String applicationName, java.lang.String applicationPageToken) throws org.bonitasoft.engine.business.application.ApplicationPageNotFoundException- Throws:
org.bonitasoft.engine.business.application.ApplicationPageNotFoundException
-
getApplicationPage
public org.bonitasoft.engine.business.application.ApplicationPage getApplicationPage(long applicationPageId) throws org.bonitasoft.engine.business.application.ApplicationPageNotFoundException- Throws:
org.bonitasoft.engine.business.application.ApplicationPageNotFoundException
-
deleteApplicationPage
public void deleteApplicationPage(long applicationPageId) throws org.bonitasoft.engine.exception.DeletionException- Throws:
org.bonitasoft.engine.exception.DeletionException
-
getApplicationHomePage
public org.bonitasoft.engine.business.application.ApplicationPage getApplicationHomePage(long applicationId) throws org.bonitasoft.engine.business.application.ApplicationPageNotFoundException- Throws:
org.bonitasoft.engine.business.application.ApplicationPageNotFoundException
-
searchApplicationPages
public org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.business.application.ApplicationPage> searchApplicationPages(SearchApplicationPages searchApplicationPages) throws org.bonitasoft.engine.exception.SearchException
- Throws:
org.bonitasoft.engine.exception.SearchException
-
getAllPagesForProfile
public java.util.List<java.lang.String> getAllPagesForProfile(long profileId)
-
getAllPagesForProfile
public java.util.List<java.lang.String> getAllPagesForProfile(java.lang.String profile)
-
-