@Name(value="layoutDemoContext") @Scope(value=SESSION) public class LayoutDemoContext extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
DEMO_DOCUMENT_TYPE |
static String |
TEST_REPO_NAME |
Constructor and Description |
---|
LayoutDemoContext() |
Modifier and Type | Method and Description |
---|---|
void |
closeCoreSession() |
List<DemoWidgetType> |
getActionWidgetTypes() |
DocumentModel |
getBareDemoDocument() |
List<DemoWidgetType> |
getCustomWidgetTypes() |
PageSelections<DocumentModel> |
getDemoDocuments() |
List<Action> |
getLayoutDemoCustomActions() |
List<DemoWidgetType> |
getListingWidgetTypes() |
DocumentModel |
getPreviewDocument() |
List<DemoWidgetType> |
getStandardWidgetTypes() |
void |
openCoreSession() |
public static final String TEST_REPO_NAME
public static final String DEMO_DOCUMENT_TYPE
@Destroy @BypassInterceptors public void closeCoreSession() throws LoginException
LoginException
@Factory(value="standardWidgetTypes", scope=SESSION) public List<DemoWidgetType> getStandardWidgetTypes()
@Factory(value="listingWidgetTypes", scope=SESSION) public List<DemoWidgetType> getListingWidgetTypes()
@Factory(value="customWidgetTypes", scope=SESSION) public List<DemoWidgetType> getCustomWidgetTypes()
@Factory(value="actionWidgetTypes", scope=SESSION) public List<DemoWidgetType> getActionWidgetTypes()
@Factory(value="layoutBareDemoDocument", scope=EVENT) public DocumentModel getBareDemoDocument() throws ClientException
ClientException
@Factory(value="layoutPreviewDocument", scope=EVENT) public DocumentModel getPreviewDocument() throws ClientException
ClientException
@Factory(value="layoutDemoDocuments", scope=EVENT) public PageSelections<DocumentModel> getDemoDocuments() throws ClientException, Exception
ClientException
Exception
@Factory(value="layoutDemoCustomActions", scope=EVENT) public List<Action> getLayoutDemoCustomActions() throws ClientException, Exception
ClientException
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.