public class ApplicationPageAPIDelegate
extends java.lang.Object
| Constructor and Description |
|---|
ApplicationPageAPIDelegate(TenantServiceAccessor accessor,
ApplicationPageModelConverter converter,
long loggedUserId,
ApplicationTokenValidator tokenValidator) |
| Modifier and Type | Method and Description |
|---|---|
org.bonitasoft.engine.business.application.ApplicationPage |
createApplicationPage(long applicationId,
long pageId,
java.lang.String token) |
void |
deleteApplicationPage(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.ApplicationPage |
getApplicationHomePage(long applicationId) |
org.bonitasoft.engine.business.application.ApplicationPage |
getApplicationPage(long applicationPageId) |
org.bonitasoft.engine.business.application.ApplicationPage |
getApplicationPage(java.lang.String applicationName,
java.lang.String applicationPageToken) |
org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.business.application.ApplicationPage> |
searchApplicationPages(SearchApplicationPages searchApplicationPages) |
void |
setApplicationHomePage(long applicationId,
long applicationPageId) |
public ApplicationPageAPIDelegate(TenantServiceAccessor accessor, ApplicationPageModelConverter converter, long loggedUserId, ApplicationTokenValidator tokenValidator)
public void setApplicationHomePage(long applicationId,
long applicationPageId)
throws org.bonitasoft.engine.exception.UpdateException,
org.bonitasoft.engine.business.application.ApplicationNotFoundException
org.bonitasoft.engine.exception.UpdateExceptionorg.bonitasoft.engine.business.application.ApplicationNotFoundExceptionpublic 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
org.bonitasoft.engine.exception.AlreadyExistsExceptionorg.bonitasoft.engine.exception.CreationExceptionpublic org.bonitasoft.engine.business.application.ApplicationPage getApplicationPage(java.lang.String applicationName,
java.lang.String applicationPageToken)
throws org.bonitasoft.engine.business.application.ApplicationPageNotFoundException
org.bonitasoft.engine.business.application.ApplicationPageNotFoundExceptionpublic org.bonitasoft.engine.business.application.ApplicationPage getApplicationPage(long applicationPageId)
throws org.bonitasoft.engine.business.application.ApplicationPageNotFoundException
org.bonitasoft.engine.business.application.ApplicationPageNotFoundExceptionpublic void deleteApplicationPage(long applicationPageId)
throws org.bonitasoft.engine.exception.DeletionException
org.bonitasoft.engine.exception.DeletionExceptionpublic org.bonitasoft.engine.business.application.ApplicationPage getApplicationHomePage(long applicationId)
throws org.bonitasoft.engine.business.application.ApplicationPageNotFoundException
org.bonitasoft.engine.business.application.ApplicationPageNotFoundExceptionpublic org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.business.application.ApplicationPage> searchApplicationPages(SearchApplicationPages searchApplicationPages) throws org.bonitasoft.engine.exception.SearchException
org.bonitasoft.engine.exception.SearchExceptionpublic java.util.List<java.lang.String> getAllPagesForProfile(long profileId)
public java.util.List<java.lang.String> getAllPagesForProfile(java.lang.String profile)