|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.wcm.AVMBrowseBean
public class AVMBrowseBean
Bean backing up the AVM specific browse screens
Nested Class Summary | |
---|---|
class |
AVMBrowseBean.FormSearchContext
Wrap SearchContext to allow prebuilt canned Form query to be apply as search context |
Field Summary | |
---|---|
protected org.alfresco.service.cmr.action.ActionService |
actionService
Action service bean reference |
protected org.alfresco.service.cmr.avm.AVMService |
avmService
AVM service bean reference |
protected org.alfresco.service.cmr.avmsync.AVMSyncService |
avmSyncService
AVM sync service bean reference |
static java.lang.String |
BEAN_NAME
|
protected FormsService |
formsService
The FormsService reference |
protected NavigationBean |
navigator
The NavigationBean bean reference |
protected org.alfresco.service.cmr.security.PermissionService |
permissionService
The PermissionService reference |
static java.lang.String |
REQUEST_BEEN_DEPLOYED_RESULT
|
protected org.alfresco.wcm.sandbox.SandboxService |
sbService
SandboxService bean reference |
protected org.alfresco.wcm.webproject.WebProjectService |
wpService
WebProjectService bean reference |
Constructor Summary | |
---|---|
AVMBrowseBean()
Default Constructor |
Method Summary | |
---|---|
void |
areaChanged()
Method called by UIContextService.areaChanged() to inform all registered beans that the user has changed area i.e. |
void |
cancelPendingSubmission(javax.faces.event.ActionEvent event)
Event handler that cancels a pending submission. |
void |
clickFolder(javax.faces.event.ActionEvent event)
Update the UI after a folder click action in the website browsing screens |
void |
closeSearch(javax.faces.event.ActionEvent event)
Action called to Close the search dialog by returning to the last viewed path |
void |
contextUpdated()
Method called by UIContextService.notifyBeans() to inform all registered beans that all UI Beans should refresh dump all cached data and settings. |
void |
createFormContent(javax.faces.event.ActionEvent event)
Create web content from a specific Form via the User Sandbox 'Available Forms' panel |
protected org.alfresco.service.cmr.action.ActionService |
getActionService()
|
boolean |
getAllItemsAction()
|
AVMNode |
getAvmActionNode()
|
protected org.alfresco.service.cmr.avm.AVMService |
getAvmService()
|
protected org.alfresco.service.cmr.avmsync.AVMSyncService |
getAvmSyncService()
|
java.lang.String |
getCurrentNodeTemplate()
|
java.lang.String |
getCurrentNodeWebscript()
|
java.lang.String |
getCurrentPath()
|
AVMNode |
getCurrentPathNode()
|
java.util.Map |
getCustomWebscriptContext()
|
java.util.List |
getDeploymentMonitorIds()
|
java.util.List |
getFiles()
|
UIRichList |
getFilesRichList()
|
java.util.List |
getFolders()
|
UIRichList |
getFoldersRichList()
|
protected FormsService |
getFormsService()
|
boolean |
getHasCustomView()
|
boolean |
getHasDeployBeenAttempted()
|
boolean |
getHasTemplateView()
|
boolean |
getHasWebscriptView()
|
java.lang.String |
getIcon()
|
boolean |
getIsManagerOrPublisherRole()
|
boolean |
getIsManagerRole()
|
boolean |
getIsStagingStore()
|
java.util.List |
getLocation()
|
static int |
getMinimumSearchLength()
|
org.alfresco.service.cmr.repository.NodeService |
getNodeService()
Getter used by the Inline Edit XML JSP |
java.util.List |
getNodesForSubmit()
|
int |
getPageSizeFiles()
|
java.lang.String |
getPageSizeFilesStr()
|
int |
getPageSizeFolders()
|
java.lang.String |
getPageSizeFoldersStr()
|
protected org.alfresco.service.cmr.security.PermissionService |
getPermissionService()
|
java.lang.String |
getSandbox()
|
java.lang.String |
getSandboxPreviewUrl()
|
protected org.alfresco.wcm.sandbox.SandboxService |
getSandboxService()
|
java.lang.String |
getSandboxTitle()
|
SearchContext |
getSearchContext()
|
org.alfresco.service.cmr.search.SearchService |
getSearchService()
|
java.util.List |
getSelectedSandboxItems()
Return the list of selected items for the current user sandbox view |
boolean |
getShowAllSandboxes()
|
java.lang.String |
getSnapshotDateFilter()
|
java.lang.String |
getStagingPreviewUrl()
|
java.lang.String |
getStagingStore()
|
java.lang.String |
getStagingSummary()
Summary text for the staging store: Created On: xx/yy/zz Created By: username There are N user(s) working on this website. |
java.util.Map |
getTemplateModel()
Returns a model for use by a template on a space Dashboard page. |
java.lang.String |
getUsername()
|
UIUserSandboxes |
getUserSandboxes()
|
java.lang.String |
getWebapp()
|
java.util.List |
getWebapps()
|
int |
getWebappsSize()
|
WebProject |
getWebProject()
|
protected org.alfresco.wcm.webproject.WebProjectService |
getWebProjectService()
|
Node |
getWebsite()
|
java.lang.String |
getWebsiteQuery()
|
protected org.alfresco.service.cmr.workflow.WorkflowService |
getWorkflowService()
|
void |
promotePendingSubmission(javax.faces.event.ActionEvent event)
Event handler that transitions a 'submitpending' task to effectively bypass the lauch date and immediately submit the items. |
void |
refreshSandbox(javax.faces.event.ActionEvent event)
Refresh Sandbox in the virtualisation server |
void |
revertAllConflict(javax.faces.event.ActionEvent event)
Revert All Conflicts |
void |
revertNode(javax.faces.event.ActionEvent event)
Undo changes to a single node |
void |
revertSnapshot(java.util.Map params)
Revert a sandbox to a specific snapshot version ID |
void |
searchFormContent(javax.faces.event.ActionEvent event)
Perform a canned search for previously generated Form content |
void |
searchWebsite(javax.faces.event.ActionEvent event)
Perform a lucene search of the website |
void |
setActionService(org.alfresco.service.cmr.action.ActionService actionService)
|
void |
setAvmActionNode(AVMNode avmNode)
|
void |
setAVMActionNodeDescriptor(org.alfresco.service.cmr.avm.AVMNodeDescriptor avmRef)
|
void |
setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
|
void |
setAvmSyncService(org.alfresco.service.cmr.avmsync.AVMSyncService avmSyncService)
|
void |
setCurrentPath(java.lang.String path)
|
void |
setDeploymentMonitorIds(java.util.List deploymentMonitorIds)
|
void |
setFilesRichList(UIRichList filesRichList)
|
void |
setFoldersRichList(UIRichList foldersRichList)
|
void |
setFormsService(FormsService formsService)
|
void |
setLocation(java.util.List location)
|
void |
setNavigationBean(NavigationBean navigator)
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
|
void |
setNodesForSubmit(java.util.List nodesForSubmit)
|
void |
setPageSizeFiles(int pageSizeContent)
|
void |
setPageSizeFilesStr(java.lang.String pageSizeContentStr)
|
void |
setPageSizeFolders(int pageSizeSpaces)
|
void |
setPageSizeFoldersStr(java.lang.String pageSizeSpacesStr)
|
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
|
void |
setSandbox(java.lang.String sandbox)
|
void |
setSandboxService(org.alfresco.wcm.sandbox.SandboxService sbService)
|
void |
setSandboxTitle(java.lang.String sandboxTitle)
|
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
|
void |
setShowAllSandboxes(boolean value)
|
void |
setSnapshotDateFilter(java.lang.String snapshotDateFilter)
|
void |
setupAllItemsAction(javax.faces.event.ActionEvent event)
Action handler for all nodes from user sandbox |
void |
setupContentAction(javax.faces.event.ActionEvent event)
Action event called by all actions that need to setup a Content node context on the before an action page/wizard is called. |
void |
setupEditAction(javax.faces.event.ActionEvent event)
Action handler called to calculate which editing screen to display based on the mimetype of a document. |
void |
setupEditAction(java.lang.String path)
Action handler called to calculate which editing screen to display based on the mimetype of a document. |
void |
setupSandboxAction(javax.faces.event.ActionEvent event)
Setup the context for a sandbox browse action |
void |
setupSandboxAction(java.lang.String store,
java.lang.String username)
Setup the context for a sandbox browse action |
void |
setUsername(java.lang.String username)
|
void |
setUserSandboxes(UIUserSandboxes userSandboxes)
|
void |
setWebapp(java.lang.String webapp)
|
void |
setWebProjectService(org.alfresco.wcm.webproject.WebProjectService wpService)
|
void |
setWebsiteQuery(java.lang.String websiteQuery)
|
void |
setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService service)
Set the workflow service |
void |
snapshotDateFilterChanged(javax.faces.event.ActionEvent event)
Action handler called when the Snapshot Date filter is changed by the user |
void |
spaceChanged()
Method called by UIContextService.spaceChanged() to inform all registered beans that the current space has changed. |
void |
updateFilesPageSize(javax.faces.event.ActionEvent event)
Update page size based on user selection |
void |
updateFoldersPageSize(javax.faces.event.ActionEvent event)
Update page size based on user selection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BEAN_NAME
public static final java.lang.String REQUEST_BEEN_DEPLOYED_RESULT
protected NavigationBean navigator
protected transient org.alfresco.wcm.webproject.WebProjectService wpService
protected transient org.alfresco.wcm.sandbox.SandboxService sbService
protected transient org.alfresco.service.cmr.avm.AVMService avmService
protected transient org.alfresco.service.cmr.avmsync.AVMSyncService avmSyncService
protected transient org.alfresco.service.cmr.action.ActionService actionService
protected transient FormsService formsService
protected transient org.alfresco.service.cmr.security.PermissionService permissionService
Constructor Detail |
---|
public AVMBrowseBean()
Method Detail |
---|
public void setWebProjectService(org.alfresco.wcm.webproject.WebProjectService wpService)
wpService
- The WebProjectService to set.protected org.alfresco.wcm.webproject.WebProjectService getWebProjectService()
public void setSandboxService(org.alfresco.wcm.sandbox.SandboxService sbService)
sbService
- The SandboxService to set.protected org.alfresco.wcm.sandbox.SandboxService getSandboxService()
public void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
avmService
- The AVMService to set.protected org.alfresco.service.cmr.avm.AVMService getAvmService()
public void setAvmSyncService(org.alfresco.service.cmr.avmsync.AVMSyncService avmSyncService)
avmSyncService
- The AVMSyncService to set.protected org.alfresco.service.cmr.avmsync.AVMSyncService getAvmSyncService()
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- The NodeService to set.public org.alfresco.service.cmr.repository.NodeService getNodeService()
public void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService service)
service
- The workflow service instance.protected org.alfresco.service.cmr.workflow.WorkflowService getWorkflowService()
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
searchService
- The Searcher to set.public org.alfresco.service.cmr.search.SearchService getSearchService()
public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
permissionService
- The PermissionService to set.protected org.alfresco.service.cmr.security.PermissionService getPermissionService()
public void setNavigationBean(NavigationBean navigator)
navigator
- The NavigationBean to set.public void setActionService(org.alfresco.service.cmr.action.ActionService actionService)
actionService
- The actionService to set.protected org.alfresco.service.cmr.action.ActionService getActionService()
public void setFormsService(FormsService formsService)
formsService
- The FormsService to set.protected FormsService getFormsService()
public int getPageSizeFiles()
public void setPageSizeFiles(int pageSizeContent)
public int getPageSizeFolders()
public void setPageSizeFolders(int pageSizeSpaces)
public java.lang.String getPageSizeFilesStr()
public void setPageSizeFilesStr(java.lang.String pageSizeContentStr)
public java.lang.String getPageSizeFoldersStr()
public void setPageSizeFoldersStr(java.lang.String pageSizeSpacesStr)
public java.lang.String getStagingSummary()
public java.lang.String getStagingStore()
public java.lang.String getStagingPreviewUrl()
public java.lang.String getSandboxPreviewUrl()
public void setFoldersRichList(UIRichList foldersRichList)
foldersRichList
- The foldersRichList to set.public UIRichList getFoldersRichList()
public UIRichList getFilesRichList()
public void setFilesRichList(UIRichList filesRichList)
filesRichList
- The filesRichList to set.public UIUserSandboxes getUserSandboxes()
public void setUserSandboxes(UIUserSandboxes userSandboxes)
userSandboxes
- The userSandboxes to set.public java.lang.String getSandbox()
public void setSandbox(java.lang.String sandbox)
sandbox
- The sandbox to set.public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- The username to set.public java.lang.String getWebapp()
public void setWebapp(java.lang.String webapp)
webapp
- Webapp folder contextpublic java.util.List getDeploymentMonitorIds()
public void setDeploymentMonitorIds(java.util.List deploymentMonitorIds)
deploymentMonitorIds
- Sets the list of deployment monitor idspublic java.util.List getNodesForSubmit()
public void setNodesForSubmit(java.util.List nodesForSubmit)
public java.util.List getWebapps()
public int getWebappsSize()
public java.lang.String getSandboxTitle()
public void setSandboxTitle(java.lang.String sandboxTitle)
sandboxTitle
- The sandboxTitle to set.public java.lang.String getSnapshotDateFilter()
public void setSnapshotDateFilter(java.lang.String snapshotDateFilter)
snapshotDateFilter
- The Snapshot Date Filter to set.public java.lang.String getWebsiteQuery()
public void setWebsiteQuery(java.lang.String websiteQuery)
websiteQuery
- The website search query stringpublic java.lang.String getIcon()
public Node getWebsite()
public WebProject getWebProject()
public AVMNode getAvmActionNode()
public void setAvmActionNode(AVMNode avmNode)
avmNode
- The AVM node action context to set.public void setAVMActionNodeDescriptor(org.alfresco.service.cmr.avm.AVMNodeDescriptor avmRef)
avmRef
- The AVMNodeDescriptor action context to set.public java.lang.String getCurrentPath()
public void setCurrentPath(java.lang.String path)
path
- the internal AVM path to the current folder for browsingpublic AVMNode getCurrentPathNode()
public java.util.List getLocation()
public void setLocation(java.util.List location)
location
- Breadcrumb location listpublic boolean getHasCustomView()
public boolean getHasTemplateView()
public boolean getHasWebscriptView()
public java.lang.String getCurrentNodeTemplate()
public java.lang.String getCurrentNodeWebscript()
public java.util.Map getTemplateModel()
public java.util.Map getCustomWebscriptContext()
public boolean getIsManagerRole()
public boolean getIsManagerOrPublisherRole()
public boolean getShowAllSandboxes()
public void setShowAllSandboxes(boolean value)
value
- true to show all sandboxes visible to this user, false to only show the current user sandboxpublic boolean getHasDeployBeenAttempted()
public SearchContext getSearchContext()
public java.util.List getFolders()
public java.util.List getFiles()
public java.util.List getSelectedSandboxItems()
public boolean getAllItemsAction()
public boolean getIsStagingStore()
public void clickFolder(javax.faces.event.ActionEvent event)
public void snapshotDateFilterChanged(javax.faces.event.ActionEvent event)
public void setupSandboxAction(javax.faces.event.ActionEvent event)
public void setupSandboxAction(java.lang.String store, java.lang.String username)
store
- The store name for the actionusername
- The authority pertinent to the action (null for staging store actions)public void setupContentAction(javax.faces.event.ActionEvent event)
event
- ActionEventpublic void setupEditAction(javax.faces.event.ActionEvent event)
public void setupEditAction(java.lang.String path)
public void setupAllItemsAction(javax.faces.event.ActionEvent event)
public void refreshSandbox(javax.faces.event.ActionEvent event)
public void revertNode(javax.faces.event.ActionEvent event)
public void revertSnapshot(java.util.Map params)
public void createFormContent(javax.faces.event.ActionEvent event)
public void searchFormContent(javax.faces.event.ActionEvent event)
public void promotePendingSubmission(javax.faces.event.ActionEvent event)
event
- The eventpublic void cancelPendingSubmission(javax.faces.event.ActionEvent event)
event
- The eventpublic void updateFoldersPageSize(javax.faces.event.ActionEvent event)
public void updateFilesPageSize(javax.faces.event.ActionEvent event)
public void searchWebsite(javax.faces.event.ActionEvent event)
public void closeSearch(javax.faces.event.ActionEvent event)
public static int getMinimumSearchLength()
public void contextUpdated()
IContextListener
contextUpdated
in interface IContextListener
IContextListener.contextUpdated()
public void areaChanged()
IContextListener
areaChanged
in interface IContextListener
IContextListener.areaChanged()
public void spaceChanged()
IContextListener
spaceChanged
in interface IContextListener
IContextListener.spaceChanged()
public void revertAllConflict(javax.faces.event.ActionEvent event)
event
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |