diff --git a/config/alfresco/messages/webclient.properties b/config/alfresco/messages/webclient.properties index 28e9b1a883..70fe0c276f 100644 --- a/config/alfresco/messages/webclient.properties +++ b/config/alfresco/messages/webclient.properties @@ -1409,18 +1409,6 @@ change_expiration_date_change=Note: To change individual expiration dates click change_expiration_date_title=Change Expiration Date change_expiration_date_desc=This dialog allows you to change the expiration date for a modified item. expired_content_for_review=Expired Content For Review -link_validation=Link Validation -check_links=Check Links -check_links_info=If any broken links are found you will receive a task in your to do list to fix them. -checking_links_progress=Generating links report, please wait... -checking_links_status=Checked 0 links in 0 files. -view_link_validation_report=View Link Validation Report -link_validation_unknown_error=An unknown error occurred during the link validation check -link_validation_error=An error occurred during the link validation check -link_validaton_dialog_title_staging=Link Validation Report for Staging Sandbox -link_validaton_dialog_title_user=Link Validation Report for {0}''s Sandbox -link_validaton_dialog_title_workflow=Link Validation Report for Submitted Items -link_validaton_dialog_desc=This dialog shows the results of a link validation check and allows you to fix broken links. report_summary=Report Summary link_check_completed_at=Broken links were checked at {0} using snapshot {1}. link_check_not_latest=The latest snapshot version is {0}. @@ -1442,7 +1430,6 @@ generated_tab={0} Generated Files all_items_tab=All Items inc_tab_size=Increases the size of the scrollable area by 100px dec_tab_size=Decreases the size of the scrollable area by 100px (to a minimum of 100px) -failed_to_find_validation_report=Failed to find the link validation report, this is probably due to the report being too large, please lower the 'maxNumberLinksInReport' setting. prompt_for_web_form=Select Web Form prompt_for_web_form_info=Select the Web Form to use for editing this file diff --git a/config/alfresco/web-client-application-context.xml b/config/alfresco/web-client-application-context.xml index a37851c8da..d9a9ce61ea 100644 --- a/config/alfresco/web-client-application-context.xml +++ b/config/alfresco/web-client-application-context.xml @@ -62,9 +62,6 @@ - - - org.alfresco.globalConfigTransactionalCache diff --git a/config/alfresco/web-client-config-dialogs.xml b/config/alfresco/web-client-config-dialogs.xml index 6866b752db..1cb6e487c2 100644 --- a/config/alfresco/web-client-config-dialogs.xml +++ b/config/alfresco/web-client-config-dialogs.xml @@ -316,12 +316,6 @@ managed-bean="ReleaseTestServerDialog" icon="/images/icons/release_server_large.gif" title-id="release_server_title" description-id="release_server_info" /> - - nodesForSubmit = Collections.emptyList(); - /** Object used by link validation service to monitor the status of a link check */ - private HrefValidationProgress linkValidationMonitor; - - /** Link validation state instance used by link validation dialogs */ - private LinkValidationState linkValidationState; - /* component references */ private UIRichList foldersRichList; private UIRichList filesRichList; @@ -236,9 +226,6 @@ public class AVMBrowseBean implements IContextListener /** The SearchService reference */ transient private SearchService searchService; - /** The LinkValidationService */ - transient private LinkValidationService linkValidationService; - /** The PermissionService reference */ transient protected PermissionService permissionService; @@ -364,21 +351,6 @@ public class AVMBrowseBean implements IContextListener return workflowService; } - public void setLinkValidationService(LinkValidationService service) - { - this.linkValidationService = service; - } - - protected LinkValidationService getLinkValidationService() - { - if (linkValidationService == null) - { - linkValidationService = (LinkValidationService)FacesContextUtils.getRequiredWebApplicationContext( - FacesContext.getCurrentInstance()).getBean("LinkValidationService"); - } - return this.linkValidationService; - } - /** * @param searchService The Searcher to set. */ @@ -686,46 +658,6 @@ public class AVMBrowseBean implements IContextListener this.deploymentMonitorIds = deploymentMonitorIds; } - /** - * @return Returns the link validation monitor instance - */ - public HrefValidationProgress getLinkValidationMonitor() - { - return this.linkValidationMonitor; - } - - /** - * @param monitor The link validation monitor instance to use - */ - public void setLinkValidationMonitor(HrefValidationProgress monitor) - { - this.linkValidationMonitor = monitor; - } - - /** - * @return Returns the link validation state instance - */ - public LinkValidationState getLinkValidationState() - { - return this.linkValidationState; - } - - /** - * @param monitor The link validation state instance to use - */ - public void setLinkValidationState(LinkValidationState state) - { - this.linkValidationState = state; - } - - /** - * @return Determines whether the link validation service is enabled - */ - public boolean isLinkValidationEnabled() - { - return (this.getLinkValidationService().getPollInterval() > 0); - } - public List getNodesForSubmit() { return this.nodesForSubmit; @@ -1400,23 +1332,6 @@ public class AVMBrowseBean implements IContextListener return AVMUtil.isMainStore(this.sandbox); } - /** - * Indicates whether link validation is available (virtualization server is accessible). - * It can be used in the 'rendered' attribute in some tags. - * @see org.alfresco.linkvalidation.LinkValidationServiceImpl#isLinkValidationDisabled() - * - * @return TRUE if link validation is ENABLED (virtualization server IS ACCESSIBLE) - */ - public boolean getLinkValidationEnabled() - { - boolean enabled = !linkValidationService.isLinkValidationDisabled(); - if (logger.isDebugEnabled()) - { - logger.debug("Link validation enabled:" + String.valueOf(enabled).toUpperCase()); - } - return enabled; - } - // ------------------------------------------------------------------------------ // Action event handlers diff --git a/source/java/org/alfresco/web/bean/wcm/CreateWebContentWizard.java b/source/java/org/alfresco/web/bean/wcm/CreateWebContentWizard.java index fa4ad3f206..7926b70254 100644 --- a/source/java/org/alfresco/web/bean/wcm/CreateWebContentWizard.java +++ b/source/java/org/alfresco/web/bean/wcm/CreateWebContentWizard.java @@ -19,7 +19,6 @@ package org.alfresco.web.bean.wcm; import java.io.ByteArrayInputStream; -import java.io.Serializable; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Collection; @@ -35,9 +34,6 @@ import javax.faces.context.FacesContext; import javax.faces.event.ValueChangeEvent; import javax.faces.model.SelectItem; -import org.springframework.extensions.config.Config; -import org.springframework.extensions.config.ConfigElement; -import org.springframework.extensions.config.ConfigService; import org.alfresco.error.AlfrescoRuntimeException; import org.alfresco.model.ContentModel; import org.alfresco.model.WCMAppModel; @@ -50,7 +46,6 @@ import org.alfresco.repo.web.scripts.FileTypeImageUtils; import org.alfresco.service.cmr.avm.AVMExistsException; import org.alfresco.service.cmr.avm.AVMNodeDescriptor; import org.alfresco.service.cmr.avm.AVMService; -import org.alfresco.service.cmr.avm.locking.AVMLock; import org.alfresco.service.cmr.avm.locking.AVMLockingService; import org.alfresco.service.cmr.avmsync.AVMDifference; import org.alfresco.service.cmr.avmsync.AVMSyncService; @@ -76,6 +71,9 @@ import org.alfresco.web.ui.wcm.component.UIUserSandboxes; import org.apache.commons.io.FilenameUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.springframework.extensions.config.Config; +import org.springframework.extensions.config.ConfigElement; +import org.springframework.extensions.config.ConfigService; import org.w3c.dom.Document; /** @@ -93,7 +91,6 @@ public class CreateWebContentWizard extends CreateContentWizard protected FormInstanceData formInstanceData = null; protected boolean formSelectDisabled = false; protected boolean startWorkflow = false; - protected List locksToReturnToMainStoreOnCancel = null; protected String formDescriptionAttribute; transient private AVMLockingService avmLockingService; @@ -206,7 +203,6 @@ public class CreateWebContentWizard extends CreateContentWizard this.createMimeTypes = null; this.formChoices = null; this.filePickerBean.clearUploadedFiles(); - this.locksToReturnToMainStoreOnCancel = new ArrayList(4); // check for a form ID being passed in as a parameter if (this.parameters.get(UIUserSandboxes.PARAM_FORM_NAME) != null) @@ -343,49 +339,6 @@ public class CreateWebContentWizard extends CreateContentWizard return super.back(); } - @Override - public String cancel() - { - if (this.formInstanceData != null && this.renditions != null) - { - if (this.locksToReturnToMainStoreOnCancel.size() > 0) - { - for (String path : this.locksToReturnToMainStoreOnCancel) - { - String storeId = AVMUtil.getStoreId(path); - String storePath = AVMUtil.getStoreRelativePath(path); - String storeName = AVMUtil.getStoreName(path); - String mainStore = AVMUtil.getCorrespondingMainStoreName(storeName); - - if (logger.isDebugEnabled()) - logger.debug("transferring lock from " + storeName + " to " + mainStore + - " for path: " + path + " as user chose to cancel"); - - this.getAvmLockingService().modifyLock(storeId, storePath, null, mainStore, null, null); - } - } - } - - // remove any locks created as a result of uploading files - final NodeRef[] uploadedFiles = this.filePickerBean.getUploadedFiles(); - if (uploadedFiles != null && uploadedFiles.length > 0) - { - for (NodeRef uploadedFile : uploadedFiles) - { - String path = AVMNodeConverter.ToAVMVersionPath(uploadedFile).getSecond(); - String storeId = AVMUtil.getStoreId(path); - String storePath = AVMUtil.getStoreRelativePath(path); - - if (logger.isDebugEnabled()) - logger.debug("Removing lock for uploaded file: " + path); - - this.getAvmLockingService().removeLock(storeId, storePath); - } - } - - return super.cancel(); - } - @Override protected String finishImpl(final FacesContext context, String outcome) throws Exception @@ -418,19 +371,6 @@ public class CreateWebContentWizard extends CreateContentWizard } } this.getAvmSyncService().update(diffList, null, true, true, true, true, null, null); - for (final AVMDifference diff : diffList) - { - final String path = diff.getDestinationPath(); - if (logger.isDebugEnabled()) - { - logger.debug("modifying lock on " + path + - ". chaging store from " + - this.getAvmLockingService().getLock(AVMUtil.getStoreId(path), - AVMUtil.getStoreRelativePath(path)).getStore() + - " to " + AVMUtil.getStoreName(path)); - } - this.getAvmLockingService().modifyLock(AVMUtil.getStoreId(path), AVMUtil.getStoreRelativePath(path), null, AVMUtil.getStoreName(path), null, null); - } if (this.startWorkflow) { final List submitNodes = new ArrayList(1 + this.getUploadedFiles().size() + this.getRenditions().size()); @@ -543,31 +483,10 @@ public class CreateWebContentWizard extends CreateContentWizard if (logger.isDebugEnabled()) logger.debug("creating file " + fileName + " in " + path); - // get current username for lock checks - String username = Application.getCurrentUser(FacesContext.getCurrentInstance()).getUserName(); - // put the content of the file into the AVM store String filePath = AVMNodeConverter.ExtendAVMPath(path, fileName); try { - String storeId = AVMUtil.getStoreId(filePath); - String storePath = AVMUtil.getStoreRelativePath(filePath); - String storeName = AVMUtil.getStoreName(filePath); - AVMLock lock = this.getAvmLockingService().getLock(storeId, storePath); - if (lock != null && lock.getStore().equals(storeName) == false) - { - if (lock.getOwners().contains(username)) - { - // lock already exists on path, check it's owned by the current user - if (logger.isDebugEnabled()) - logger.debug("transferring lock from " + lock.getStore() + " to " + storeName + " for path: " + filePath); - - // add the path to the list of locks to return to the preview store if cancel is pressed - this.locksToReturnToMainStoreOnCancel.add(filePath); - this.getAvmLockingService().modifyLock(storeId, storePath, null, storeName, null, null); - } - } - /** * create the new file */ @@ -606,24 +525,6 @@ public class CreateWebContentWizard extends CreateContentWizard if (logger.isDebugEnabled()) logger.debug("About to render path: " + path); - String storeId = AVMUtil.getStoreId(path); - String storePath = AVMUtil.getStoreRelativePath(path); - String storeName = AVMUtil.getStoreName(path); - AVMLock lock = this.getAvmLockingService().getLock(storeId, storePath); - if (lock != null && lock.getStore().equals(storeName) == false) - { - // see if the lock belongs to the current user, if it does modify the lock to point to the preview store - if (lock.getOwners().contains(username)) - { - if (logger.isDebugEnabled()) - logger.debug("transferring lock from " + lock.getStore() + " to " + storeName + " for path: " + path); - - // add the path to the list of locks to return to the main store if cancel is pressed - this.locksToReturnToMainStoreOnCancel.add(path); - this.getAvmLockingService().modifyLock(storeId, storePath, null, storeName, null, null); - } - } - // generate the rendition this.renditions.add(ret.render(this.formInstanceData, path)); } diff --git a/source/java/org/alfresco/web/bean/wcm/EditWebContentWizard.java b/source/java/org/alfresco/web/bean/wcm/EditWebContentWizard.java index c4468a5117..f59a5a8b03 100644 --- a/source/java/org/alfresco/web/bean/wcm/EditWebContentWizard.java +++ b/source/java/org/alfresco/web/bean/wcm/EditWebContentWizard.java @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2005-2010 Alfresco Software Limited. * * This file is part of Alfresco @@ -14,293 +14,179 @@ * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.web.bean.wcm; - -import java.util.HashSet; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; + * along with Alfresco. If not, see . + */ +package org.alfresco.web.bean.wcm; + +import java.util.LinkedList; +import java.util.List; +import java.util.Map; import java.util.Set; - -import org.alfresco.repo.content.MimetypeMap; -import org.alfresco.service.cmr.avm.locking.AVMLock; -import org.alfresco.service.cmr.repository.ContentWriter; -import org.alfresco.web.app.Application; -import org.alfresco.web.forms.Form; -import org.alfresco.web.forms.FormInstanceData; -import org.alfresco.web.forms.FormNotFoundException; -import org.alfresco.web.forms.Rendition; -import org.alfresco.web.forms.XMLUtil; -import org.alfresco.web.ui.common.Utils; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Bean implementation for the "Edit Web Content Wizard" dialog - */ -public class EditWebContentWizard extends CreateWebContentWizard -{ - private static final long serialVersionUID = 439996926303151006L; - - private static final Log logger = LogFactory.getLog(EditWebContentWizard.class); - - private AVMNode avmNode; - private Form form; - + +import org.alfresco.repo.content.MimetypeMap; +import org.alfresco.service.cmr.repository.ContentWriter; +import org.alfresco.web.app.Application; +import org.alfresco.web.forms.Form; +import org.alfresco.web.forms.FormInstanceData; +import org.alfresco.web.forms.FormNotFoundException; +import org.alfresco.web.forms.Rendition; +import org.alfresco.web.forms.XMLUtil; +import org.alfresco.web.ui.common.Utils; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +/** + * Bean implementation for the "Edit Web Content Wizard" dialog + */ +public class EditWebContentWizard extends CreateWebContentWizard +{ + private static final long serialVersionUID = 439996926303151006L; + + private static final Log logger = LogFactory.getLog(EditWebContentWizard.class); + + private AVMNode avmNode; + private Form form; + protected Set existingLocks = null; - - // ------------------------------------------------------------------------------ - // Wizard implementation - - @Override - public void init(final Map parameters) - { - super.init(parameters); - this.avmNode = this.avmBrowseBean.getAvmActionNode(); - if (this.avmNode == null) - { - throw new IllegalArgumentException("Edit Form wizard requires action node context."); - } - - if (logger.isDebugEnabled()) - logger.debug("path is " + this.avmNode.getPath()); - - this.createdPath = AVMUtil.getCorrespondingPathInPreviewStore(this.avmNode.getPath()); - final WebProject webProject = new WebProject(this.createdPath); + + // ------------------------------------------------------------------------------ + // Wizard implementation + + @Override + public void init(final Map parameters) + { + super.init(parameters); + this.avmNode = this.avmBrowseBean.getAvmActionNode(); + if (this.avmNode == null) + { + throw new IllegalArgumentException("Edit Form wizard requires action node context."); + } + + if (logger.isDebugEnabled()) + logger.debug("path is " + this.avmNode.getPath()); + + this.createdPath = AVMUtil.getCorrespondingPathInPreviewStore(this.avmNode.getPath()); + final WebProject webProject = new WebProject(this.createdPath); - try - { + try + { this.formInstanceData = this.getFormsService().getFormInstanceData(-1, this.createdPath); - this.formName = this.formInstanceData.getForm().getName(); + this.formName = this.formInstanceData.getForm().getName(); this.fileName = this.formInstanceData.getName(); - this.form = webProject.getForm(this.formName); - } - catch (FormNotFoundException fnfe) - { - Utils.addErrorMessage(fnfe.getMessage(), fnfe); - } - this.content = this.getAvmService().getContentReader(-1, this.createdPath).getContentString(); - this.mimeType = MimetypeMap.MIMETYPE_XML; - - // calculate which locks are present at init time - this.existingLocks = new HashSet(4); - AVMLock lock = this.getAvmLockingService().getLock(AVMUtil.getStoreId(this.createdPath), - AVMUtil.getStoreRelativePath(this.createdPath)); - if (lock != null) - { - this.existingLocks.add(this.createdPath); - - if (logger.isDebugEnabled()) - logger.debug("Lock exists for xml instance " + this.createdPath + " at initialisation"); - } - - for (final Rendition r : this.formInstanceData.getRenditions()) - { - String path = r.getPath(); - lock = this.getAvmLockingService().getLock(AVMUtil.getStoreId(path), - AVMUtil.getStoreRelativePath(path)); - if (lock != null) - { - this.existingLocks.add(path); - - if (logger.isDebugEnabled()) - logger.debug("Lock exists for rendition " + path + " at initialisation"); - } - } - } - - @Override - public String cancel() - { - if (this.formInstanceData != null && this.renditions != null) - { + this.form = webProject.getForm(this.formName); + } + catch (FormNotFoundException fnfe) + { + Utils.addErrorMessage(fnfe.getMessage(), fnfe); + } + this.content = this.getAvmService().getContentReader(-1, this.createdPath).getContentString(); + this.mimeType = MimetypeMap.MIMETYPE_XML; + } + + @Override + public String cancel() + { + if (this.formInstanceData != null && this.renditions != null) + { if (this.existingLocks.contains(this.createdPath) == false) - { + { // there wasn't an existing lock on the form at the start of the - // wizard so remove the one present now - if (logger.isDebugEnabled()) - logger.debug("removing form instance data lock from " + - AVMUtil.getCorrespondingPathInMainStore(this.createdPath) + - " as user chose to cancel and it wasn't present at initialisation"); - - this.getAvmLockingService().removeLock(AVMUtil.getStoreId(this.createdPath), - AVMUtil.getStoreRelativePath(this.createdPath)); - } - - for (Rendition r : this.renditions) - { - String path = r.getPath(); - - if (this.existingLocks.contains(path) == false) - { - // there wasn't a lock on the rendition at the start of - // the wizard so remove the one present now - if (logger.isDebugEnabled()) - logger.debug("removing lock from rendition " + - AVMUtil.getCorrespondingPathInMainStore(path) + - " as user chose to cancel and it wasn't present at initialisation"); - - this.getAvmLockingService().removeLock(AVMUtil.getStoreId(path), - AVMUtil.getStoreRelativePath(path)); - } - } - } - - return super.cancel(); - } - - @Override - public String back() - { - if ("content".equals(Application.getWizardManager().getCurrentStepName())) - { - //override in order not to delete these items - this.formInstanceData = null; - this.renditions = null; - } - return super.back(); - } - - @Override - protected void saveContent() - throws Exception - { - if (logger.isDebugEnabled()) - logger.debug("saving " + this.createdPath); - - AVMLock lock = this.getAvmLockingService().getLock(AVMUtil.getStoreId(this.createdPath), - AVMUtil.getStoreRelativePath(this.createdPath)); - if (lock != null) - { - if (logger.isDebugEnabled()) - logger.debug("transferring lock from " + lock.getStore() + - " to " + AVMUtil.getStoreName(this.createdPath)); - - this.getAvmLockingService().modifyLock(AVMUtil.getStoreId(this.createdPath), - AVMUtil.getStoreRelativePath(this.createdPath), - null, - AVMUtil.getStoreName(this.createdPath), - null, - null); - } - - final ContentWriter writer = this.getAvmService().getContentWriter(this.createdPath, true); - this.content = XMLUtil.toString(this.getInstanceDataDocument(), false); - writer.putContent(this.content); - - // XXXarielb might not need to do this reload - this.formInstanceData = this.getFormsService().getFormInstanceData(-1, this.createdPath); - for (final Rendition r : this.formInstanceData.getRenditions()) - { - lock = this.getAvmLockingService().getLock(AVMUtil.getStoreId(r.getPath()), - AVMUtil.getStoreRelativePath(r.getPath())); - if (lock != null) - { - if (logger.isDebugEnabled()) - logger.debug("transferring lock from " + lock.getStore() + - " to " + AVMUtil.getStoreName(r.getPath())); - - this.getAvmLockingService().modifyLock(AVMUtil.getStoreId(r.getPath()), - AVMUtil.getStoreRelativePath(r.getPath()), - null, - AVMUtil.getStoreName(r.getPath()), - null, - null); - } - } - - final List result = this.formInstanceData.regenerateRenditions(); - this.renditions = new LinkedList(); - for (FormInstanceData.RegenerateResult rr : result) - { - if (rr.getException() != null) - { - Utils.addErrorMessage("error regenerating rendition using " + rr.getRenderingEngineTemplate().getName() + - ": " + rr.getException().getMessage(), - rr.getException()); - - // if the renditions were locked before the regenerate, move the lock back to main store - String path = rr.getPath(); - - if (rr.getExistingLock() != null) - { - this.existingLocks.add(path); - } + // wizard so remove the one present now + if (logger.isDebugEnabled()) + logger.debug("removing form instance data lock from " + + AVMUtil.getCorrespondingPathInMainStore(this.createdPath) + + " as user chose to cancel and it wasn't present at initialisation"); - if (this.existingLocks.contains(path)) - { - if (logger.isDebugEnabled()) - logger.debug("transferring existing lock for " + path + - " back to " + AVMUtil.getCorrespondingMainStoreName(AVMUtil.getStoreName(path))); - - this.getAvmLockingService().modifyLock(AVMUtil.getStoreId(path), - AVMUtil.getStoreRelativePath(path), - null, - AVMUtil.getCorrespondingMainStoreName(AVMUtil.getStoreName(path)), - null, - null); - } - } - else - { - final Rendition r = rr.getRendition(); - this.renditions.add(r); - + this.getAvmLockingService().removeLock(AVMUtil.getStoreId(this.createdPath), + AVMUtil.getStoreRelativePath(this.createdPath)); + } + + for (Rendition r : this.renditions) + { String path = r.getPath(); - if (rr.getExistingLock() != null) + if (this.existingLocks.contains(path) == false) { - this.existingLocks.add(path); + // there wasn't a lock on the rendition at the start of + // the wizard so remove the one present now + if (logger.isDebugEnabled()) + logger.debug("removing lock from rendition " + + AVMUtil.getCorrespondingPathInMainStore(path) + + " as user chose to cancel and it wasn't present at initialisation"); + + this.getAvmLockingService().removeLock(AVMUtil.getStoreId(path), + AVMUtil.getStoreRelativePath(path)); } - - if (logger.isDebugEnabled()) - logger.debug("transferring lock for " + path + - " back to " + AVMUtil.getCorrespondingMainStoreName(AVMUtil.getStoreName(path))); - - this.getAvmLockingService().modifyLock(AVMUtil.getStoreId(path), - AVMUtil.getStoreRelativePath(path), - null, - AVMUtil.getCorrespondingMainStoreName(AVMUtil.getStoreName(path)), - null, - null); - } - } - - if (logger.isDebugEnabled()) - logger.debug("transferring form instance data lock back to " + - AVMUtil.getCorrespondingMainStoreName(AVMUtil.getStoreName(this.createdPath))); - - this.getAvmLockingService().modifyLock(AVMUtil.getStoreId(this.createdPath), - AVMUtil.getStoreRelativePath(this.createdPath), - null, - AVMUtil.getCorrespondingMainStoreName(AVMUtil.getStoreName(this.createdPath)), - null, - null); - } - - /** Indicates whether or not the wizard is currently in edit mode */ - @Override - public boolean getEditMode() - { - return true; - } - - @Override - public boolean getSubmittable() - { - return !AVMUtil.isWorkflowStore(AVMUtil.getStoreName(this.createdPath)); - } - - /** - * Overridden to avoid calling getWebProject since potentially there is no web project - * context in workflow scenario. - */ - @Override - public Form getForm() - { - return this.form; - } -} + } + } + + return super.cancel(); + } + + @Override + public String back() + { + if ("content".equals(Application.getWizardManager().getCurrentStepName())) + { + //override in order not to delete these items + this.formInstanceData = null; + this.renditions = null; + } + return super.back(); + } + + @Override + protected void saveContent() + throws Exception + { + if (logger.isDebugEnabled()) + logger.debug("saving " + this.createdPath); + + final ContentWriter writer = this.getAvmService().getContentWriter(this.createdPath, true); + this.content = XMLUtil.toString(this.getInstanceDataDocument(), false); + writer.putContent(this.content); + + // XXXarielb might not need to do this reload + this.formInstanceData = this.getFormsService().getFormInstanceData(-1, this.createdPath); + final List result = this.formInstanceData.regenerateRenditions(); + this.renditions = new LinkedList(); + for (FormInstanceData.RegenerateResult rr : result) + { + if (rr.getException() != null) + { + Utils.addErrorMessage("error regenerating rendition using " + rr.getRenderingEngineTemplate().getName() + + ": " + rr.getException().getMessage(), + rr.getException()); + } + else + { + final Rendition r = rr.getRendition(); + this.renditions.add(r); + } + } + } + + /** Indicates whether or not the wizard is currently in edit mode */ + @Override + public boolean getEditMode() + { + return true; + } + + @Override + public boolean getSubmittable() + { + return !AVMUtil.isWorkflowStore(AVMUtil.getStoreName(this.createdPath)); + } + + /** + * Overridden to avoid calling getWebProject since potentially there is no web project + * context in workflow scenario. + */ + @Override + public Form getForm() + { + return this.form; + } +} diff --git a/source/java/org/alfresco/web/bean/wcm/LinkValidationDialog.java b/source/java/org/alfresco/web/bean/wcm/LinkValidationDialog.java deleted file mode 100644 index 1ff9e6bddb..0000000000 --- a/source/java/org/alfresco/web/bean/wcm/LinkValidationDialog.java +++ /dev/null @@ -1,411 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.web.bean.wcm; - -import java.io.Serializable; -import java.text.MessageFormat; -import java.util.HashMap; -import java.util.Map; - -import javax.faces.context.FacesContext; -import javax.faces.event.ActionEvent; -import javax.transaction.UserTransaction; - -import org.alfresco.linkvalidation.HrefValidationProgress; -import org.alfresco.linkvalidation.LinkValidationAction; -import org.alfresco.linkvalidation.LinkValidationReport; -import org.alfresco.repo.avm.AVMNodeConverter; -import org.alfresco.repo.domain.PropertyValue; -import org.alfresco.wcm.sandbox.SandboxConstants; -import org.alfresco.service.cmr.action.Action; -import org.alfresco.service.cmr.action.ActionService; -import org.alfresco.service.cmr.avm.AVMService; -import org.alfresco.service.cmr.repository.NodeRef; -import org.springframework.extensions.surf.util.ParameterCheck; -import org.alfresco.web.app.Application; -import org.alfresco.web.bean.dialog.BaseDialogBean; -import org.alfresco.web.bean.repository.Repository; -import org.alfresco.web.ui.common.Utils; -import org.alfresco.web.ui.common.component.UIActionLink; -import org.alfresco.web.ui.wcm.component.UILinkValidationReport; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Implementation of the link validation dialog. - * - * The dialog is in one of 2 modes, either running a report showing progress - * or showing the results of an executed link check. - * - * @author gavinc - */ -public class LinkValidationDialog extends BaseDialogBean -{ - private static final long serialVersionUID = 3459041471664931826L; - - protected AVMBrowseBean avmBrowseBean; - - transient private AVMService avmService; - transient private ActionService actionService; - - private String store; - private String webapp; - private String webappPath; - private String initialTab; - private String title; - private NodeRef webappPathRef; - private boolean runningReport = false; - private boolean update = false; - private boolean compareToStaging = false; - private boolean sectionsExpanded = false; - - private static final Log logger = LogFactory.getLog(LinkValidationDialog.class); - - // ------------------------------------------------------------------------------ - // Dialog implementation - - @Override - public void init(Map parameters) - { - super.init(parameters); - - // check required params are present - this.store = parameters.get("store"); - this.webapp = parameters.get("webapp"); - ParameterCheck.mandatoryString("store", this.store); - ParameterCheck.mandatoryString("webapp", this.webapp); - - // setup context for dialog - this.webappPath = AVMUtil.buildStoreWebappPath(this.store, this.webapp); - this.webappPathRef = AVMNodeConverter.ToNodeRef(-1, this.webappPath); - this.initialTab = UILinkValidationReport.DEFAULT_INTIAL_TAB; - - this.runningReport = false; - String modeParam = parameters.get("mode"); - if (modeParam != null && modeParam.equalsIgnoreCase("runReport")) - { - this.runningReport = true; - } - - this.update = false; - String updateParam = parameters.get("update"); - if (updateParam != null && updateParam.equals("true")) - { - this.update = true; - } - - this.compareToStaging = false; - String compareToStagingParam = parameters.get("compareToStaging"); - if (compareToStagingParam != null && compareToStagingParam.equalsIgnoreCase("true")) - { - this.compareToStaging = true; - } - - // work out title for dialog by examining store type - FacesContext context = FacesContext.getCurrentInstance(); - if (this.getAvmService().getStoreProperty(this.store, - SandboxConstants.PROP_SANDBOX_AUTHOR_MAIN) != null) - { - String pattern = Application.getMessage(context, "link_validaton_dialog_title_user"); - String user = AVMUtil.getUserName(this.store); - this.title = MessageFormat.format(pattern, - new Object[] {user}); - } - else if (this.getAvmService().getStoreProperty(this.store, - SandboxConstants.PROP_SANDBOX_STAGING_MAIN) != null) - { - this.title = Application.getMessage(context, "link_validaton_dialog_title_staging"); - } - else if (this.getAvmService().getStoreProperty(this.store, - SandboxConstants.PROP_SANDBOX_WORKFLOW_MAIN) != null) - { - this.title = Application.getMessage(context, "link_validaton_dialog_title_workflow"); - } - - if (logger.isDebugEnabled()) - { - if (this.runningReport) - { - if (this.update) - logger.debug("Starting update link validation check for webapp '" + this.webappPath + "'"); - else - logger.debug("Starting initial link validation check for webapp '" + this.webappPath + "'"); - } - else - { - logger.debug("Showing link validation report for webapp '" + this.webappPath + "'"); - } - } - - // execute the report if required - if (this.runningReport) - { - executeReport(); - } - } - - @SuppressWarnings("unchecked") - @Override - protected String finishImpl(FacesContext context, String outcome) throws Exception - { - if (logger.isDebugEnabled()) - logger.debug("Starting fresh link validation check for webapp '" + this.webappPath + "'"); - - // indicate we need a new report produced then execute - this.update = false; - this.runningReport = true; - executeReport(); - - // reset the isFinished flag so we can run the report again - this.isFinished = false; - - return null; - } - - @Override - public String getContainerTitle() - { - return this.title; - } - - @Override - public boolean getFinishButtonDisabled() - { - return this.runningReport; - } - - @Override - public String getFinishButtonLabel() - { - return Application.getMessage(FacesContext.getCurrentInstance(), "rerun_report"); - } - - @Override - public String getCancelButtonLabel() - { - return Application.getMessage(FacesContext.getCurrentInstance(), "close"); - } - - // ------------------------------------------------------------------------------ - // Event handlers - - public String linkCheckCompleted() - { - String outcome = null; - - // indicate that we are now showing a report - this.runningReport = false; - - if (logger.isDebugEnabled()) - { - if (this.update) - logger.debug("Link check has completed, updating state object"); - else - logger.debug("Link check has completed, creating state object"); - } - - // the link validation report should be stored as a store property - // on the store the link check was run on, retrieve it and see if - // the link check was successful. - - FacesContext context = FacesContext.getCurrentInstance(); - UserTransaction tx = null; - - try - { - tx = Repository.getUserTransaction(context, true); - tx.begin(); - - PropertyValue val = this.getAvmService().getStoreProperty(this.store, - SandboxConstants.PROP_LINK_VALIDATION_REPORT); - if (val != null) - { - LinkValidationReport report = (LinkValidationReport)val.getSerializableValue(); - if (report != null) - { - // setup the context required by the reporting components to display the results - if (this.update) - { - this.avmBrowseBean.getLinkValidationState().updateState(report); - } - else - { - LinkValidationState state = new LinkValidationState(report); - this.avmBrowseBean.setLinkValidationState(state); - } - } - } - - // commit the changes - tx.commit(); - } - catch (Throwable e) - { - // rollback the transaction - try { if (tx != null) {tx.rollback();} } catch (Exception ex) {} - Utils.addErrorMessage(formatErrorMessage(e), e); - } - - return outcome; - } - - public void toggleSections(ActionEvent event) - { - this.sectionsExpanded = !this.sectionsExpanded; - - UIActionLink link = (UIActionLink)event.getComponent(); - Map params = link.getParameterMap(); - String tab = params.get("tab"); - - if (tab != null) - { - this.initialTab = tab; - } - } - - /** - * Sets up the dialog to update the status and display the differences - * - * @return The outcome, null to stay on this page - */ - public String updateStatus() - { - if (logger.isDebugEnabled()) - logger.debug("Updating status for link validation report for webapp '" + this.webappPath + "'"); - - // indicate we need an update report produced then execute - this.update = true; - this.runningReport = true; - executeReport(); - - return null; - } - - // ------------------------------------------------------------------------------ - // Helpers - - protected void executeReport() - { - if (logger.isDebugEnabled()) - logger.debug("Creating LinkValidationAction to run report for webapp '" + this.webappPath + "'"); - - // create context required to run and monitor the link check - HrefValidationProgress monitor = new HrefValidationProgress(); - Map args = new HashMap(1, 1.0f); - args.put(LinkValidationAction.PARAM_MONITOR, monitor); - args.put(LinkValidationAction.PARAM_COMPARE_TO_STAGING, new Boolean(this.compareToStaging)); - this.avmBrowseBean.setLinkValidationMonitor(monitor); - - // create and execute the action in the background - Action action = this.getActionService().createAction(LinkValidationAction.NAME, args); - this.getActionService().executeAction(action, this.webappPathRef, false, true); - } - - // ------------------------------------------------------------------------------ - // Bean getters and setters - - /** - * @return true if the dialog is currently running a report - */ - public boolean getRunningReport() - { - return this.runningReport; - } - - /** - * @return true if the dialog is currently showing a report - */ - public boolean getShowingReport() - { - return !this.runningReport; - } - - /** - * @return true if the broken links and generated files section are expanded - */ - public boolean getSectionsExpanded() - { - return sectionsExpanded; - } - - /** - * @param sectionsExpanded true if the broken links and generated - * files section are expanded - */ - public void setSectionsExpanded(boolean sectionsExpanded) - { - this.sectionsExpanded = sectionsExpanded; - } - - /** - * @return The initial tab to be selected - */ - public String getInitialTab() - { - return initialTab; - } - - /** - * @param initialTab Sets the initial tab to be selected - */ - public void setInitialTab(String initialTab) - { - this.initialTab = initialTab; - } - - /** - * @param avmBrowseBean The AVM BrowseBean to set - */ - public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean) - { - this.avmBrowseBean = avmBrowseBean; - } - - public void setAvmService(AVMService avmService) - { - this.avmService = avmService; - } - - protected AVMService getAvmService() - { - if (this.avmService == null) - { - this.avmService = Repository.getServiceRegistry(FacesContext.getCurrentInstance()).getAVMService(); - } - return this.avmService; - } - - /** - * @param actionService The actionService to set. - */ - public void setActionService(ActionService actionService) - { - this.actionService = actionService; - } - - protected ActionService getActionService() - { - if (this.actionService == null) - { - this.actionService = Repository.getServiceRegistry(FacesContext.getCurrentInstance()).getActionService(); - } - return this.actionService; - } - -} diff --git a/source/java/org/alfresco/web/bean/wcm/LinkValidationProgressBean.java b/source/java/org/alfresco/web/bean/wcm/LinkValidationProgressBean.java deleted file mode 100644 index 59a334927f..0000000000 --- a/source/java/org/alfresco/web/bean/wcm/LinkValidationProgressBean.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.web.bean.wcm; - -import java.io.IOException; -import java.io.Serializable; - -import javax.faces.context.FacesContext; -import javax.faces.context.ResponseWriter; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Bean used by the AJAX callback from the RunLinkValidationDialog. - * - * @author gavinc - */ -public class LinkValidationProgressBean implements Serializable -{ - private static final long serialVersionUID = -6250162468103556028L; - - private AVMBrowseBean avmBrowseBean; - - private static Log logger = LogFactory.getLog(LinkValidationProgressBean.class); - - public void getStatus() throws IOException - { - FacesContext context = FacesContext.getCurrentInstance(); - ResponseWriter out = context.getResponseWriter(); - - if (logger.isDebugEnabled()) - logger.debug("Retrieving progress status for link validation check..."); - - StringBuilder xml = new StringBuilder(""); - xml.append(""); - - // send the generated XML back to the callee - out.write(xml.toString()); - - if (logger.isDebugEnabled()) - logger.debug("returning XML: " + xml.toString()); - } - - public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean) - { - this.avmBrowseBean = avmBrowseBean; - } -} diff --git a/source/java/org/alfresco/web/bean/wcm/LinkValidationState.java b/source/java/org/alfresco/web/bean/wcm/LinkValidationState.java deleted file mode 100644 index 7b7230d517..0000000000 --- a/source/java/org/alfresco/web/bean/wcm/LinkValidationState.java +++ /dev/null @@ -1,565 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.web.bean.wcm; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import javax.faces.context.FacesContext; - -import org.alfresco.linkvalidation.LinkValidationReport; -import org.alfresco.model.WCMAppModel; -import org.alfresco.repo.avm.AVMNodeConverter; -import org.alfresco.service.cmr.avm.AVMService; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.repository.NodeService; -import org.alfresco.web.bean.repository.Repository; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Object used to retrieve and store the state of a link validaton process. - * The object is given an initial link validation report object (the result - * of a LinkValidationService service call) which is used by components - * to display the result of the links check. - *

- * Further reports can then subsequently be given to this object at which - * point a difference is calculated i.e. which links (if any) have been - * fixed. This allows components to display the progress of link fixing. - *

- * - * @author gavinc - */ -public class LinkValidationState implements Serializable -{ - private static final long serialVersionUID = 3798453845183433843L; - - private String store; - private String webapp; - private boolean checkBeenReRun = false; - private boolean maxLinksReached = false; - private Date checkCompletedAt; - - private int noFilesCheckedStart = -1; - private int noFilesCheckedLast = -1; - - private int noLinksCheckedStart = -1; - private int noLinksCheckedLast = -1; - - private int noBrokenFilesStart = -1; - private int noBrokenFilesLast = -1; - - private int noBrokenLinksStart = -1; - private int noBrokenLinksLast = -1; - - private int noFixedItems = -1; - - private int noBrokenLinksInStaticFiles = -1; - private int noBrokenLinksInForms = -1; - - private int baseSnapshotVersion = 0; - private int latestSnapshotVersion = 0; - - private int maxNumberLinksInReport = -1; - - private List brokenStaticFilesStart; - private List brokenFormsStart; - - private List brokenStaticFilesLast; - private List brokenFormsLast; - - private List fixedFiles; - private List fixedForms; - - private Map> brokenLinksByFile; - private Map> brokenFilesByForm; - - private Throwable cause; - - private static Log logger = LogFactory.getLog(LinkValidationState.class); - - /** - * Default constructor - */ - public LinkValidationState(LinkValidationReport initialReport) - { - this.store = initialReport.getStore(); - this.webapp = initialReport.getWebapp(); - - processReport(initialReport, false); - } - - // ------------------------------------------------------------------------------ - // Getters - - /** - * @return The store this validation state represents - */ - public String getStore() - { - return this.store; - } - - /** - * @return The webapp within a store this validaton state represents - */ - public String getWebapp() - { - return this.webapp; - } - - /** - * @return The date the check was completed - */ - public Date getCheckCompletedAt() - { - return this.checkCompletedAt; - } - - /** - * @return The error that caused the last report to fail - */ - public Throwable getError() - { - return this.cause; - } - - /** - * @return The number of files checked by the initial link check - */ - public int getInitialNumberFilesChecked() - { - return this.noFilesCheckedStart; - } - - /** - * @return The number of links checked by the initial link check - */ - public int getInitialNumberLinksChecked() - { - return this.noLinksCheckedStart; - } - - /** - * @return The number of broken files found by the initial link check - */ - public int getInitialNumberBrokenFiles() - { - return this.noBrokenFilesStart; - } - - /** - * @return The number of broken links found by the initial link check - */ - public int getInitialNumberBrokenLinks() - { - return this.noBrokenLinksStart; - } - - /** - * @return The number of files checked by the latest link check - */ - public int getNumberFilesChecked() - { - return this.noFilesCheckedLast; - } - - /** - * @return The number of links checked by the latest link check - */ - public int getNumberLinksChecked() - { - return this.noLinksCheckedLast; - } - - /** - * @return The number of broken files found by the latest link check - */ - public int getNumberBrokenFiles() - { - return this.noBrokenFilesLast; - } - - /** - * @return The number of broken links found by the latest link check - */ - public int getNumberBrokenLinks() - { - return this.noBrokenLinksLast; - } - - /** - * @return The number of broken links in static files - */ - public int getNoBrokenLinksInStaticFiles() - { - return noBrokenLinksInStaticFiles; - } - - /** - * @return The number of broken links in forms - */ - public int getNoBrokenLinksInForms() - { - return noBrokenLinksInForms; - } - - /** - * @return The number of items fixed since the initial link check - */ - public int getNumberFixedItems() - { - return this.noFixedItems; - } - - /** - * @return The snapshot version of the staging area the link check was run against - */ - public int getBaseSnapshotVersion() - { - return this.baseSnapshotVersion; - } - - /** - * @return The snapshot version of the staging area at the end of the link check - */ - public int getLatestSnapshotVersion() - { - return this.latestSnapshotVersion; - } - - /** - * @return The maximum number of links a report can have - */ - public int getMaxNumberLinksInReport() - { - return this.maxNumberLinksInReport; - } - - /** - * @return true if the maximum number of links was exceeded in the last check - */ - public boolean hasMaxNumberLinksExceeded() - { - return this.maxLinksReached; - } - - /** - * @return A list of paths to non-generated files that contain broken links - */ - public List getStaticFilesWithBrokenLinks() - { - return this.brokenStaticFilesLast; - } - - /** - * @return A list of forms that have generated files containing broken links - */ - public List getFormsWithBrokenLinks() - { - return this.brokenFormsLast; - } - - /** - * @param form The name of a form to find broken files for - * @return The list of broken files generated by the given form - */ - public List getBrokenFilesByForm(String form) - { - return this.brokenFilesByForm.get(form); - } - - /** - * @param file The path to a file with broken links - * @return The list of broken links within the given file - */ - public List getBrokenLinksForFile(String file) - { - return this.brokenLinksByFile.get(file); - } - - /** - * @return The list of files that have been fixed since the - * initial link check - */ - public List getFixedFiles() - { - return this.fixedFiles; - } - - /** - * @return The list of forms that have been fixed since the - * initial link check - */ - public List getFixedForms() - { - return this.fixedForms; - } - - // ------------------------------------------------------------------------------ - // Implementation - - /** - * Determines whether the link validation check has been re-run since - * the intial check - * - * @return true if the link check has been re-run, false otherwise - */ - public boolean hasCheckBeenReRun() - { - return this.checkBeenReRun; - } - - /** - * Updates the link validation state with the result from a re-run of - * the link check - * - * @param newReport The report to compare the intial report with - */ - public void updateState(LinkValidationReport newReport) - { - // make sure the updated report has the same store and webapp - // as the initial report - if ((newReport.getStore().equals(this.store) == false) || - (newReport.getWebapp().equals(this.webapp) == false)) - { - throw new IllegalStateException("Can not update a report from a different store or webapp!"); - } - - // process the new report - processReport(newReport, true); - } - - @Override - public String toString() - { - StringBuilder buffer = new StringBuilder(super.toString()); - buffer.append(" (store=").append(this.store); - buffer.append(" webapp=").append(this.webapp); - buffer.append(" baseSnapshot=").append(this.baseSnapshotVersion); - buffer.append(" latestSnapshot=").append(this.latestSnapshotVersion); - buffer.append(" error=").append(this.cause).append(")"); - return buffer.toString(); - } - - // ------------------------------------------------------------------------------ - // Private Helpers - - public void processReport(LinkValidationReport report, boolean updatedReport) - { - this.checkBeenReRun = updatedReport; - this.cause = report.getError(); - - // update the check completed date - this.checkCompletedAt = report.getCheckCompletedAt(); - - // get the snapshot versions - this.baseSnapshotVersion = report.getBaseSnapshotVersion(); - this.latestSnapshotVersion = report.getLatestSnapshotVersion(); - - // get whether the max number of links was exceeded for the report - // and the maximum number of links allowed - this.maxLinksReached = report.hasMaxNumberLinksExceeded(); - this.maxNumberLinksInReport = report.getMaxNumberLinksInReport(); - - if (this.cause == null) - { - if (updatedReport == false) - { - // setup initial counts - this.noBrokenFilesStart = report.getNumberBrokenFiles(); - this.noBrokenLinksStart = report.getNumberBrokenLinks(); - this.noFilesCheckedStart = report.getNumberFilesChecked(); - this.noLinksCheckedStart = report.getNumberLinksChecked(); - this.noBrokenFilesLast = report.getNumberBrokenFiles(); - this.noBrokenLinksLast = report.getNumberBrokenLinks(); - this.noFilesCheckedLast = report.getNumberFilesChecked(); - this.noLinksCheckedLast = report.getNumberLinksChecked(); - this.noFixedItems = 0; - - // setup fixed lists - this.fixedFiles = new ArrayList(this.noBrokenFilesStart); - this.fixedForms = new ArrayList(this.noBrokenFilesStart); - - // process the broken files and determine which ones are static files - // and which ones are generated - processFiles(report.getFilesWithBrokenLinks(), updatedReport, report); - } - else - { - // update the relevant counts - this.noBrokenFilesLast = report.getNumberBrokenFiles(); - this.noBrokenLinksLast = report.getNumberBrokenLinks(); - this.noFilesCheckedLast = report.getNumberFilesChecked(); - this.noLinksCheckedLast = report.getNumberLinksChecked(); - - // process the broken files and determine which ones are static files - // and which ones are generated - processFiles(report.getFilesWithBrokenLinks(), updatedReport, report); - - // go through the list of files & forms still broken and find which ones - // were fixed in the last re-run of the report - for (String file : this.brokenStaticFilesStart) - { - if (this.brokenStaticFilesLast.contains(file) == false && - this.fixedFiles.contains(file) == false) - { - this.fixedFiles.add(file); - } - } - - for (String file : this.brokenFormsStart) - { - if (this.brokenFormsLast.contains(file) == false && - this.fixedForms.contains(file) == false) - { - this.fixedForms.add(file); - } - } - - // calculate the number of fixed items we have - this.noFixedItems = this.fixedFiles.size() + this.fixedForms.size(); - } - - // calculate the number of broken links for static files and how - // many are from generated files (forms) - this.noBrokenLinksInStaticFiles = 0; - this.noBrokenLinksInForms = 0; - - for (String file : this.brokenStaticFilesLast) - { - List links = this.getBrokenLinksForFile(file); - if (links != null) - { - this.noBrokenLinksInStaticFiles += links.size(); - } - } - - for (String form : this.brokenFormsLast) - { - for (String file: this.getBrokenFilesByForm(form)) - { - List links = this.getBrokenLinksForFile(file); - if (links != null) - { - this.noBrokenLinksInForms += links.size(); - } - } - } - } - } - - protected void processFiles(List files, boolean updatedReport, LinkValidationReport report) - { - AVMService avmService = Repository.getServiceRegistry( - FacesContext.getCurrentInstance()).getAVMService(); - NodeService nodeService = Repository.getServiceRegistry( - FacesContext.getCurrentInstance()).getNodeService(); - - if (logger.isDebugEnabled()) - { - if (updatedReport) - logger.debug("Processing files from updated report: " + report); - else - logger.debug("Processing files from initial report: " + report); - } - - // reset the 'last' lists and the maps - this.brokenStaticFilesLast = new ArrayList(this.noBrokenFilesLast); - this.brokenFormsLast = new ArrayList(this.noBrokenFilesLast); - this.brokenFilesByForm = new HashMap>(this.noBrokenFilesLast); - this.brokenLinksByFile = new HashMap>(this.noBrokenFilesLast); - - // iterate around the files and determine which ones are generated and static - for (String file : files) - { - if (avmService.hasAspect(-1, file, WCMAppModel.ASPECT_FORM_INSTANCE_DATA)) - { - if (avmService.hasAspect(-1, file, WCMAppModel.ASPECT_RENDITION)) - { - if (logger.isDebugEnabled()) - logger.debug("Processing generated file: " + file); - - // store the broken links in the file - this.brokenLinksByFile.put(file, report.getBrokenLinksForFile(file)); - - // find the XML that generated this file - NodeRef nodeRef = AVMNodeConverter.ToNodeRef(-1, file); - String xmlPath = (String)nodeService.getProperty(nodeRef, - WCMAppModel.PROP_PRIMARY_FORM_INSTANCE_DATA); - xmlPath = this.store + ":" + xmlPath; - - if (logger.isDebugEnabled()) - logger.debug("Found source XML for '" + file + "': " + xmlPath); - - // store the XML as a broken form (if not already) - if (this.brokenFormsLast.contains(xmlPath) == false) - { - this.brokenFormsLast.add(xmlPath); - } - - // store the list of files generated by the XML in the map - List genFiles = this.brokenFilesByForm.get(xmlPath); - if (genFiles == null) - { - genFiles = new ArrayList(1); - } - genFiles.add(file); - this.brokenFilesByForm.put(xmlPath, genFiles); - } - else - { - if (logger.isDebugEnabled()) - logger.debug("Ignoring generated XML file: " + file); - } - } - else - { - if (logger.isDebugEnabled()) - logger.debug("Processing static file: " + file); - - // the file does not have the form instance data aspect so it must - // have been added manually - this.brokenStaticFilesLast.add(file); - this.brokenLinksByFile.put(file, report.getBrokenLinksForFile(file)); - } - } - - // if this is the first run of the report setup the initial lists - if (updatedReport == false) - { - this.brokenStaticFilesStart = new ArrayList(this.brokenStaticFilesLast.size()); - this.brokenStaticFilesStart.addAll(this.brokenStaticFilesLast); - - this.brokenFormsStart = new ArrayList(this.brokenFormsLast.size()); - this.brokenFormsStart.addAll(this.brokenFormsLast); - } - } -} - - - - - - - diff --git a/source/java/org/alfresco/web/bean/wcm/ManageChangeRequestTaskDialog.java b/source/java/org/alfresco/web/bean/wcm/ManageChangeRequestTaskDialog.java index 5f37b0831d..f0898dd481 100644 --- a/source/java/org/alfresco/web/bean/wcm/ManageChangeRequestTaskDialog.java +++ b/source/java/org/alfresco/web/bean/wcm/ManageChangeRequestTaskDialog.java @@ -20,6 +20,7 @@ package org.alfresco.web.bean.wcm; import java.io.Serializable; import java.util.ArrayList; +import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -27,10 +28,10 @@ import java.util.Map; import javax.faces.context.FacesContext; import javax.transaction.UserTransaction; +import org.alfresco.error.AlfrescoRuntimeException; import org.alfresco.model.WCMModel; import org.alfresco.repo.avm.AVMNodeConverter; import org.alfresco.service.cmr.avm.AVMNodeDescriptor; -import org.alfresco.service.cmr.avm.locking.AVMLock; import org.alfresco.service.cmr.avm.locking.AVMLockingService; import org.alfresco.service.cmr.avmsync.AVMDifference; import org.alfresco.service.cmr.repository.NodeRef; @@ -132,25 +133,32 @@ public class ManageChangeRequestTaskDialog extends ManageTaskDialog // move locks for (AVMDifference diff : diffs) { - String sourcePath = diff.getSourcePath(); - String destPath = diff.getDestinationPath(); - // move the lock for this path from the user workflow sandbox to the users main store - AVMLock lock = this.getAvmLockingService().getLock(AVMUtil.getStoreId(sourcePath), - AVMUtil.getStoreRelativePath(sourcePath)); - if (lock != null) + String diffSourcePath = diff.getSourcePath(); + String diffSourceAvmStore = WCMUtil.getWebProjectStoreIdFromPath(diffSourcePath); + String sourceWebProject = WCMUtil.getWebProjectStoreId(diffSourceAvmStore); + String diffTargetPath = diff.getDestinationPath(); + String diffTargetAvmStore = WCMUtil.getWebProjectStoreIdFromPath(diffTargetPath); + String targetWebProject = WCMUtil.getWebProjectStoreId(diffSourceAvmStore); + if (!sourceWebProject.equals(targetWebProject)) { - this.getAvmLockingService().modifyLock(AVMUtil.getStoreId(sourcePath), - AVMUtil.getStoreRelativePath(sourcePath), null, - AVMUtil.getStoreName(destPath), lock.getOwners(), - newLockOwners); - - if (logger.isDebugEnabled()) - { - logger.debug("Moved lock: " + lock + " to: " + - this.getAvmLockingService().getLock(AVMUtil.getStoreId(destPath), - AVMUtil.getStoreRelativePath(destPath))); - } + throw new AlfrescoRuntimeException( + "The source web project does not match the target web project: \n" + + " Source: " + diffSourcePath + "\n" + + " Target: " + diffTargetPath); + } + // Modify the lock + Map lockAttributes = Collections.singletonMap( + WCMUtil.LOCK_KEY_STORE_NAME, diffTargetAvmStore); + boolean modified = this.getAvmLockingService().modifyLock( + sourceWebProject, AVMUtil.getStoreRelativePath(diffSourcePath), username, + sourceWebProject, null, lockAttributes); + if (modified && logger.isDebugEnabled()) + { + logger.debug( + "Moved lock: " + AVMUtil.getStoreId(diffSourcePath) + "-" + + AVMUtil.getStoreRelativePath(diffSourcePath) + + " to user: " + username); } } diff --git a/source/java/org/alfresco/web/bean/wcm/ManageReviewTaskDialog.java b/source/java/org/alfresco/web/bean/wcm/ManageReviewTaskDialog.java index f9eb413fa5..8429e51954 100644 --- a/source/java/org/alfresco/web/bean/wcm/ManageReviewTaskDialog.java +++ b/source/java/org/alfresco/web/bean/wcm/ManageReviewTaskDialog.java @@ -27,7 +27,6 @@ import javax.faces.context.FacesContext; import javax.transaction.UserTransaction; import org.alfresco.error.AlfrescoRuntimeException; -import org.alfresco.linkvalidation.LinkValidationReport; import org.alfresco.repo.domain.PropertyValue; import org.alfresco.service.cmr.avm.AVMNotFoundException; import org.alfresco.service.cmr.repository.NodeRef; @@ -79,10 +78,6 @@ public class ManageReviewTaskDialog extends ManageTaskDialog tx = Repository.getUserTransaction(context, true); tx.begin(); - // reset any previous link validation state - this.avmBrowseBean.setLinkValidationState(null); - this.avmBrowseBean.setLinkValidationMonitor(null); - // try and retrieve the link validation report from the workflow // store, if present setup the validation state on AVMBrowseBean this.store = this.workflowPackage.getStoreRef().getIdentifier(); @@ -97,28 +92,6 @@ public class ManageReviewTaskDialog extends ManageTaskDialog throw new AlfrescoRuntimeException(mesg); } - PropertyValue val = this.getAvmService().getStoreProperty(this.store, - SandboxConstants.PROP_LINK_VALIDATION_REPORT); - if (val != null) - { - LinkValidationReport report = (LinkValidationReport)val.getSerializableValue(); - if (report != null) - { - String reportStore = report.getStore(); - this.webapp = report.getWebapp(); - - if (logger.isDebugEnabled()) - logger.debug("Found link validation report for webapp '" + - AVMUtil.buildStoreWebappPath(reportStore, this.webapp) + "'"); - - LinkValidationState state = new LinkValidationState(report); - this.avmBrowseBean.setLinkValidationState(state); - - if (logger.isDebugEnabled()) - logger.debug("Stored link validation state: " + state); - } - } - // commit the changes tx.commit(); } diff --git a/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java b/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java index f0872bd8f2..e7e3ea4585 100644 --- a/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java +++ b/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java @@ -88,7 +88,6 @@ public class SubmitDialog extends BaseDialogBean private String[] workflowSelectedValue; private boolean enteringExpireDate = false; private boolean loadSelectedNodesFromBrowseBean = false; - private boolean validateLinks = false; private boolean autoDeploy = false; private Date defaultExpireDate; private Date launchDate; @@ -262,7 +261,6 @@ public class SubmitDialog extends BaseDialogBean this.defaultExpireDate = new Date(); this.workflowSelectedValue = null; this.launchDate = null; - this.validateLinks = this.avmBrowseBean.getLinkValidationEnabled(); this.autoDeploy = false; this.workflowParams = null; @@ -370,7 +368,7 @@ public class SubmitDialog extends BaseDialogBean getSandboxService().submitListAssets(sbStoreId, relativePaths, finalWorkflowName, workflowParams, finalSubmitLabel, finalSubmitComment, - expirationDates, launchDate, validateLinks, autoDeploy); + expirationDates, launchDate, autoDeploy); return null; } @@ -494,22 +492,6 @@ public class SubmitDialog extends BaseDialogBean this.launchDate = launchDate; } - /** - * @return Flag to indicate whether links should be validated - */ - public boolean isValidateLinks() - { - return this.validateLinks; - } - - /** - * @param validateLinks Flag to indicate whether links should be validated - */ - public void setValidateLinks(boolean validateLinks) - { - this.validateLinks = validateLinks; - } - /** * @return Flag to indicate whether the changes should be deployed upon approval */ @@ -526,17 +508,6 @@ public class SubmitDialog extends BaseDialogBean this.autoDeploy = autoDeploy; } - /** - * - * @return linkValidationEnabled flag to indicate whether link validation is turned on - * and virtualization server is available. - * - */ - public boolean getLinkValidationEnabled() - { - return this.avmBrowseBean.getLinkValidationEnabled(); - } - /** * @return List of UIListItem object representing the available workflows for the website */ diff --git a/source/java/org/alfresco/web/bean/wcm/UpdatePermissionsDialog.java b/source/java/org/alfresco/web/bean/wcm/UpdatePermissionsDialog.java index 4d7c138778..342a598def 100644 --- a/source/java/org/alfresco/web/bean/wcm/UpdatePermissionsDialog.java +++ b/source/java/org/alfresco/web/bean/wcm/UpdatePermissionsDialog.java @@ -18,15 +18,14 @@ */ package org.alfresco.web.bean.wcm; -import java.util.ArrayList; -import java.util.List; +import java.util.Collections; import java.util.Map; import javax.faces.context.FacesContext; -import org.alfresco.service.cmr.avm.locking.AVMLock; import org.alfresco.service.cmr.avm.locking.AVMLockingService; import org.alfresco.service.cmr.security.AuthenticationService; +import org.alfresco.wcm.util.WCMUtil; import org.alfresco.web.bean.repository.Repository; /** @@ -86,31 +85,29 @@ public class UpdatePermissionsDialog extends BasePermissionsDialog /** * Create lock for node if it is necessary. Also create lock for children, if they inherit parent permissions. - * - * @param node */ protected void createLock(AVMNode node) { - String webProject = AVMUtil.getStoreId(AVMUtil.getStoreName(node.getPath())); + String avmPath = node.getPath(); + String webProject = WCMUtil.getWebapp(avmPath); + String avmStore = WCMUtil.getStoreName(avmPath); + String relativePath = WCMUtil.getStoreRelativePath(avmPath); - if (getAvmLockingService().getLock(webProject, node.getPath().substring(node.getPath().indexOf("/"))) == null && !node.isDirectory()) + /* + * The logic doesn't look correct here. If the lock is held by another user, then the + * action is to DO NOTHING! + * TODO: Examine and fix - or remove this class completely + */ + if (getAvmLockingService().getLockOwner(webProject, relativePath) == null && !node.isDirectory()) { String userName = getAuthenticationService().getCurrentUserName(); - List owners = new ArrayList(1); - owners.add(userName); - - String[] storePath = node.getPath().split(":"); - - AVMLock lock = new AVMLock(webProject, storePath[0], storePath[1], AVMLockingService.Type.DISCRETIONARY, owners); - getAvmLockingService().lockPath(lock); + Map lockAttributes = Collections.singletonMap(WCMUtil.LOCK_KEY_STORE_NAME, avmStore); + getAvmLockingService().lock(webProject, relativePath, userName, lockAttributes); } - } /** * Getter for active node property - * - * @return activeNode */ public AVMNode getActiveNode() { @@ -119,12 +116,9 @@ public class UpdatePermissionsDialog extends BasePermissionsDialog /** * Setter for active node property - * - * @param activeNode */ public void setActiveNode(final AVMNode activeNode) { this.activeNode = activeNode; } - } diff --git a/source/java/org/alfresco/web/forms/FormInstanceData.java b/source/java/org/alfresco/web/forms/FormInstanceData.java index f862731c4d..3488ef85ac 100644 --- a/source/java/org/alfresco/web/forms/FormInstanceData.java +++ b/source/java/org/alfresco/web/forms/FormInstanceData.java @@ -22,7 +22,6 @@ import java.io.IOException; import java.io.Serializable; import java.util.List; -import org.alfresco.service.cmr.avm.locking.AVMLock; import org.w3c.dom.Document; import org.xml.sax.SAXException; @@ -46,30 +45,25 @@ public interface FormInstanceData private final String path; private final Rendition r; private final Exception e; - private final AVMLock lock; // existing lock otherwise null public RegenerateResult(final RenderingEngineTemplate ret, final String path, - final Rendition r, - final AVMLock lock) + final Rendition r) { this.ret = ret; this.r = r; this.e = null; this.path = path; - this.lock = lock; } public RegenerateResult(final RenderingEngineTemplate ret, final String path, - final Exception e, - final AVMLock lock) + final Exception e) { this.ret = ret; this.e = e; this.r = null; this.path = path; - this.lock = lock; } public RenderingEngineTemplate getRenderingEngineTemplate() @@ -91,11 +85,6 @@ public interface FormInstanceData { return this.e; } - - public AVMLock getExistingLock() - { - return this.lock; - } } ///////////////////////////////////////////////////////////////////////////// diff --git a/source/java/org/alfresco/web/forms/FormInstanceDataImpl.java b/source/java/org/alfresco/web/forms/FormInstanceDataImpl.java index 99b1ac5621..f9fa41232b 100644 --- a/source/java/org/alfresco/web/forms/FormInstanceDataImpl.java +++ b/source/java/org/alfresco/web/forms/FormInstanceDataImpl.java @@ -35,16 +35,13 @@ import org.alfresco.repo.avm.AVMNodeConverter; import org.alfresco.repo.domain.PropertyValue; import org.alfresco.service.ServiceRegistry; import org.alfresco.service.cmr.avm.AVMService; -import org.alfresco.service.cmr.avm.locking.AVMLock; import org.alfresco.service.cmr.avm.locking.AVMLockingService; import org.alfresco.service.cmr.dictionary.DataTypeDefinition; import org.alfresco.service.cmr.repository.NodeRef; import org.alfresco.service.cmr.repository.StoreRef; -import org.alfresco.web.app.Application; import org.alfresco.web.app.servlet.FacesHelper; import org.alfresco.web.bean.repository.Repository; import org.alfresco.web.bean.wcm.AVMUtil; -import org.alfresco.web.bean.wcm.WebProject; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.w3c.dom.Document; @@ -62,22 +59,11 @@ import org.xml.sax.SAXException; private static final Log logger = LogFactory.getLog(RenditionImpl.class); private final NodeRef nodeRef; - private final WebProject webProject; - private transient FormsService formsService; /* package */ FormInstanceDataImpl(final NodeRef nodeRef, final FormsService formsService) { - this(nodeRef, formsService, null); - } - - /* package */ FormInstanceDataImpl(final NodeRef nodeRef, - final FormsService formsService, - final WebProject webProject) - { - this.webProject = webProject; - if (nodeRef == null) { throw new NullPointerException(); @@ -165,10 +151,6 @@ import org.xml.sax.SAXException; } catch (FormNotFoundException fnfe) { - if (webProject != null) - { - throw new FormNotFoundException(parentFormName, webProject, this); - } throw new FormNotFoundException(parentFormName, this); } } @@ -206,6 +188,7 @@ import org.xml.sax.SAXException; new HashSet(this.getForm().getRenderingEngineTemplates()); final List result = new LinkedList(); // regenerate existing renditions + boolean renditionLockedBefore = false; String path = null; for (final Rendition r : this.getRenditions()) @@ -223,15 +206,13 @@ import org.xml.sax.SAXException; continue; } } + } - final RenderingEngineTemplate ret = r.getRenderingEngineTemplate(); if (ret == null || !allRets.contains(ret)) { continue; } - - AVMLock lock = null; try { if (logger.isDebugEnabled()) @@ -239,10 +220,13 @@ import org.xml.sax.SAXException; logger.debug("regenerating rendition " + r + " using template " + ret); } + renditionLockedBefore = false; path = r.getPath(); - lock = avmLockService.getLock(AVMUtil.getStoreId(path), AVMUtil.getStoreRelativePath(path)); - if (lock != null) + String lockOwner = avmLockService.getLockOwner(AVMUtil.getStoreId(path), AVMUtil.getStoreRelativePath(path)); + if (lockOwner != null) { + renditionLockedBefore = true; + if (logger.isDebugEnabled()) { logger.debug("Lock already exists for " + path); @@ -251,14 +235,14 @@ import org.xml.sax.SAXException; ret.render(this, r); allRets.remove(ret); - result.add(new RegenerateResult(ret, path, r, lock)); + result.add(new RegenerateResult(ret, path, r)); } catch (Exception e) { - result.add(new RegenerateResult(ret, path, e, lock)); + result.add(new RegenerateResult(ret, path, e)); // remove lock if there wasn't one before - if (lock == null) + if (renditionLockedBefore == false) { avmLockService.removeLock(AVMUtil.getStoreId(path), AVMUtil.getStoreRelativePath(path)); @@ -270,84 +254,47 @@ import org.xml.sax.SAXException; } } - // get current username for lock checks - String username = Application.getCurrentUser(FacesContext.getCurrentInstance()).getUserName(); - // render all renditions for newly added templates for (final RenderingEngineTemplate ret : allRets) { - AVMLock lock = null; - boolean lockModified = false; - try { - path = ret.getOutputPathForRendition(this, originalParentAvmPath, getName().replaceAll("(.+)\\..*", "$1")); - + renditionLockedBefore = false; + path = ret.getOutputPathForRendition(this, originalParentAvmPath, getName()); + if (logger.isDebugEnabled()) { logger.debug("regenerating rendition of " + this.getPath() + " at " + path + " using template " + ret); } - String storeId = AVMUtil.getStoreId(path); - String storePath = AVMUtil.getStoreRelativePath(path); - String storeName = AVMUtil.getStoreName(path); - - lock = avmLockService.getLock(storeId, storePath); - - if (lock != null) + String lockOwner = avmLockService.getLockOwner(AVMUtil.getStoreId(path), AVMUtil.getStoreRelativePath(path)); + if (lockOwner != null) { + renditionLockedBefore = true; + if (logger.isDebugEnabled()) { logger.debug("Lock already exists for " + path); } - - if (lock.getStore().equals(storeName) == false) - { - if (lock.getOwners().contains(username)) - { - lockModified = true; - - // lock already exists on path, check it's owned by the current user - if (logger.isDebugEnabled()) - { - logger.debug("transferring lock from " + lock.getStore() + " to " + storeName + " for path: " + path); - } - - avmLockService.modifyLock(storeId, storePath, null, storeName, null, null); - } - } } - result.add(new RegenerateResult(ret, path, ret.render(this, path), lock)); + result.add(new RegenerateResult(ret, path, ret.render(this, path))); } catch (Exception e) { - result.add(new RegenerateResult(ret, path, e, lock)); + result.add(new RegenerateResult(ret, path, e)); - String storeId = AVMUtil.getStoreId(path); - String storePath = AVMUtil.getStoreRelativePath(path); - String storeName = AVMUtil.getStoreName(path); - - if (lock == null) + // remove lock if there wasn't one before + if (renditionLockedBefore == false) { - // remove lock if there wasn't one before - avmLockService.removeLock(storeId, storePath); + avmLockService.removeLock(AVMUtil.getStoreId(path), AVMUtil.getStoreRelativePath(path)); if (logger.isDebugEnabled()) { logger.debug("Removed lock for " + path + " as it failed to generate"); } } - else if (lockModified) - { - if (logger.isDebugEnabled()) - { - logger.debug("transferring lock from " + storeName + " to " + lock.getStore() + " for path: " + path); - } - - avmLockService.modifyLock(storeId, storePath, null, lock.getStore(), null, null); - } } } return result; diff --git a/source/java/org/alfresco/web/forms/FormsService.java b/source/java/org/alfresco/web/forms/FormsService.java index bdf54752f3..e8cd3ba507 100644 --- a/source/java/org/alfresco/web/forms/FormsService.java +++ b/source/java/org/alfresco/web/forms/FormsService.java @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2005-2010 Alfresco Software Limited. * * This file is part of Alfresco @@ -14,406 +14,402 @@ * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.web.forms; - -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; - -import javax.faces.context.FacesContext; - -import org.alfresco.model.ContentModel; -import org.alfresco.model.WCMAppModel; -import org.alfresco.repo.avm.AVMNodeConverter; -import org.alfresco.repo.policy.Behaviour; -import org.alfresco.repo.policy.JavaBehaviour; -import org.alfresco.repo.policy.PolicyComponent; -import org.alfresco.service.cmr.avm.AVMService; -import org.alfresco.service.cmr.repository.ChildAssociationRef; -import org.alfresco.service.cmr.repository.ContentService; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.repository.NodeService; -import org.alfresco.service.cmr.search.ResultSet; -import org.alfresco.service.cmr.search.ResultSetRow; -import org.alfresco.service.cmr.search.SearchService; -import org.alfresco.service.namespace.NamespaceService; -import org.alfresco.service.namespace.QName; -import org.alfresco.web.app.Application; -import org.alfresco.web.bean.repository.Repository; -import org.alfresco.web.bean.wcm.WebProject; -import org.alfresco.web.data.IDataContainer; -import org.alfresco.web.data.QuickSort; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Provides management of forms. - * - * @author Ariel Backenroth - */ -public final class FormsService -{ - private static final Log LOGGER = LogFactory.getLog(FormsService.class); - - private static final RenderingEngine[] RENDERING_ENGINES = new RenderingEngine[] - { - new FreeMarkerRenderingEngine(), - new XSLTRenderingEngine(), - new XSLFORenderingEngine() - }; - - private final ContentService contentService; - private final NodeService nodeService; - private final NamespaceService namespaceService; - private final SearchService searchService; - - private NodeRef contentFormsNodeRef; - private NodeRef webContentFormsNodeRef; - - /** instantiated using spring */ - public FormsService(final ContentService contentService, - final NodeService nodeService, - final NamespaceService namespaceService, - final SearchService searchService, - final PolicyComponent policyComponent) - { - this.contentService = contentService; - this.nodeService = nodeService; - this.namespaceService = namespaceService; - this.searchService = searchService; - policyComponent.bindClassBehaviour(QName.createQName(NamespaceService.ALFRESCO_URI, "onMoveNode"), - WCMAppModel.TYPE_FORMFOLDER, - new JavaBehaviour(this, - "handleMoveFormFolder", - Behaviour.NotificationFrequency.FIRST_EVENT)); - policyComponent.bindClassBehaviour(QName.createQName(NamespaceService.ALFRESCO_URI, "onDeleteNode"), - WCMAppModel.TYPE_FORMFOLDER, - new JavaBehaviour(this, - "handleDeleteFormFolder", - Behaviour.NotificationFrequency.FIRST_EVENT)); - } - - /** - * Provides all registered rendering engines. - */ - public RenderingEngine[] getRenderingEngines() - { - return FormsService.RENDERING_ENGINES; - } - - /** - * Returns the rendering engine with the given name. - * - * @param name the name of the rendering engine. - * - * @return the rendering engine or null if not found. - */ - public RenderingEngine getRenderingEngine(final String name) - { - for (RenderingEngine re : this.getRenderingEngines()) - { - if (re.getName().equals(name)) - { - return re; - } - } - return null; - } - - public RenderingEngine guessRenderingEngine(final String fileName) - { - for (RenderingEngine re : this.getRenderingEngines()) - { - if (fileName.endsWith(re.getDefaultTemplateFileExtension())) - { - return re; - } - } - return null; - } - - /** - * @return the cached reference to the WCM Content Forms folder - */ - public NodeRef getContentFormsNodeRef() - { - if (this.contentFormsNodeRef == null) - { - final FacesContext fc = FacesContext.getCurrentInstance(); - final String xpath = (Application.getRootPath(fc) + "/" + - Application.getGlossaryFolderName(fc) + "/" + - Application.getContentFormsFolderName(fc)); - - this.contentFormsNodeRef = getNodeRefFromXPath(xpath); - } - return this.contentFormsNodeRef; - } - - /** - * @return the cached reference to the WCM Content Forms folder - */ - public NodeRef getWebContentFormsNodeRef() - { - if (this.webContentFormsNodeRef == null) - { - final FacesContext fc = FacesContext.getCurrentInstance(); - final String xpath = (Application.getRootPath(fc) + "/" + - Application.getGlossaryFolderName(fc) + "/" + - Application.getWebContentFormsFolderName(fc)); - - this.webContentFormsNodeRef = getNodeRefFromXPath(xpath); - } - return this.webContentFormsNodeRef; - } - - private NodeRef getNodeRefFromXPath(String xpath) - { - if (LOGGER.isDebugEnabled()) - LOGGER.debug("locating noderef at " + xpath); - final List results = - searchService.selectNodes(this.nodeService.getRootNode(Repository.getStoreRef()), - xpath, - null, - namespaceService, - false); - return (results != null && results.size() == 1 ? results.get(0) : null); - } - - /** - * returns registered forms - * - * @return registered (ECM) forms - */ - public Collection
getForms() - { - final String query = - "+ASPECT:\"" + WCMAppModel.ASPECT_FORM + - "\" +PARENT:\"" + this.getContentFormsNodeRef() + "\""; - - return getForms(query); - } - - /** - * returns registered web forms - * - * @return registered (WCM) forms - */ - public Collection getWebForms() - { - final String query = - "+ASPECT:\"" + WCMAppModel.ASPECT_FORM + - "\" +PARENT:\"" + this.getWebContentFormsNodeRef() + "\""; - - return getForms(query); - } - - private Collection getForms(String query) - { - final ResultSet rs = this.searchService.query(Repository.getStoreRef(), - SearchService.LANGUAGE_LUCENE, - query); - try - { - if (LOGGER.isDebugEnabled()) - LOGGER.debug("found " + rs.length() + " form definitions"); - final Collection result = new ArrayList(rs.length()); - for (final ResultSetRow row : rs) - { - result.add(this.getForm(row.getNodeRef())); - } - QuickSort sorter = new QuickSort((List)result, "name", true, IDataContainer.SORT_CASEINSENSITIVE); - sorter.sort(); - - return result; - } - finally - { - rs.close(); - } - } - - /** - * return the form by name or null if not found - * - * @return the form by name or null if not found - * @deprecated - */ - public Form getForm(final String name) - throws FormNotFoundException - { - final NodeRef result = this.nodeService.getChildByName(this.getContentFormsNodeRef(), - ContentModel.ASSOC_CONTAINS, - name); - if (result == null) - { - throw new FormNotFoundException(name); - } - return this.getForm(result); - } - - /** - * return the web form by name or null if not found - * - * @return the (WCM) form by name or null if not found - * @deprecated - */ - public Form getWebForm(final String name) - throws FormNotFoundException - { - final NodeRef result = this.nodeService.getChildByName(this.getWebContentFormsNodeRef(), - ContentModel.ASSOC_CONTAINS, - name); - if (result == null) - { - throw new FormNotFoundException(name); - } - return this.getForm(result); - } - - /** - * Returns the form backed by the given NodeRef. The NodeRef should - * point to the schema for this form. - * - * @param nodeRef the node ref for the schema for the form - * @return the form for the given node ref. - */ - public Form getForm(final NodeRef nodeRef) - { - if (!this.nodeService.hasAspect(nodeRef, WCMAppModel.ASPECT_FORM)) - { - throw new IllegalArgumentException("node " + nodeRef + " is not a form"); - } - final Form result = new FormImpl(nodeRef, this); - if (LOGGER.isDebugEnabled()) - LOGGER.debug("loaded form " + result + " for noderef " + nodeRef); - return result; - } - - public FormInstanceData getFormInstanceData(final int version, final String avmPath) throws FormNotFoundException - { - return this.getFormInstanceData(AVMNodeConverter.ToNodeRef(version, avmPath)); - } - - public FormInstanceData getFormInstanceData(final NodeRef nodeRef) throws FormNotFoundException - { - final String avmPath = AVMNodeConverter.ToAVMVersionPath(nodeRef).getSecond(); - final WebProject webProject = new WebProject(avmPath); - - FormInstanceData fid = null; - try - { - fid = new FormInstanceDataImpl(nodeRef, this, webProject); - return fid; - } - catch (IllegalArgumentException iae) - { - // note: FormNotFoundException extends FileNotFoundException - throw new FormNotFoundException(iae.getMessage()); - } - } - - public Rendition getRendition(final int version, final String avmPath) - { - return this.getRendition(AVMNodeConverter.ToNodeRef(version, avmPath)); - } - - public Rendition getRendition(final NodeRef nodeRef) - { - return new RenditionImpl(nodeRef, this); - } - - public List getAssociatedWebProjects(final Form form) - { - final List formConfigurations = this.getFormConfigurations(form.getName()); - if (LOGGER.isDebugEnabled()) - { - LOGGER.debug("found " + formConfigurations.size() + - " web projects configured with " + form.getName()); - } - final List result = new ArrayList(formConfigurations.size()); - for (final NodeRef ref : formConfigurations) - { - final List parents = this.nodeService.getParentAssocs(ref); - assert parents.size() != 1 : ("expected only one parent for " + ref + - " got " + parents.size()); - result.add(new WebProject(parents.get(0).getParentRef())); - } - return result; - } - - // event handlers - - public void handleMoveFormFolder(final ChildAssociationRef oldChild, final ChildAssociationRef newChild) - { - final String oldName = oldChild.getQName().getLocalName(); - final String newName = newChild.getQName().getLocalName(); - final List formConfigurations = this.getFormConfigurations(oldName); - // find all webprojects that used the old name - if (LOGGER.isDebugEnabled()) - { - LOGGER.debug("handling rename (" + oldName + - " => " + newName + - ") for " + formConfigurations.size()); - } - for (final NodeRef ref : formConfigurations) - { - this.nodeService.setProperty(ref, - WCMAppModel.PROP_FORMNAME, - newName); - } - } - - public void handleDeleteFormFolder(final ChildAssociationRef childRef, - final boolean isArchivedNode) - { - final String formName = childRef.getQName().getLocalName(); - final List formConfigurations = this.getFormConfigurations(formName); - for (final NodeRef ref : formConfigurations) - { - final List parents = this.nodeService.getParentAssocs(ref); - assert parents.size() != 1 : ("expected only one parent for " + ref + - " got " + parents.size()); - final NodeRef parentRef = parents.get(0).getParentRef(); - if (LOGGER.isDebugEnabled()) - { - - LOGGER.debug("removing configuration for " + formName + - " from web project " + this.nodeService.getProperty(parentRef, ContentModel.PROP_NAME)); - } - this.nodeService.removeChild(parentRef, ref); - } - } - - /** - * Return the list of web project nodes that reference a form name in their model - */ - private List getFormConfigurations(final String formName) - { - final String query = - "+TYPE:\"" + WCMAppModel.TYPE_WEBFORM + "\"" + - " +@" + Repository.escapeQName(WCMAppModel.PROP_FORMNAME) + - ":\"" + formName + "\""; - final ResultSet rs = this.searchService.query(Repository.getStoreRef(), - SearchService.LANGUAGE_LUCENE, - query); - try - { - if (LOGGER.isDebugEnabled()) - { - LOGGER.debug("query " + query + " returned " + rs.length() + " results"); - } - final List result = new ArrayList(rs.length()); - for (final ResultSetRow row : rs) - { - result.add(row.getNodeRef()); - } - return result; - } - finally - { - rs.close(); - } - } -} + * along with Alfresco. If not, see . + */ +package org.alfresco.web.forms; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; + +import javax.faces.context.FacesContext; + +import org.alfresco.model.ContentModel; +import org.alfresco.model.WCMAppModel; +import org.alfresco.repo.avm.AVMNodeConverter; +import org.alfresco.repo.policy.Behaviour; +import org.alfresco.repo.policy.JavaBehaviour; +import org.alfresco.repo.policy.PolicyComponent; +import org.alfresco.service.cmr.repository.ChildAssociationRef; +import org.alfresco.service.cmr.repository.ContentService; +import org.alfresco.service.cmr.repository.NodeRef; +import org.alfresco.service.cmr.repository.NodeService; +import org.alfresco.service.cmr.search.ResultSet; +import org.alfresco.service.cmr.search.ResultSetRow; +import org.alfresco.service.cmr.search.SearchService; +import org.alfresco.service.namespace.NamespaceService; +import org.alfresco.service.namespace.QName; +import org.alfresco.web.app.Application; +import org.alfresco.web.bean.repository.Repository; +import org.alfresco.web.bean.wcm.WebProject; +import org.alfresco.web.data.IDataContainer; +import org.alfresco.web.data.QuickSort; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +/** + * Provides management of forms. + * + * @author Ariel Backenroth + */ +public final class FormsService +{ + private static final Log LOGGER = LogFactory.getLog(FormsService.class); + + private static final RenderingEngine[] RENDERING_ENGINES = new RenderingEngine[] + { + new FreeMarkerRenderingEngine(), + new XSLTRenderingEngine(), + new XSLFORenderingEngine() + }; + + private final ContentService contentService; + private final NodeService nodeService; + private final NamespaceService namespaceService; + private final SearchService searchService; + + private NodeRef contentFormsNodeRef; + private NodeRef webContentFormsNodeRef; + + /** instantiated using spring */ + public FormsService(final ContentService contentService, + final NodeService nodeService, + final NamespaceService namespaceService, + final SearchService searchService, + final PolicyComponent policyComponent) + { + this.contentService = contentService; + this.nodeService = nodeService; + this.namespaceService = namespaceService; + this.searchService = searchService; + policyComponent.bindClassBehaviour(QName.createQName(NamespaceService.ALFRESCO_URI, "onMoveNode"), + WCMAppModel.TYPE_FORMFOLDER, + new JavaBehaviour(this, + "handleMoveFormFolder", + Behaviour.NotificationFrequency.FIRST_EVENT)); + policyComponent.bindClassBehaviour(QName.createQName(NamespaceService.ALFRESCO_URI, "onDeleteNode"), + WCMAppModel.TYPE_FORMFOLDER, + new JavaBehaviour(this, + "handleDeleteFormFolder", + Behaviour.NotificationFrequency.FIRST_EVENT)); + } + + /** + * Provides all registered rendering engines. + */ + public RenderingEngine[] getRenderingEngines() + { + return FormsService.RENDERING_ENGINES; + } + + /** + * Returns the rendering engine with the given name. + * + * @param name the name of the rendering engine. + * + * @return the rendering engine or null if not found. + */ + public RenderingEngine getRenderingEngine(final String name) + { + for (RenderingEngine re : this.getRenderingEngines()) + { + if (re.getName().equals(name)) + { + return re; + } + } + return null; + } + + public RenderingEngine guessRenderingEngine(final String fileName) + { + for (RenderingEngine re : this.getRenderingEngines()) + { + if (fileName.endsWith(re.getDefaultTemplateFileExtension())) + { + return re; + } + } + return null; + } + + /** + * @return the cached reference to the WCM Content Forms folder + */ + public NodeRef getContentFormsNodeRef() + { + if (this.contentFormsNodeRef == null) + { + final FacesContext fc = FacesContext.getCurrentInstance(); + final String xpath = (Application.getRootPath(fc) + "/" + + Application.getGlossaryFolderName(fc) + "/" + + Application.getContentFormsFolderName(fc)); + + this.contentFormsNodeRef = getNodeRefFromXPath(xpath); + } + return this.contentFormsNodeRef; + } + + /** + * @return the cached reference to the WCM Content Forms folder + */ + public NodeRef getWebContentFormsNodeRef() + { + if (this.webContentFormsNodeRef == null) + { + final FacesContext fc = FacesContext.getCurrentInstance(); + final String xpath = (Application.getRootPath(fc) + "/" + + Application.getGlossaryFolderName(fc) + "/" + + Application.getWebContentFormsFolderName(fc)); + + this.webContentFormsNodeRef = getNodeRefFromXPath(xpath); + } + return this.webContentFormsNodeRef; + } + + private NodeRef getNodeRefFromXPath(String xpath) + { + if (LOGGER.isDebugEnabled()) + LOGGER.debug("locating noderef at " + xpath); + final List results = + searchService.selectNodes(this.nodeService.getRootNode(Repository.getStoreRef()), + xpath, + null, + namespaceService, + false); + return (results != null && results.size() == 1 ? results.get(0) : null); + } + + /** + * returns registered forms + * + * @return registered (ECM) forms + */ + public Collection getForms() + { + final String query = + "+ASPECT:\"" + WCMAppModel.ASPECT_FORM + + "\" +PARENT:\"" + this.getContentFormsNodeRef() + "\""; + + return getForms(query); + } + + /** + * returns registered web forms + * + * @return registered (WCM) forms + */ + public Collection getWebForms() + { + final String query = + "+ASPECT:\"" + WCMAppModel.ASPECT_FORM + + "\" +PARENT:\"" + this.getWebContentFormsNodeRef() + "\""; + + return getForms(query); + } + + private Collection getForms(String query) + { + final ResultSet rs = this.searchService.query(Repository.getStoreRef(), + SearchService.LANGUAGE_LUCENE, + query); + try + { + if (LOGGER.isDebugEnabled()) + LOGGER.debug("found " + rs.length() + " form definitions"); + final Collection result = new ArrayList(rs.length()); + for (final ResultSetRow row : rs) + { + result.add(this.getForm(row.getNodeRef())); + } + QuickSort sorter = new QuickSort((List)result, "name", true, IDataContainer.SORT_CASEINSENSITIVE); + sorter.sort(); + + return result; + } + finally + { + rs.close(); + } + } + + /** + * return the form by name or null if not found + * + * @return the form by name or null if not found + * @deprecated + */ + public Form getForm(final String name) + throws FormNotFoundException + { + final NodeRef result = this.nodeService.getChildByName(this.getContentFormsNodeRef(), + ContentModel.ASSOC_CONTAINS, + name); + if (result == null) + { + throw new FormNotFoundException(name); + } + return this.getForm(result); + } + + /** + * return the web form by name or null if not found + * + * @return the (WCM) form by name or null if not found + * @deprecated + */ + public Form getWebForm(final String name) + throws FormNotFoundException + { + final NodeRef result = this.nodeService.getChildByName(this.getWebContentFormsNodeRef(), + ContentModel.ASSOC_CONTAINS, + name); + if (result == null) + { + throw new FormNotFoundException(name); + } + return this.getForm(result); + } + + /** + * Returns the form backed by the given NodeRef. The NodeRef should + * point to the schema for this form. + * + * @param nodeRef the node ref for the schema for the form + * @return the form for the given node ref. + */ + public Form getForm(final NodeRef nodeRef) + { + if (!this.nodeService.hasAspect(nodeRef, WCMAppModel.ASPECT_FORM)) + { + throw new IllegalArgumentException("node " + nodeRef + " is not a form"); + } + final Form result = new FormImpl(nodeRef, this); + if (LOGGER.isDebugEnabled()) + LOGGER.debug("loaded form " + result + " for noderef " + nodeRef); + return result; + } + + public FormInstanceData getFormInstanceData(final int version, final String avmPath) throws FormNotFoundException + { + return this.getFormInstanceData(AVMNodeConverter.ToNodeRef(version, avmPath)); + } + + public FormInstanceData getFormInstanceData(final NodeRef nodeRef) throws FormNotFoundException + { + FormInstanceData fid = null; + try + { + fid = new FormInstanceDataImpl(nodeRef, this); + return fid; + } + catch (IllegalArgumentException iae) + { + // note: FormNotFoundException extends FileNotFoundException + throw new FormNotFoundException(iae.getMessage()); + } + } + + public Rendition getRendition(final int version, final String avmPath) + { + return this.getRendition(AVMNodeConverter.ToNodeRef(version, avmPath)); + } + + public Rendition getRendition(final NodeRef nodeRef) + { + return new RenditionImpl(nodeRef, this); + } + + public List getAssociatedWebProjects(final Form form) + { + final List formConfigurations = this.getFormConfigurations(form.getName()); + if (LOGGER.isDebugEnabled()) + { + LOGGER.debug("found " + formConfigurations.size() + + " web projects configured with " + form.getName()); + } + final List result = new ArrayList(formConfigurations.size()); + for (final NodeRef ref : formConfigurations) + { + final List parents = this.nodeService.getParentAssocs(ref); + assert parents.size() != 1 : ("expected only one parent for " + ref + + " got " + parents.size()); + result.add(new WebProject(parents.get(0).getParentRef())); + } + return result; + } + + // event handlers + + public void handleMoveFormFolder(final ChildAssociationRef oldChild, final ChildAssociationRef newChild) + { + final String oldName = oldChild.getQName().getLocalName(); + final String newName = newChild.getQName().getLocalName(); + final List formConfigurations = this.getFormConfigurations(oldName); + // find all webprojects that used the old name + if (LOGGER.isDebugEnabled()) + { + LOGGER.debug("handling rename (" + oldName + + " => " + newName + + ") for " + formConfigurations.size()); + } + for (final NodeRef ref : formConfigurations) + { + this.nodeService.setProperty(ref, + WCMAppModel.PROP_FORMNAME, + newName); + } + } + + public void handleDeleteFormFolder(final ChildAssociationRef childRef, + final boolean isArchivedNode) + { + final String formName = childRef.getQName().getLocalName(); + final List formConfigurations = this.getFormConfigurations(formName); + for (final NodeRef ref : formConfigurations) + { + final List parents = this.nodeService.getParentAssocs(ref); + assert parents.size() != 1 : ("expected only one parent for " + ref + + " got " + parents.size()); + final NodeRef parentRef = parents.get(0).getParentRef(); + if (LOGGER.isDebugEnabled()) + { + + LOGGER.debug("removing configuration for " + formName + + " from web project " + this.nodeService.getProperty(parentRef, ContentModel.PROP_NAME)); + } + this.nodeService.removeChild(parentRef, ref); + } + } + + /** + * Return the list of web project nodes that reference a form name in their model + */ + private List getFormConfigurations(final String formName) + { + final String query = + "+TYPE:\"" + WCMAppModel.TYPE_WEBFORM + "\"" + + " +@" + Repository.escapeQName(WCMAppModel.PROP_FORMNAME) + + ":\"" + formName + "\""; + final ResultSet rs = this.searchService.query(Repository.getStoreRef(), + SearchService.LANGUAGE_LUCENE, + query); + try + { + if (LOGGER.isDebugEnabled()) + { + LOGGER.debug("query " + query + " returned " + rs.length() + " results"); + } + final List result = new ArrayList(rs.length()); + for (final ResultSetRow row : rs) + { + result.add(row.getNodeRef()); + } + return result; + } + finally + { + rs.close(); + } + } +} diff --git a/source/java/org/alfresco/web/ui/wcm/component/AbstractLinkValidationReportComponent.java b/source/java/org/alfresco/web/ui/wcm/component/AbstractLinkValidationReportComponent.java deleted file mode 100644 index 0cdecd5e82..0000000000 --- a/source/java/org/alfresco/web/ui/wcm/component/AbstractLinkValidationReportComponent.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.web.ui.wcm.component; - -import java.io.IOException; - -import javax.faces.context.FacesContext; -import javax.faces.el.ValueBinding; - -import org.alfresco.web.bean.wcm.LinkValidationState; -import org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent; - -/** - * Base class for all the link validation report JSF components. - * - * @author gavinc - */ -public abstract class AbstractLinkValidationReportComponent extends SelfRenderingComponent -{ - protected LinkValidationState state; - - // ------------------------------------------------------------------------------ - // Component implementation - - @SuppressWarnings("unchecked") - @Override - public void restoreState(FacesContext context, Object state) - { - Object values[] = (Object[])state; - // standard component attributes are restored by the super class - super.restoreState(context, values[0]); - this.state = (LinkValidationState)values[1]; - } - - @Override - public Object saveState(FacesContext context) - { - Object values[] = new Object[2]; - // standard component attributes are saved by the super class - values[0] = super.saveState(context); - values[1] = this.state; - return values; - } - - /** - * @see javax.faces.component.UIComponentBase#getRendersChildren() - */ - public boolean getRendersChildren() - { - return true; - } - - /** - * @see javax.faces.component.UIComponentBase#encodeChildren(javax.faces.context.FacesContext) - */ - public void encodeChildren(FacesContext context) throws IOException - { - // the child components are rendered explicitly during the encodeBegin() - } - - // ------------------------------------------------------------------------------ - // Strongly typed component property accessors - - /** - * @return The LinkValidationState object holding the report information - */ - public LinkValidationState getValue() - { - ValueBinding vb = getValueBinding("value"); - if (vb != null) - { - this.state = (LinkValidationState)vb.getValue(getFacesContext()); - } - - return this.state; - } - - /** - * @param value The LinkValidationState object to get the summary info from - */ - public void setValue(LinkValidationState value) - { - this.state = value; - } -} diff --git a/source/java/org/alfresco/web/ui/wcm/component/UIAVMLockIcon.java b/source/java/org/alfresco/web/ui/wcm/component/UIAVMLockIcon.java index f8be7f9997..1cccaea85d 100644 --- a/source/java/org/alfresco/web/ui/wcm/component/UIAVMLockIcon.java +++ b/source/java/org/alfresco/web/ui/wcm/component/UIAVMLockIcon.java @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2005-2010 Alfresco Software Limited. * * This file is part of Alfresco @@ -14,118 +14,114 @@ * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.web.ui.wcm.component; - -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -import javax.faces.context.FacesContext; - -import org.alfresco.repo.avm.AVMNodeConverter; -import org.alfresco.service.cmr.avm.AVMNotFoundException; -import org.alfresco.service.cmr.avm.locking.AVMLock; -import org.alfresco.service.cmr.avm.locking.AVMLockingService; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.wcm.asset.AssetInfo; -import org.alfresco.wcm.util.WCMUtil; -import org.alfresco.web.app.Application; -import org.alfresco.web.bean.repository.Repository; -import org.alfresco.web.ui.repo.component.UILockIcon; - -/** - * @author Ariel Backenroth - */ -public class UIAVMLockIcon extends UILockIcon -{ - public static final String ALFRESCO_FACES_AVMLOCKICON = "org.alfresco.faces.AVMLockIcon"; - - // ------------------------------------------------------------------------------ - // Component implementation - - /** - * @see javax.faces.component.UIComponent#getFamily() - */ - public String getFamily() - { - return ALFRESCO_FACES_AVMLOCKICON; - } - - /** - * @see javax.faces.component.UIComponentBase#encodeBegin(javax.faces.context.FacesContext) - */ - public void encodeBegin(FacesContext context) throws IOException - { - if (isRendered() == false) - { - return; - } - - boolean locked = false; - boolean lockedOwner = false; - Object val = getValue(); - List lockUsers = null; - - if (val != null) - { - if (val instanceof AssetInfo) - { - // via UIUserSandboxes.renderUserFiles() - - AssetInfo asset = (AssetInfo)val; - - locked = asset.isLocked(); - - String assetLockOwner = asset.getLockOwner(); - if (assetLockOwner != null) - { - lockUsers = new ArrayList(1); - lockUsers.add(assetLockOwner); - lockedOwner = assetLockOwner.equals(Application.getCurrentUser(context).getUserName()); - } - } - else - { - // TODO eventually refactor out - - // via browse-sandbox.jsp -> AVMBrowseBean (getFolders/getFiles - directory listing or search) - - // get the value and see if the image is locked - final AVMLockingService avmLockingService = Repository.getServiceRegistry(context).getAVMLockingService(); - - // NodeRef or String - final String avmPath = (val instanceof NodeRef - ? AVMNodeConverter.ToAVMVersionPath((NodeRef)val).getSecond() - : (val instanceof String - ? (String)val - : null)); - if (avmPath != null) - { - String[] pathParts = WCMUtil.splitPath(avmPath); - AVMLock lock = null; - try - { - lock = avmLockingService.getLock(WCMUtil.getWebProjectStoreId(pathParts[0]), pathParts[1]); - } - catch (AVMNotFoundException nfe) - { - // ignore - } - if (lock != null) - { - locked = true; - lockUsers = lock.getOwners(); - lockedOwner = (lockUsers.contains(Application.getCurrentUser(context).getUserName())); - } - } - } - - this.encodeBegin(context, - locked, - lockedOwner, - lockUsers == null ? new String[0] : (String[])lockUsers.toArray(new String[lockUsers.size()])); - } - } -} + * along with Alfresco. If not, see . + */ +package org.alfresco.web.ui.wcm.component; + +import java.io.IOException; + +import javax.faces.context.FacesContext; + +import org.alfresco.repo.avm.AVMNodeConverter; +import org.alfresco.service.cmr.avm.AVMNotFoundException; +import org.alfresco.service.cmr.avm.locking.AVMLockingService; +import org.alfresco.service.cmr.repository.NodeRef; +import org.alfresco.wcm.asset.AssetInfo; +import org.alfresco.wcm.util.WCMUtil; +import org.alfresco.web.app.Application; +import org.alfresco.web.bean.repository.Repository; +import org.alfresco.web.ui.repo.component.UILockIcon; + +/** + * @author Ariel Backenroth + */ +public class UIAVMLockIcon extends UILockIcon +{ + public static final String ALFRESCO_FACES_AVMLOCKICON = "org.alfresco.faces.AVMLockIcon"; + + // ------------------------------------------------------------------------------ + // Component implementation + + /** + * @see javax.faces.component.UIComponent#getFamily() + */ + public String getFamily() + { + return ALFRESCO_FACES_AVMLOCKICON; + } + + /** + * @see javax.faces.component.UIComponentBase#encodeBegin(javax.faces.context.FacesContext) + */ + public void encodeBegin(FacesContext context) throws IOException + { + if (isRendered() == false) + { + return; + } + + boolean locked = false; + boolean lockedOwner = false; + Object val = getValue(); + String lockUser = null; + + if (val != null) + { + if (val instanceof AssetInfo) + { + // via UIUserSandboxes.renderUserFiles() + + AssetInfo asset = (AssetInfo)val; + + locked = asset.isLocked(); + + String assetLockOwner = asset.getLockOwner(); + if (assetLockOwner != null) + { + lockUser = assetLockOwner; + lockedOwner = lockUser.equals(Application.getCurrentUser(context).getUserName()); + } + } + else + { + // TODO eventually refactor out + + // via browse-sandbox.jsp -> AVMBrowseBean (getFolders/getFiles - directory listing or search) + + // get the value and see if the image is locked + final AVMLockingService avmLockingService = Repository.getServiceRegistry(context).getAVMLockingService(); + + // NodeRef or String + final String avmPath = (val instanceof NodeRef + ? AVMNodeConverter.ToAVMVersionPath((NodeRef)val).getSecond() + : (val instanceof String + ? (String)val + : null)); + if (avmPath != null) + { + String[] pathParts = WCMUtil.splitPath(avmPath); + String lockOwner = null; + try + { + lockOwner = avmLockingService.getLockOwner(WCMUtil.getWebProjectStoreId(pathParts[0]), pathParts[1]); + } + catch (AVMNotFoundException nfe) + { + // ignore + } + if (lockOwner != null) + { + locked = true; + lockUser = lockOwner; + lockedOwner = lockUser.equals(Application.getCurrentUser(context).getUserName()); + } + } + } + + this.encodeBegin(context, + locked, + lockedOwner, + lockUser == null ? new String[0] : new String[]{lockUser}); + } + } +} diff --git a/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationProgress.java b/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationProgress.java deleted file mode 100644 index e176eb7f3c..0000000000 --- a/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationProgress.java +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.web.ui.wcm.component; - -import java.io.IOException; -import java.util.List; - -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.context.ResponseWriter; -import javax.faces.el.MethodBinding; - -import org.alfresco.web.app.Application; -import org.alfresco.web.bean.wcm.AVMUtil; -import org.alfresco.web.ui.common.Utils; -import org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent; -import org.alfresco.web.ui.common.component.UIActionLink; -import org.alfresco.web.ui.repo.component.UIActions; - -/** - * JSF component that displays information about the workflows a node is involved in. - *

- * The node to show workflow information on. - * - * @author gavinc - */ -public class UILinkValidationProgress extends SelfRenderingComponent -{ - // ------------------------------------------------------------------------------ - // Component Impl - - @Override - public String getFamily() - { - return "org.alfresco.faces.LinkValidationProgress"; - } - - @Override - public void restoreState(FacesContext context, Object state) - { - Object values[] = (Object[])state; - // standard component attributes are restored by the super class - super.restoreState(context, values[0]); - } - - @Override - public Object saveState(FacesContext context) - { - Object values[] = new Object[1]; - // standard component attributes are saved by the super class - values[0] = super.saveState(context); - return values; - } - - @Override - @SuppressWarnings("unchecked") - public void encodeBegin(FacesContext context) throws IOException - { - if (!isRendered()) return; - - ResponseWriter out = context.getResponseWriter(); - - // render the hidden action used to close the dialog - UIActionLink action = findOrCreateHiddenAction(context); - Utils.encodeRecursive(context, action); - - // determine the polling frequency value - int pollFreq = AVMUtil.getLinkValidationPollingFrequency(); - - // output the script - out.write("\n"); - out.write("\n"); - - // output the HTML - out.write("

"); - out.write("
"); - out.write("
"); - out.write(Application.getMessage(context, "checking_links_progress")); - out.write("
"); - out.write(Application.getMessage(context, "checking_links_status")); - out.write("
\n"); - } - - @Override - public void encodeEnd(FacesContext context) throws IOException - { - if (!isRendered()) return; - } - - // ------------------------------------------------------------------------------ - // Helper methods - - @SuppressWarnings("unchecked") - private UIActionLink findOrCreateHiddenAction(FacesContext fc) - { - UIActionLink action = null; - String actionId = "validation-callback-link"; - - for (UIComponent component : (List)getChildren()) - { - if (actionId.equals(component.getId())) - { - action = (UIActionLink)component; - break; - } - } - - if (action == null) - { - javax.faces.application.Application facesApp = fc.getApplication(); - action = (UIActionLink)facesApp.createComponent(UIActions.COMPONENT_ACTIONLINK); - - action.setRendererType(UIActions.RENDERER_ACTIONLINK); - action.setId(actionId); - action.setValue("Callback"); - action.setShowLink(false); - MethodBinding callback = facesApp.createMethodBinding( - "#{DialogManager.bean.linkCheckCompleted}", new Class[] {}); - action.setAction(callback); - action.getAttributes().put("style", "display:none;"); - - this.getChildren().add(action); - } - - return action; - } -} diff --git a/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationReport.java b/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationReport.java deleted file mode 100644 index b4f4ce936b..0000000000 --- a/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationReport.java +++ /dev/null @@ -1,944 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.web.ui.wcm.component; - -import java.io.IOException; -import java.text.MessageFormat; -import java.util.List; -import java.util.ResourceBundle; - -import javax.faces.component.UICommand; -import javax.faces.component.UIComponent; -import javax.faces.component.UIParameter; -import javax.faces.context.FacesContext; -import javax.faces.context.ResponseWriter; -import javax.faces.el.MethodBinding; -import javax.faces.el.ValueBinding; - -import org.alfresco.config.JNDIConstants; -import org.alfresco.service.cmr.avm.AVMNodeDescriptor; -import org.alfresco.service.cmr.avm.AVMService; -import org.alfresco.web.app.Application; -import org.alfresco.web.bean.repository.Repository; -import org.alfresco.web.bean.wcm.AVMNode; -import org.alfresco.web.bean.wcm.AVMUtil; -import org.alfresco.web.bean.wcm.LinkValidationState; -import org.alfresco.web.ui.common.ComponentConstants; -import org.alfresco.web.ui.common.Utils; -import org.alfresco.web.ui.common.component.UIActionLink; -import org.alfresco.web.ui.repo.component.UIActions; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * JSF component that renders the results of a link validation report. - * - * @author gavinc - */ -public class UILinkValidationReport extends AbstractLinkValidationReportComponent -{ - public static final String DEFAULT_INTIAL_TAB = "staticTab"; - - private String initialTab; - private Boolean itemsExpanded; - private boolean oddRow = true; - - private static Log logger = LogFactory.getLog(UILinkValidationReport.class); - - // ------------------------------------------------------------------------------ - // Component implementation - - @Override - public String getFamily() - { - return "org.alfresco.faces.LinkValidationReport"; - } - - // ------------------------------------------------------------------------------ - // Component implementation - - @Override - public void restoreState(FacesContext context, Object state) - { - Object values[] = (Object[])state; - // standard component attributes are restored by the super class - super.restoreState(context, values[0]); - this.itemsExpanded = (Boolean)values[1]; - this.initialTab = (String)values[2]; - } - - @Override - public Object saveState(FacesContext context) - { - Object values[] = new Object[3]; - // standard component attributes are saved by the super class - values[0] = super.saveState(context); - values[1] = this.itemsExpanded; - values[2] = this.initialTab; - return values; - } - - @Override - public void encodeBegin(FacesContext context) throws IOException - { - if (isRendered() == false) - { - return; - } - - // get the link validation state object to get the data from - ResourceBundle bundle = Application.getBundle(context); - ResponseWriter out = context.getResponseWriter(); - LinkValidationState linkState = getValue(); - - if (logger.isDebugEnabled()) - logger.debug("Rendering report from state object: " + linkState); - - if (linkState != null) - { - if (linkState.getError() == null && linkState.getNumberBrokenLinks() > 0) - { - // determine whether the generated files and broken links sections - // should be expanded - boolean sectionsExpanded = this.getItemsExpanded(); - - // render the required JavaScript - String selectedTab = this.getInitialTab(); - out.write("\n"); - - out.write("\n"); - - out.write("\n"); - - // gather count data for tab titles - int numStaticFiles = linkState.getStaticFilesWithBrokenLinks().size(); - int numForms = linkState.getFormsWithBrokenLinks().size(); - int numBrokenFileLinks = linkState.getNoBrokenLinksInStaticFiles(); - int numBrokenFormLinks = linkState.getNoBrokenLinksInForms(); - int numFixedItems = linkState.getNumberFixedItems(); - - String pattern = bundle.getString("static_tab"); - String staticTabTitle = MessageFormat.format(pattern, - new Object[] {numStaticFiles}); - - pattern = bundle.getString("generated_tab"); - String generatedTabTitle = MessageFormat.format(pattern, - new Object[] {numForms}); - - // render the tabs - out.write("
"); - - // reset the oddRow flag - this.oddRow = true; - - // render the list of broken files and their contained links - out.write(""); - - // reset the oddRow flag - this.oddRow = true; - - // render the list of broken forms, the files it generated and their contained links - out.write(""); - - // reset the oddRow flag - this.oddRow = true; - - // render the list of fixed items - out.write(""); - } - else - { - out.write("
 
"); - } - } - else - { - out.write("
 
"); - } - } - - // ------------------------------------------------------------------------------ - // Strongly typed component property accessors - - /** - * @return true if broken links and generated files should be expanded - */ - public boolean getItemsExpanded() - { - ValueBinding vb = getValueBinding("itemsExpanded"); - if (vb != null) - { - this.itemsExpanded = (Boolean)vb.getValue(getFacesContext()); - } - - if (this.itemsExpanded == null) - { - this.itemsExpanded = Boolean.FALSE; - } - - return this.itemsExpanded.booleanValue(); - } - - /** - * @param value true if broken links and generated files should be expanded - */ - public void setItemsExpanded(boolean value) - { - this.itemsExpanded = value; - } - - /** - * @return The tab that will be initially selected - */ - public String getInitialTab() - { - ValueBinding vb = getValueBinding("initialTab"); - if (vb != null) - { - this.initialTab = (String)vb.getValue(getFacesContext()); - } - - if (this.initialTab == null) - { - this.initialTab = DEFAULT_INTIAL_TAB; - } - - return this.initialTab; - } - - /** - * @param tab The initial tab to be selected - */ - public void setItemsExpanded(String tab) - { - this.initialTab = tab; - } - - // ------------------------------------------------------------------------------ - // Helpers - - protected void renderBrokenFile(FacesContext context, ResponseWriter out, - String file, LinkValidationState linkState, UIActions actions, - AVMService avmService, int rootPathIndex, String storeId, boolean brokenLinksExpanded) - throws IOException - { - // gather the data to show for the file - String[] nameAndPath = this.getFileNameAndPath(file); - String fileName = nameAndPath[0]; - String filePath = nameAndPath[1]; - - // render the row with the appropriate background style - out.write("
"); - - // setup the context for the actions - AVMNodeDescriptor desc = avmService.lookup(-1, file); - AVMNode node = new AVMNode(desc); - - String assetPath = file.substring(rootPathIndex); - String previewUrl = AVMUtil.getPreviewURI(storeId, assetPath); - node.getProperties().put("previewUrl", previewUrl); - actions.setContext(node); - - // render the actions - Utils.encodeRecursive(context, actions); - - out.write("
"); - - // render the file details - String brokenLinks = getBrokenLinks(context, file, linkState); - int numBrokenLinks = linkState.getBrokenLinksForFile(file).size(); - renderFileDetails(out, context, fileName, filePath, brokenLinks, - numBrokenLinks, brokenLinksExpanded); - - out.write("
"); - } - - protected void renderBrokenForm(FacesContext context, ResponseWriter out, - String file, LinkValidationState linkState, UIActions actions, - AVMService avmService, boolean generatedFilesExpanded) throws IOException - { - // get the web form name and path - String[] formNamePath = this.getFileNameAndPath(file); - String formName = formNamePath[0]; - String formPath = formNamePath[1]; - - // setup the context for the actions - AVMNodeDescriptor desc = avmService.lookup(-1, file); - AVMNode node = new AVMNode(desc); - actions.setContext(node); - - // generate a unique id for this form - String formId = this.getId() + "_" + desc.getId(); - - // render the row with the appropriate background style - out.write("
"); - - // render the actions - Utils.encodeRecursive(context, actions); - - out.write("
"); - - // render the generated files - List brokenFiles = linkState.getBrokenFilesByForm(file); - - out.write("
"); - out.write(Utils.encode(formName)); - out.write("
"); - out.write(Utils.encode(formPath)); - out.write("
"); - out.write(Application.getMessage(context, "generated_files")); - out.write(" ("); - out.write(Integer.toString(brokenFiles.size())); - out.write(")
"); - } - - protected void renderFixedItem(FacesContext context, ResponseWriter out, - String file, LinkValidationState linkState) throws IOException - { - // gather the data to show for the file - String[] nameAndPath = this.getFileNameAndPath(file); - String fileName = nameAndPath[0]; - String filePath = nameAndPath[1]; - - // render the row with the appropriate background style - out.write("
"); - - // render the file details - renderFileDetails(out, context, fileName, filePath, null, 0, false); - out.write("
"); - } - - /** - * Returns the name and path for the given avm path - * - * @param avmPath The path to split - * @return A String array with the name in the first position and the path in the - * second position. - */ - protected String[] getFileNameAndPath(String avmPath) - { - String fileName = avmPath; - String filePath = avmPath; - - int idx = avmPath.lastIndexOf("/"); - if (idx != -1) - { - fileName = avmPath.substring(idx+1); - - int appbaseIdx = avmPath.indexOf(JNDIConstants.DIR_DEFAULT_APPBASE); - if (appbaseIdx != -1) - { - filePath = avmPath.substring(appbaseIdx+JNDIConstants.DIR_DEFAULT_APPBASE.length(), idx); - } - else - { - filePath = avmPath.substring(0, idx); - } - } - - return new String[] {fileName, filePath}; - } - - /** - * Constructs a comma separated list of broken links for the given avm path - * - * @param avmPath The avm path to get the broken links for - * @param linkState The current link valiation state - * @return Comma separated list of broken links - */ - protected String getBrokenLinks(FacesContext context, String avmPath, LinkValidationState linkState) - { - List brokenLinks = linkState.getBrokenLinksForFile(avmPath); - StringBuilder builder = new StringBuilder(); - boolean first = true; - for (String link : brokenLinks) - { - if (first == false) - { - builder.append("
"); - } - else - { - first = false; - } - - builder.append(""); - builder.append(parseBrokenLink(link)); - } - - return builder.toString(); - } - - /** - * Removes the virtaulisation server host name from the link if appropriate - * - * @param linkUrl The URL that is broken - * @return Parsed URL - */ - protected String parseBrokenLink(String linkUrl) - { - String link = linkUrl; - - if (linkUrl.startsWith("http://") && linkUrl.indexOf("www--sandbox") != -1) - { - // remove the virtualisation server host name - int idx = linkUrl.indexOf("/", 7); - if (idx != -1) - { - link = linkUrl.substring(idx); - } - } - - // truncate the link if it is longer than 60 chars - String title = link; - if (link.length() > 65) - { - link = link.substring(0, 30) + " ... " + - link.substring(link.length()-30); - } - - return " " + link + ""; - } - - protected void renderTabHeader(ResponseWriter out, FacesContext context, - String tabId, boolean showExpandCollapseControls) throws IOException - { - out.write("
"); - out.write("
"); - - if (showExpandCollapseControls) - { - if (this.getItemsExpanded()) - { - UICommand collapseAllAction = aquireCollapseAllAction(context, tabId); - Utils.encodeRecursive(context, collapseAllAction); - } - else - { - UICommand expandAllAction = aquireExpandAllAction(context, tabId); - Utils.encodeRecursive(context, expandAllAction); - } - } - else - { - out.write(" "); - } - - out.write("
 
"); - } - - protected void renderFileDetails(ResponseWriter out, FacesContext context, - String fileName, String filePath, String brokenLinks, - int numBrokenLinks, boolean brokenLinksExpanded) throws IOException - { - // generate a unique id for the file - String fileId = "file" + Integer.toString((filePath + fileName).hashCode()); - - out.write("
"); - out.write(Utils.encode(fileName)); - out.write("
"); - out.write(Utils.encode(filePath)); - out.write("
"); - - if (brokenLinks != null && brokenLinks.length() > 0) - { - out.write("
"); - out.write(Application.getMessage(context, "broken_links")); - out.write(" ("); - out.write(Integer.toString(numBrokenLinks)); - out.write(")
"); - - out.write(""); - } - - out.write("
"); - } - - /** - * Renders the "No items to display" message - * - * @param out ResponseWriter instance to write to - * @param context FacesContext - * @throws IOException - */ - protected void renderNoItems(ResponseWriter out, FacesContext context) - throws IOException - { - out.write("
"); - out.write(Application.getMessage(context, "no_items")); - out.write("
"); - } - - /** - * Returns the icon to use given a file name - * - * @param fileName File name to find an icon for - * @return The path to the icon to use - */ - protected String getIcon(String fileName) - { - // work out what icon to use - String icon = "/images/filetypes32/_default.gif"; - String ext = ""; - int idx = fileName.indexOf("."); - if (idx != -1) - { - ext = fileName.substring(idx); - } - - if (ext.equals(".html") || ext.equals(".htm")) - { - icon = "/images/filetypes32/html.gif"; - } - else if (ext.equals(".xml")) - { - icon = "/images/icons/webform_large.gif"; - } - - return icon; - } - - /** - * Aquire the UIActions component for the specified action group ID. - * Search for the component in the child list or create as needed. - * - * @param id ActionGroup id of the UIActions component - * - * @return UIActions component - */ - @SuppressWarnings("unchecked") - protected UIActions aquireFileActions(String id, String store) - { - UIActions uiActions = null; - String componentId = id + '_' + store; - - for (UIComponent component : (List)getChildren()) - { - if (componentId.equals(component.getId())) - { - uiActions = (UIActions)component; - break; - } - } - - if (uiActions == null) - { - javax.faces.application.Application facesApp = FacesContext.getCurrentInstance().getApplication(); - uiActions = (UIActions)facesApp.createComponent("org.alfresco.faces.Actions"); - uiActions.setShowLink(false); - uiActions.getAttributes().put("styleClass", "inlineAction"); - uiActions.setId(componentId); - uiActions.setParent(this); - uiActions.setValue(id); - - this.getChildren().add(uiActions); - } - - return uiActions; - } - - @SuppressWarnings("unchecked") - protected UICommand aquireUpdateStatusAction(FacesContext context, String actionId) - { - UICommand action = null; - - // try find the action as a child of this component - for (UIComponent component : (List)getChildren()) - { - if (actionId.equals(component.getId())) - { - action = (UICommand)component; - break; - } - } - - if (action == null) - { - // create the action and add as a child component - javax.faces.application.Application facesApp = context.getApplication(); - action = (UICommand)facesApp.createComponent(UICommand.COMPONENT_TYPE); - action.setId(actionId); - action.setValue(Application.getMessage(context, "update_status")); - MethodBinding binding = facesApp.createMethodBinding("#{DialogManager.bean.updateStatus}", - new Class[] {}); - action.setAction(binding); - this.getChildren().add(action); - } - - return action; - } - - @SuppressWarnings("unchecked") - protected UIActionLink aquireExpandAllAction(FacesContext context, String tabId) - { - UIActionLink action = null; - String actionId = "expand_" + tabId; - - // try find the action as a child of this component - for (UIComponent component : (List)getChildren()) - { - if (actionId.equals(component.getId())) - { - action = (UIActionLink)component; - break; - } - } - - if (action == null) - { - // create the action and add as a child component - javax.faces.application.Application facesApp = context.getApplication(); - action = (UIActionLink)facesApp.createComponent(UIActions.COMPONENT_ACTIONLINK); - action.setId(actionId); - action.setValue(Application.getMessage(context, "expand_all")); - MethodBinding binding = facesApp.createMethodBinding("#{DialogManager.bean.toggleSections}", - new Class[] {javax.faces.event.ActionEvent.class}); - action.setActionListener(binding); - - // add a parameter to indicate what tab is being expanded - UIParameter param = (UIParameter)facesApp.createComponent(ComponentConstants.JAVAX_FACES_PARAMETER); - param.setId(actionId + "_param"); - param.setName("tab"); - param.setValue(tabId); - action.getChildren().add(param); - - this.getChildren().add(action); - } - - return action; - } - - @SuppressWarnings("unchecked") - protected UIActionLink aquireCollapseAllAction(FacesContext context, String tabId) - { - UIActionLink action = null; - String actionId = "collapse_" + tabId; - - // try find the action as a child of this component - for (UIComponent component : (List)getChildren()) - { - if (actionId.equals(component.getId())) - { - action = (UIActionLink)component; - break; - } - } - - if (action == null) - { - // create the action and add as a child component - javax.faces.application.Application facesApp = context.getApplication(); - action = (UIActionLink)facesApp.createComponent(UIActions.COMPONENT_ACTIONLINK); - action.setId(actionId); - action.setValue(Application.getMessage(context, "collapse_all")); - MethodBinding binding = facesApp.createMethodBinding("#{DialogManager.bean.toggleSections}", - new Class[] {javax.faces.event.ActionEvent.class}); - action.setActionListener(binding); - - // add a parameter to indicate what tab is being expanded - UIParameter param = (UIParameter)facesApp.createComponent(ComponentConstants.JAVAX_FACES_PARAMETER); - param.setId(actionId + "_param"); - param.setName("tab"); - param.setValue(tabId); - action.getChildren().add(param); - - this.getChildren().add(action); - } - - return action; - } -} - - - - diff --git a/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationSummary.java b/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationSummary.java deleted file mode 100644 index e15c5d832b..0000000000 --- a/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationSummary.java +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.web.ui.wcm.component; - -import java.io.IOException; -import java.text.MessageFormat; -import java.util.Date; -import java.util.ResourceBundle; - -import javax.faces.context.FacesContext; -import javax.faces.context.ResponseWriter; - -import org.alfresco.web.app.Application; -import org.alfresco.web.bean.wcm.LinkValidationState; -import org.alfresco.web.ui.common.PanelGenerator; -import org.alfresco.web.ui.common.Utils; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * JSF component that shows the summary information for a link - * validation report. - * - * @author gavinc - */ -public class UILinkValidationSummary extends AbstractLinkValidationReportComponent -{ - private static Log logger = LogFactory.getLog(UILinkValidationSummary.class); - - // ------------------------------------------------------------------------------ - // Component implementation - - @Override - public String getFamily() - { - return "org.alfresco.faces.LinkValidationSummary"; - } - - @SuppressWarnings("unchecked") - @Override - public void encodeBegin(FacesContext context) throws IOException - { - if (isRendered() == false) - { - return; - } - - // get the link validation state object to get the data from - ResourceBundle bundle = Application.getBundle(context); - ResponseWriter out = context.getResponseWriter(); - LinkValidationState linkState = getValue(); - - if (logger.isDebugEnabled()) - logger.debug("Rendering summary from state object: " + linkState); - - // determine what to display i.e. surrounding panel and title - boolean showPanel = true; - boolean showTitle = true; - - Object showPanelObj = this.getAttributes().get("showPanel"); - if (showPanelObj instanceof Boolean) - { - showPanel = ((Boolean)showPanelObj).booleanValue(); - } - - Object showTitleObj = this.getAttributes().get("showTitle"); - if (showTitleObj instanceof Boolean) - { - showTitle = ((Boolean)showTitleObj).booleanValue(); - } - - if (showPanel) - { - // render the summary area with a surrounding panel - PanelGenerator.generatePanelStart(out, context.getExternalContext().getRequestContextPath(), - "innerwhite", "white"); - } - - String styleClass = (String)this.getAttributes().get("styleClass"); - if (styleClass == null || styleClass.length() == 0) - { - styleClass = "linkValidationSummaryPanel"; - } - - out.write("
"); - - if (showTitle) - { - out.write("
"); - out.write(bundle.getString("report_summary")); - out.write("
"); - } - - if (linkState != null) - { - if (linkState.getError() == null) - { - // render the main summary info - - int latestVersion = linkState.getLatestSnapshotVersion(); - int baseVersion = linkState.getBaseSnapshotVersion(); - - String pattern = bundle.getString("link_check_completed_at"); - Date checkAt = linkState.getCheckCompletedAt(); - String checkTime = Utils.getDateTimeFormat(context).format(checkAt); - String checkTimeSummary = MessageFormat.format(pattern, - new Object[] {checkTime, baseVersion}); - - out.write("
"); - out.write(checkTimeSummary); - - // NOTE: Whenever latestVersion > baseVersion, link validation is "behind". - if (latestVersion > baseVersion) - { - pattern = bundle.getString("link_check_not_latest"); - String latestVersionInfo = - MessageFormat.format( - pattern, new Object[] { new Integer( latestVersion )}); - - out.write("  "); - out.write( latestVersionInfo ); - } - - pattern = bundle.getString("link_check_items_found"); - String checkedSummary = MessageFormat.format(pattern, - new Object[] {linkState.getNumberFilesChecked(), - linkState.getNumberLinksChecked()}); - - pattern = bundle.getString("link_check_items_broken"); - - String numBrokenLinks = Integer.toString(linkState.getNumberBrokenLinks()); - if (linkState.hasMaxNumberLinksExceeded()) - { - numBrokenLinks = Integer.toString(linkState.getMaxNumberLinksInReport()) + "+"; - } - - String brokenSummary = MessageFormat.format(pattern, - new Object[] {numBrokenLinks, linkState.getNumberBrokenFiles()}); - - out.write("
"); - out.write(checkedSummary); - out.write("  "); - out.write(bundle.getString("link_check_no_broken")); - } - else - { - out.write("/images/icons/warning.gif' /> "); - out.write(brokenSummary); - } - out.write("
"); - } - else - { - // render the error that occurred - String pattern = bundle.getString("link_check_error"); - Date initialCheck = linkState.getCheckCompletedAt(); - String initialCheckTime = Utils.getDateTimeFormat(context).format(initialCheck); - String initialCheckSummary = MessageFormat.format(pattern, - new Object[] {initialCheckTime}); - - out.write(initialCheckSummary); - out.write(" "); - String err = linkState.getError().getMessage(); - if (err == null) - { - out.write(linkState.getError().toString()); - } - else - { - out.write(err); - } - out.write(""); - } - } - else - { - // if the report was not found at all, show an error to that effect - out.write(""); - out.write(bundle.getString("failed_to_find_validation_report")); - out.write(""); - } - - out.write("
"); - - if (showPanel) - { - // finish the surrounding panel - PanelGenerator.generatePanelEnd(out, context.getExternalContext().getRequestContextPath(), - "innerwhite"); - } - } -} diff --git a/source/java/org/alfresco/web/ui/wcm/component/UIUserSandboxes.java b/source/java/org/alfresco/web/ui/wcm/component/UIUserSandboxes.java index fee0f6a9cb..0195fc4443 100644 --- a/source/java/org/alfresco/web/ui/wcm/component/UIUserSandboxes.java +++ b/source/java/org/alfresco/web/ui/wcm/component/UIUserSandboxes.java @@ -109,7 +109,6 @@ public class UIUserSandboxes extends SelfRenderingComponent implements Serializa private static final String ACT_CREATE_FORM_CONTENT = "create_form_content"; private static final String ACT_SANDBOX_REVERTSELECTED = "sandbox_revertselected"; private static final String ACT_SANDBOX_SUBMITSELECTED = "sandbox_submitselected"; - private static final String ACT_SANDBOX_CHECK_LINKS = "check_links"; private static final String ACT_SANDBOX_BROWSE = "sandbox_browse"; private static final String ACT_SANDBOX_REVERTALL = "sandbox_revertall"; private static final String ACT_SANDBOX_SUBMITALL = "sandbox_submitall"; @@ -361,13 +360,6 @@ public class UIUserSandboxes extends SelfRenderingComponent implements Serializa userRoleWrappers = buildCurrentUserRole(wpService, websiteRef, currentUserName); } - // determine whether the check links action should be shown - boolean linkValidationEnabled = true; - if (avmBrowseBean != null) - { - linkValidationEnabled = avmBrowseBean.isLinkValidationEnabled(); - } - // determine whether the deploy action should be shown boolean deployServersConfigured = false; List deployToServers = DeploymentUtil.findTestServers(websiteRef, false); @@ -494,22 +486,6 @@ public class UIUserSandboxes extends SelfRenderingComponent implements Serializa // clear current menu actions then add relevant ones menu.getChildren().clear(); - // Check Links action - if (linkValidationEnabled) - { - Map params = new HashMap(6); - params.put("store", mainStore); - params.put("username", username); - params.put("webapp", this.getWebapp()); - params.put("mode", "runReport"); - params.put("compareToStaging", "true"); - UIActionLink checkLinks = createAction(context, mainStore, username, - ACT_SANDBOX_CHECK_LINKS, "/images/icons/run_link_validation.gif", - "#{DialogManager.setupParameters}", "dialog:linkValidation", - null, params, false); - menu.getChildren().add(checkLinks); - } - // Deploy action if (deployServersConfigured) { diff --git a/source/web/WEB-INF/faces-config-beans.xml b/source/web/WEB-INF/faces-config-beans.xml index 12ae1c2b61..25837712a7 100644 --- a/source/web/WEB-INF/faces-config-beans.xml +++ b/source/web/WEB-INF/faces-config-beans.xml @@ -1,6062 +1,6024 @@ - - - - - - - - - The bean for the Manage Multilingual dialog. - - MultilingualManageDialog - - org.alfresco.web.bean.ml.MultilingualManageDialog - - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - multilingualContentService - #{MultilingualContentService} - - - contentFilterLanguagesService - #{ContentFilterLanguagesService} - - - editionService - #{EditionService} - - - versionService - #{VersionService} - - - - - - The bean for Manage WCM Permissions. - - ManagePermissionsDialog - - org.alfresco.web.bean.wcm.ManagePermissionsDialog - - session - - personService - #{PersonService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that makes a document multilingual - - MakeMultilingualDialog - org.alfresco.web.bean.ml.MakeMultilingualDialog - session - - multilingualContentService - #{MultilingualContentService} - - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - userPreferencesBean - #{UserPreferencesBean} - - - - - - The bean that edits the multilinguals properties of a document - - EditMLContainerDialog - org.alfresco.web.bean.ml.EditMLContainerDialog - session - - multilingualContentService - #{MultilingualContentService} - - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that adds a new translation without content - - AddTranslationWithoutContentDialog - org.alfresco.web.bean.ml.AddTranslationWithoutContentDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - dictionaryService - #{DictionaryService} - - - browseBean - #{BrowseBean} - - - multilingualContentService - #{MultilingualContentService} - - - userPreferencesBean - #{UserPreferencesBean} - - - - - - The bean that adds a translation with a content - - AddTranslationDialog - org.alfresco.web.bean.ml.AddTranslationDialog - session - - multilingualContentService - #{MultilingualContentService} - - - userPreferencesBean - #{UserPreferencesBean} - - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Login screen - - LoginBean - org.alfresco.web.bean.LoginBean - session - - nodeService - #{NodeService} - - - authenticationService - #{AuthenticationService} - - - personService - #{PersonService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - userPreferencesBean - #{UserPreferencesBean} - - - - - - A request scoped bean that backs up the Login screen - - LoginOutcomeBean - org.alfresco.web.bean.LoginOutcomeBean - request - - redirectURL - #{param._alfRedirect} - - - - - - The bean that holds navigation state. - - NavigationBean - org.alfresco.web.bean.NavigationBean - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - serverConfiguration - #{fileServerConfiguration} - - - ruleService - #{RuleService} - - - userPreferencesBean - #{UserPreferencesBean} - - - authenticationService - #{AuthenticationService} - - - permissionService - #{PermissionService} - - - - - - The bean that holds folder browse state. - - BrowseBean - org.alfresco.web.bean.BrowseBean - session - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - lockService - #{LockService} - - - dictionaryService - #{DictionaryService} - - - fileFolderService - #{FileFolderService} - - - userPreferencesBean - #{UserPreferencesBean} - - - multilingualContentService - #{MultilingualContentService} - - - - - Bean that provides information for the About page - AboutBean - org.alfresco.web.bean.AboutBean - session - - descriptorService - #{DescriptorService} - - - - - Bean that manages the dialog framework - DialogManager - org.alfresco.web.bean.dialog.DialogManager - session - - - - Bean that manages the wizard framework - WizardManager - org.alfresco.web.bean.wizard.WizardManager - session - - - - - The bean that backs up the Create Space Dialog - - CreateSpaceDialog - org.alfresco.web.bean.spaces.CreateSpaceDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Create Space Wizard - - CreateSpaceWizard - org.alfresco.web.bean.spaces.CreateSpaceWizard - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Delete Space Dialog - - DeleteSpaceDialog - org.alfresco.web.bean.spaces.DeleteSpaceDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Delete Space Association Dialog - - DeleteSpaceAssociationDialog - org.alfresco.web.bean.spaces.DeleteSpaceAssociationDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that manages a users Clipboard state. - - ClipboardBean - org.alfresco.web.bean.clipboard.ClipboardBean - session - - - nodeService - #{NodeService} - - - - - - The bean that manages the state for the Recent Spaces Shelf component. - - RecentSpacesBean - org.alfresco.web.bean.spaces.RecentSpacesBean - session - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - - - - The bean that manages the state for the User Shortcuts Shelf component. - - UserShortcutsBean - org.alfresco.web.bean.users.UserShortcutsBean - session - - nodeService - #{NodeService} - - - browseBean - #{BrowseBean} - - - permissionService - #{PermissionService} - - - - - - The bean that holds a state for the Advanced Search screen. - - SearchProperties - org.alfresco.web.bean.search.SearchProperties - session - - - - - The bean that holds a state for the Advanced Search screen. - - AdvancedSearchDialog - org.alfresco.web.bean.search.AdvancedSearchDialog - session - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - namespaceService - #{NamespaceService} - - - searchService - #{SearchService} - - - permissionService - #{PermissionService} - - - properties - #{SearchProperties} - - - - - - The bean that holds state for the Users screen. - - UsersBeanProperties - org.alfresco.web.bean.users.UsersBeanProperties - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - authenticationService - #{AuthenticationService} - - - personService - #{PersonService} - - - contentUsageService - #{ContentUsageService} - - - userRegistrySynchronizer - #{userRegistrySynchronizer} - - - - - - The bean that holds state for the User Management screens. - - UsersDialog - org.alfresco.web.bean.users.UsersDialog - session - - properties - #{UsersBeanProperties} - - - - - - The bean that holds state for the Groups Management screens. - - GroupsDialog - org.alfresco.web.bean.groups.GroupsDialog - session - - nodeService - #{NodeService} - - - authService - #{AuthorityService} - - - personService - #{PersonService} - - - - - - The bean that holds state for the Category Management screens. - - CategoriesProperties - org.alfresco.web.bean.CategoriesProperties - session - - categoryService - #{CategoryService} - - - - - - The bean that holds state for the Category Management screens. - - CategoriesDialog - org.alfresco.web.bean.categories.CategoriesDialog - session - - nodeService - #{NodeService} - - - categoryService - #{CategoryService} - - - - - - The bean that backs up the Edit Space Dialog - - EditSpaceDialog - org.alfresco.web.bean.spaces.EditSpaceDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - searchService - #{SearchService} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Add Content Dialog - - AddContentDialog - org.alfresco.web.bean.content.AddContentDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - dictionaryService - #{DictionaryService} - - - - - - The bean that backs up the Create Content Wizard - - CreateContentWizard - org.alfresco.web.bean.content.CreateContentWizard - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - dictionaryService - #{DictionaryService} - - - formsService - #{FormsService} - - - - - - The bean that backs up the Edit Content Wizard - - EditContentWizard - org.alfresco.web.bean.content.EditContentWizard - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - dictionaryService - #{DictionaryService} - - - formsService - #{FormsService} - - - - - - The bean that backs up the View Content Properties Dialog - - ViewContentPropertiesDialog - org.alfresco.web.bean.content.ViewContentPropertiesDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - dictionaryService - #{DictionaryService} - - - browseBean - #{BrowseBean} - - - - - - The bean that backs up the Set Content Properties Dialog - - SetContentPropertiesDialog - org.alfresco.web.bean.content.SetContentPropertiesDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - dictionaryService - #{DictionaryService} - - - browseBean - #{BrowseBean} - - - - - - The bean that backs up the Edit Content Properties Dialog - - EditContentPropertiesDialog - org.alfresco.web.bean.content.EditContentPropertiesDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - dictionaryService - #{DictionaryService} - - - browseBean - #{BrowseBean} - - - - - - The bean that backs up the Delete Content Dialog - - DeleteContentDialog - org.alfresco.web.bean.content.DeleteContentDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - multilingualContentService - #{MultilingualContentService} - - - - - - The bean that backs up the Link Properties Dialog - - LinkPropertiesDialog - org.alfresco.web.bean.LinkPropertiesDialog - session - - nodeService - #{NodeService} - - - dictionaryService - #{DictionaryService} - - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - - - - The bean that backs up the Create Rule Wizard - - CreateRuleWizard - org.alfresco.web.bean.rules.CreateCompositeRuleWizard - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - ruleService - #{RuleService} - - - actionService - #{ActionService} - - - dictionaryService - #{DictionaryService} - - - mimetypeService - #{MimetypeService} - - - rulesDialog - #{RulesDialog} - - - personService - #{PersonService} - - - authorityService - #{AuthorityService} - - - - - - The bean that backs up the Edit Rule Wizard - - EditRuleWizard - org.alfresco.web.bean.rules.EditRuleWizard - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - ruleService - #{RuleService} - - - actionService - #{ActionService} - - - dictionaryService - #{DictionaryService} - - - mimetypeService - #{MimetypeService} - - - rulesDialog - #{RulesDialog} - - - personService - #{PersonService} - - - authorityService - #{AuthorityService} - - - - - - The bean that backs up the Run Action Wizard - - RunActionWizard - org.alfresco.web.bean.actions.RunActionWizard - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - actionService - #{ActionService} - - - dictionaryService - #{DictionaryService} - - - mimetypeService - #{MimetypeService} - - - personService - #{PersonService} - - - authorityService - #{AuthorityService} - - - - - - The bean that backs up the New User Wizard - - NewUserWizard - org.alfresco.web.bean.wizard.NewUserWizard - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - authenticationService - #{authenticationService} - - - permissionService - #{PermissionService} - - - namespaceService - #{NamespaceService} - - - personService - #{PersonService} - - - ownableService - #{OwnableService} - - - tenantService - #{tenantService} - - - - - - The bean that backs up the Manage Invited Users screens - - SpaceUsersBean - org.alfresco.web.bean.users.SpaceUsersBean - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - browseBean - #{BrowseBean} - - - permissionService - #{PermissionService} - - - authorityService - #{AuthorityService} - - - ownableService - #{OwnableService} - - - personService - #{PersonService} - - - - - - The bean that backs up the Manage Content Users screens - - ContentUsersBean - org.alfresco.web.bean.users.ContentUsersBean - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - browseBean - #{BrowseBean} - - - permissionService - #{PermissionService} - - - authorityService - #{AuthorityService} - - - ownableService - #{OwnableService} - - - personService - #{PersonService} - - - - - - The bean that backs up the Invite Users Wizard - - InviteSpaceUsersWizard - org.alfresco.web.bean.spaces.InviteSpaceUsersWizard - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - permissionService - #{PermissionService} - - - personService - #{PersonService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - mailSender - #{mailService} - - - authorityService - #{AuthorityService} - - - - - - The bean that backs up the Invite Mail Users Wizard - - MailInviteSpaceUsersWizard - org.alfresco.web.bean.users.MailInviteSpaceUsersWizard - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - permissionService - #{PermissionService} - - - personService - #{PersonService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - mailSender - #{mailService} - - - authorityService - #{AuthorityService} - - - - - - The bean that backs up the Invite Content Users Wizard - - InviteContentUsersWizard - org.alfresco.web.bean.content.InviteContentUsersWizard - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - permissionService - #{PermissionService} - - - personService - #{PersonService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - mailSender - #{mailService} - - - authorityService - #{AuthorityService} - - - - - - The bean that presents the Checkin and Checkout bean's properties. - - CCProperties - org.alfresco.web.bean.coci.CCProperties - session - - versionQueryService - #{VersionService} - - - versionOperationsService - #{CheckoutCheckinService} - - - contentService - #{ContentService} - - - workflowService - #{WorkflowService} - - - - - The bean that help with edit offline procedure. - EditOfflineDialog - org.alfresco.web.bean.coci.EditOfflineDialog - session - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - property - #{CCProperties} - - - userPreferencesBean - #{UserPreferencesBean} - - - - - The bean that helps with edit online procedure and presents fiction online editing dialog. - EditOnlineDialog - org.alfresco.web.bean.coci.EditOnlineDialog - session - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - property - #{CCProperties} - - - - - The bean that backs up the Checkin and Checkout pages. - CheckinCheckoutDialog - org.alfresco.web.bean.coci.CheckinCheckoutDialog - session - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - property - #{CCProperties} - - - - - The bean for the Update File Screen. - CCUpdateFileDialog - - org.alfresco.web.bean.coci.CCUpdateFileDialog - - session - - property - #{CCProperties} - - - - - The bean for the Upload a new versoin Screen. - UploadNewVersionDialog - - org.alfresco.web.bean.coci.UploadNewVersionDialog - - session - - property - #{CCProperties} - - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - - - - The bean that holds manage content rules state - - RulesDialog - org.alfresco.web.bean.rules.RulesDialog - session - - browseBean - #{BrowseBean} - - - ruleService - #{RuleService} - - - actionService - #{ActionService} - - - nodeService - #{NodeService} - - - navigator - #{NavigationBean} - - - - - - The bean that holds delete content rules state - - DeleteRuleDialog - org.alfresco.web.bean.rules.DeleteRuleDialog - session - - browseBean - #{BrowseBean} - - - ruleService - #{RuleService} - - - nodeService - #{NodeService} - - - - - - Backing bean used by the document details dialog - - DocumentDetailsDialog - org.alfresco.web.bean.content.DocumentDetailsDialog - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - lockService - #{LockService} - - - versionService - #{VersionService} - - - copyService - #{CopyService} - - - ownableService - #{OwnableService} - - - checkOutCheckInService - #{CheckoutCheckinService} - - - navigator - #{NavigationBean} - - - multilingualContentService - #{MultilingualContentService} - - - contentFilterLanguagesService - #{ContentFilterLanguagesService} - - - editionService - #{EditionService} - - - permissionService - #{PermissionService} - - - - - - Backing bean used by the document details dialog - - DocumentLinkDetailsDialog - org.alfresco.web.bean.content.DocumentLinkDetailsDialog - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - copyService - #{CopyService} - - - ownableService - #{OwnableService} - - - - navigator - #{NavigationBean} - - - permissionService - #{PermissionService} - - - - - - Backing bean used by the Space details dialog - - SpaceDetailsDialog - org.alfresco.web.bean.spaces.SpaceDetailsDialog - session - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - permissionService - #{PermissionService} - - - ownableService - #{OwnableService} - - - copyService - #{CopyService} - - - permissionService - #{PermissionService} - - - - - - Backing bean used by the SpaceLink details dialog - - SpaceLinkDetailsDialog - org.alfresco.web.bean.SpaceLinkDetailsDialog - session - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - permissionService - #{PermissionService} - - - ownableService - #{OwnableService} - - - copyService - #{CopyService} - - - - - - Backing bean used by the forum details dialog - - ForumDetailsDialog - org.alfresco.web.bean.forums.ForumDetailsDialog - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - copyService - #{CopyService} - - - ownableService - #{OwnableService} - - - - navigator - #{NavigationBean} - - - permissionService - #{PermissionService} - - - - - - Backing bean used by the forums details dialog - - ForumsDetailsDialog - org.alfresco.web.bean.forums.ForumsDetailsDialog - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - copyService - #{CopyService} - - - ownableService - #{OwnableService} - - - navigator - #{NavigationBean} - - - permissionService - #{PermissionService} - - - - - - Backing bean used by the topic details dialog - - TopicDetailsDialog - org.alfresco.web.bean.forums.TopicDetailsDialog - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - copyService - #{CopyService} - - - ownableService - #{OwnableService} - - - - navigator - #{NavigationBean} - - - permissionService - #{PermissionService} - - - - - - Backing bean used by screens requiring access to lists of Templates - - TemplateSupportBean - org.alfresco.web.bean.TemplateSupportBean - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - - - - Backing bean used by the document preview dialog - - DocumentPreviewBean - org.alfresco.web.bean.preview.DocumentPreviewBean - session - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - - - - Backing bean used by the document preview dialog - - SpacePreviewBean - org.alfresco.web.bean.preview.SpacePreviewBean - session - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - - - Backing bean used for the Export dialog - ExportDialog - org.alfresco.web.bean.admin.ExportDialog - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - actionService - #{ActionService} - - - - - Backing bean used for the Import dialog - ImportDialog - org.alfresco.web.bean.admin.ImportDialog - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - actionService - #{ActionService} - - - contentService - #{ContentService} - - - mimetypeService - #{MimetypeService} - - - - - - - Backing bean used for the low-level Node Browser - - AdminNodeBrowseBean - org.alfresco.web.bean.admin.AdminNodeBrowseBean - session - - transactionService - #{TransactionService} - - - nodeService - #{NodeService} - - - dictionaryService - #{DictionaryService} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - permissionService - #{PermissionService} - - - - - - - The bean that holds forums state. - - ForumsBean - org.alfresco.web.bean.forums.ForumsBean - session - - nodeService - #{NodeService} - - - contentService - #{ContentService} - - - dictionaryService - #{DictionaryService} - - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Create Forums Dialog - - CreateForumsDialog - org.alfresco.web.bean.forums.CreateForumsDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Create Forum Dialog - - CreateForumDialog - org.alfresco.web.bean.forums.CreateForumDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Create Topic Dialog - - CreateTopicDialog - org.alfresco.web.bean.forums.CreateTopicDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Create Post Dialog - - CreatePostDialog - org.alfresco.web.bean.forums.CreatePostDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - dictionaryService - #{DictionaryService} - - - - - - The bean that backs up the Edit Post Dialog - - EditPostDialog - org.alfresco.web.bean.forums.EditPostDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - dictionaryService - #{DictionaryService} - - - - - - The bean that backs up the Create Reply Dialog - - CreateReplyDialog - org.alfresco.web.bean.forums.CreateReplyDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - dictionaryService - #{DictionaryService} - - - - - - The bean that backs up the Create Discussion Dialog - - CreateDiscussionDialog - org.alfresco.web.bean.forums.CreateDiscussionDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Delete Forum Space Dialog - - DeleteForumsDialog - org.alfresco.web.bean.forums.DeleteForumsDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Delete Forum Dialog - - DeleteForumDialog - org.alfresco.web.bean.forums.DeleteForumDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Delete Topic Dialog - - DeleteTopicDialog - org.alfresco.web.bean.forums.DeleteTopicDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Delete Post Dialog - - DeletePostDialog - org.alfresco.web.bean.forums.DeletePostDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that holds state for the Manage Deleted Items screen. - - TrashcanDialogProperty - org.alfresco.web.bean.trashcan.TrashcanDialogProperty - session - - nodeArchiveService - #{nodeArchiveService} - - - - - - The bean that holds state for the Manage Deleted Items screen. - - TrashcanDialog - org.alfresco.web.bean.trashcan.TrashcanDialog - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - permissionService - #{PermissionService} - - - dictionaryService - #{DictionaryService} - - - property - #{TrashcanDialogProperty} - - - navigator - #{NavigationBean} - - - - - - Helper bean that caches the last item added to a multi - value editor component - - MultiValueEditorBean - org.alfresco.web.bean.MultiValueEditorBean - session - - - - Bean that manages the Dashboard framework - DashboardManager - org.alfresco.web.bean.dashboard.DashboardManager - session - - - - - The bean that backs up the Dashboard Config Wizard - - DashboardWizard - org.alfresco.web.bean.dashboard.DashboardWizard - session - - nodeService - #{NodeService} - - - dashboardManager - #{DashboardManager} - - - - - - The bean that backs up the Manage Task Dialog - - ManageTaskDialog - org.alfresco.web.bean.workflow.ManageTaskDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - workflowService - #{WorkflowService} - - - avmService - #{AVMLockingAwareService} - - - avmSyncService - #{AVMSyncService} - - - - - - The bean that backs up the Manage Change Request Task Dialog - - ManageChangeRequestTaskDialog - org.alfresco.web.bean.wcm.ManageChangeRequestTaskDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - workflowService - #{WorkflowService} - - - avmService - #{AVMLockingAwareService} - - - avmSyncService - #{AVMSyncService} - - - avmLockingService - #{AVMLockingService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Manage Review Task Dialog - - ManageReviewTaskDialog - org.alfresco.web.bean.wcm.ManageReviewTaskDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - workflowService - #{WorkflowService} - - - avmService - #{AVMLockingAwareService} - - - avmSyncService - #{AVMSyncService} - - - avmBrowseBean - #{AVMBrowseBean} - - - permissionService - #{PermissionService} - - - - - - The bean that backs up the View Completed Task Dialog - - ViewCompletedTaskDialog - org.alfresco.web.bean.workflow.ViewCompletedTaskDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - workflowService - #{WorkflowService} - - - - - StartWorkflowWizard - org.alfresco.web.bean.workflow.StartWorkflowWizard - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - workflowService - #{WorkflowService} - - - invitationService - #{InvitationService} - - - unprotectedNodeService - #{nodeService} - - - - - - The bean that backs up the New Edition Wizard - - NewEditionWizard - org.alfresco.web.bean.ml.NewEditionWizard - session - - editionService - #{EditionService} - - - multilingualContentService - #{MultilingualContentService} - - - nodeService - #{NodeService} - - - contentFilterLanguagesService - #{ContentFilterLanguagesService} - - - versionService - #{VersionService} - - - lockService - #{LockService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Cancel Workflow Dialog - - CancelWorkflowDialog - org.alfresco.web.bean.workflow.CancelWorkflowDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - workflowService - #{WorkflowService} - - - - - - The bean that backs up the Reassign Task Dialog - - ReassignTaskDialog - org.alfresco.web.bean.workflow.ReassignTaskDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - workflowService - #{WorkflowService} - - - personService - #{PersonService} - - - - - WorkflowBean - org.alfresco.web.bean.workflow.WorkflowBean - request - - navigationBean - #{NavigationBean} - - - nodeService - #{NodeService} - - - workflowService - #{WorkflowService} - - - - - - Backing bean used for the Workflow Console - WorkflowConsoleBean - org.alfresco.web.bean.workflow.WorkflowConsoleBean - session - - workflowInterpreter - #{workflowInterpreter} - - - - - Backing bean used to dump JMX objects - JmxDumperBean - org.alfresco.web.bean.jmx.JmxDumperBean - application - - mbeanServer - #{mbeanServer} - - - - - Backing bean used for the Web Client Config Admin Console - ConfigAdminConsoleBean - org.alfresco.web.bean.admin.ConfigAdminConsoleBean - session - - configAdminInterpreter - #{webClientConfigAdminInterpreter} - - - - - Backing bean used for the Repository Admin Console - RepoAdminConsoleBean - org.alfresco.web.bean.repository.admin.RepoAdminConsoleBean - session - - repoAdminInterpreter - #{repoAdminInterpreter} - - - - - Backing bean used for the Tenant Admin Console - TenantAdminConsoleBean - org.alfresco.web.bean.repository.tenant.TenantAdminConsoleBean - session - - tenantInterpreter - #{tenantInterpreter} - - - - - - The bean that backs up the Email Space Users Dialog - - EmailSpaceUsersDialog - org.alfresco.web.bean.users.EmailSpaceUsersDialog - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - permissionService - #{PermissionService} - - - personService - #{PersonService} - - - authorityService - #{AuthorityService} - - - mailSender - #{mailService} - - - - - - The bean that backs up the Getting Started Dashlet page - - GettingStartedBean - org.alfresco.web.bean.dashboard.GettingStartedBean - session - - navigationBean - #{NavigationBean} - - - - - - The bean that backs up the User Preferences page - - UserPreferencesBean - org.alfresco.web.bean.users.UserPreferencesBean - session - - multilingualContentService - #{MultilingualContentService} - - - contentFilterLanguagesService - #{ContentFilterLanguagesService} - - - nodeService - #{NodeService} - - - - - - The bean that backs up the Sidebar component - - SidebarBean - org.alfresco.web.bean.SidebarBean - session - - - - - - - The bean that backs up the Create XML Content Type Wizard - - CreateFormWizard - org.alfresco.web.bean.wcm.CreateFormWizard - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - mimetypeService - #{MimetypeService} - - - workflowService - #{WorkflowService} - - - formsService - #{FormsService} - - - - - - The bean that backs up the Edit Form Wizard - - EditFormWizard - org.alfresco.web.bean.wcm.EditFormWizard - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - mimetypeService - #{MimetypeService} - - - workflowService - #{WorkflowService} - - - formsService - #{FormsService} - - - - - - The bean that backs up the Create XML Content Type Wizard (WCM) - - CreateWebFormWizard - org.alfresco.web.bean.wcm.CreateFormWizard - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - mimetypeService - #{MimetypeService} - - - workflowService - #{WorkflowService} - - - formsService - #{FormsService} - - - - - - The bean that backs up the Edit Web Form Wizard (WCM) - - EditWebFormWizard - org.alfresco.web.bean.wcm.EditFormWizard - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - mimetypeService - #{MimetypeService} - - - workflowService - #{WorkflowService} - - - formsService - #{FormsService} - - - - - - The bean that backs up the Regenerate Renditions Wizard - - RegenerateRenditionsWizard - org.alfresco.web.bean.wcm.RegenerateRenditionsWizard - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - browseBean - #{BrowseBean} - - - webProjectService - #{WebProjectService} - - - avmService - #{AVMLockingAwareService} - - - avmLockingService - #{AVMLockingService} - - - avmSyncService - #{AVMSyncService} - - - formsService - #{FormsService} - - - permissionService - #{PermissionService} - - - - - - The bean that backs up the Create Web Content Wizard - - CreateWebContentWizard - org.alfresco.web.bean.wcm.CreateWebContentWizard - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - dictionaryService - #{DictionaryService} - - - avmService - #{AVMLockingAwareService} - - - avmLockingService - #{AVMLockingService} - - - avmSyncService - #{AVMSyncService} - - - avmBrowseBean - #{AVMBrowseBean} - - - filePickerBean - #{FilePickerBean} - - - formsService - #{FormsService} - - - - - - The bean that backs up the Edit Web Content Wizard - - EditWebContentWizard - org.alfresco.web.bean.wcm.EditWebContentWizard - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - contentService - #{ContentService} - - - dictionaryService - #{DictionaryService} - - - avmService - #{AVMLockingAwareService} - - - avmLockingService - #{AVMLockingService} - - - avmSyncService - #{AVMSyncService} - - - avmBrowseBean - #{AVMBrowseBean} - - - filePickerBean - #{FilePickerBean} - - - formsService - #{FormsService} - - - - - - The bean that backs up the Create Website Wizard - - CreateWebsiteWizard - org.alfresco.web.bean.wcm.CreateWebsiteWizard - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - navigator - #{NavigationBean} - - - searchService - #{SearchService} - - - workflowService - #{WorkflowService} - - - personService - #{PersonService} - - - formsService - #{FormsService} - - - webProjectService - #{WebProjectService} - - - - - - The bean that backs up the Edit Website Wizard - - EditWebsiteWizard - org.alfresco.web.bean.wcm.EditWebsiteWizard - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - navigator - #{NavigationBean} - - - searchService - #{SearchService} - - - workflowService - #{WorkflowService} - - - personService - #{PersonService} - - - formsService - #{FormsService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Import Website Dialog - - ImportWebsiteDialog - org.alfresco.web.bean.wcm.ImportWebsiteDialog - session - - assetService - #{AssetService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Invite Users Wizard a website - - InviteWebsiteUsersWizard - org.alfresco.web.bean.wcm.InviteWebsiteUsersWizard - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - namespaceService - #{NamespaceService} - - - permissionService - #{PermissionService} - - - personService - #{PersonService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - mailSender - #{mailService} - - - authorityService - #{AuthorityService} - - - webProjectService - #{WebProjectService} - - - - - - The bean that backs up the website file/folder browsing screens - - AVMBrowseBean - org.alfresco.web.bean.wcm.AVMBrowseBean - session - - webProjectService - #{WebProjectService} - - - avmService - #{AVMLockingAwareService} - - - navigationBean - #{NavigationBean} - - - nodeService - #{NodeService} - - - actionService - #{ActionService} - - - workflowService - #{WorkflowService} - - - formsService - #{FormsService} - - - searchService - #{SearchService} - - - linkValidationService - #{LinkValidationService} - - - permissionService - #{PermissionService} - - - - - - The bean that backs up the AVM file editing screens - - AVMEditBean - org.alfresco.web.bean.wcm.AVMEditBean - session - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - formsService - #{FormsService} - - - - - - The bean that backs up the AVM file editing screens - - EditAvmFileDialog - org.alfresco.web.bean.wcm.EditAvmFileDialog - session - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the dialog for associating form instance data with a form - - PromptForWebFormDialog - org.alfresco.web.bean.wcm.PromptForWebFormDialog - session - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - formsService - #{FormsService} - - - - - - The bean that backs up the Snapshot Sandbox Dialog - - SnapshotSandboxDialog - org.alfresco.web.bean.wcm.SnapshotSandboxDialog - session - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Delete AVM File Dialog - - DeleteFileDialog - org.alfresco.web.bean.wcm.DeleteFileDialog - session - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - formsService - #{FormsService} - - - - - - The bean that backs up the Delete Content Association Dialog - - DeleteContentAssociationDialog - org.alfresco.web.bean.content.DeleteContentAssociationDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - namespaceService - #{NamespaceService} - - - - - - The bean that backs up the Delete AVM Folder Dialog - - DeleteFolderDialog - org.alfresco.web.bean.wcm.DeleteFolderDialog - session - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Delete then browse AVM File Dialog - - DeleteFileBrowseDialog - org.alfresco.web.bean.wcm.DeleteFileBrowseDialog - session - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - formsService - #{FormsService} - - - - - - The bean that backs up the Delete then browse AVM Folder Dialog - - DeleteFolderBrowseDialog - org.alfresco.web.bean.wcm.DeleteFolderBrowseDialog - session - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Delete Layered then browse AVM Folder Dialog - - DeleteLayeredFolderBrowseDialog - org.alfresco.web.bean.wcm.DeleteLayeredFolderBrowseDialog - session - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Delete User Sandbox Dialog - - DeleteSandboxDialog - org.alfresco.web.bean.wcm.DeleteSandboxDialog - session - - avmBrowseBean - #{AVMBrowseBean} - - - nodeService - #{NodeService} - - - webProjectService - #{WebProjectService} - - - - - - The bean that backs up the Unlock File Dialog - - UnlockFileDialog - org.alfresco.web.bean.wcm.UnlockFileDialog - session - - avmService - #{AVMLockingAwareService} - - - avmLockingService - #{AVMLockingService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Create AVM Folder Dialog - - CreateFolderDialog - org.alfresco.web.bean.wcm.CreateFolderDialog - session - - assetService - #{AssetService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Create Layered Folder Dialog - - CreateLayeredFolderDialog - org.alfresco.web.bean.wcm.CreateLayeredFolderDialog - session - - webProjectService - #{WebProjectService} - - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - nodeService - #{NodeService} - - - - - - The bean that backs up the Create AVM Webapp Folder Dialog - - CreateWebappDialog - org.alfresco.web.bean.wcm.CreateWebappDialog - session - - avmBrowseBean - #{AVMBrowseBean} - - - nodeService - #{NodeService} - - - webProjectService - #{WebProjectService} - - - - - - The bean that backs up the AVM Add Content Dialog - - AddAvmContentDialog - org.alfresco.web.bean.wcm.AddAvmContentDialog - session - - nodeService - #{NodeService} - - - contentService - #{ContentService} - - - dictionaryService - #{DictionaryService} - - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - Backing bean used by the AVM File details dialog - - FileDetailsBean - org.alfresco.web.bean.wcm.FileDetailsBean - session - - nodeService - #{NodeService} - - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - actionService - #{ActionService} - - - - - - Backing bean used by the AVM Folder details dialog - - FolderDetailsBean - org.alfresco.web.bean.wcm.FolderDetailsBean - session - - nodeService - #{NodeService} - - - avmService - #{AVMLockingAwareService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - Backing bean used by the WebSite details dialog - - WebSiteDetailsDialog - org.alfresco.web.bean.wcm.WebSiteDetailsDialog - session - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - permissionService - #{PermissionService} - - - - - - The bean that backs up the Edit AVM File Properties Dialog - - EditFilePropertiesDialog - org.alfresco.web.bean.wcm.EditFilePropertiesDialog - session - - nodeService - #{NodeService} - - - avmService - #{AVMLockingAwareService} - - - formsService - #{FormsService} - - - fileFolderService - #{FileFolderService} - - - dictionaryService - #{DictionaryService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Edit AVM Folder Properties Dialog - - EditFolderPropertiesDialog - org.alfresco.web.bean.wcm.EditFolderPropertiesDialog - session - - nodeService - #{NodeService} - - - avmService - #{AVMLockingAwareService} - - - fileFolderService - #{FileFolderService} - - - dictionaryService - #{DictionaryService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Delete Website Space Dialog - - DeleteWebsiteDialog - org.alfresco.web.bean.wcm.DeleteWebsiteDialog - session - - webProjectService - #{WebProjectService} - - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - browseBean - #{BrowseBean} - - - dictionaryService - #{DictionaryService} - - - - - - The bean that backs up the Form Template Details dialog - - FormDetailsDialog - org.alfresco.web.bean.wcm.FormDetailsDialog - session - - avmService - #{AVMLockingAwareService} - - - createWebsiteWizard - #{CreateWebsiteWizard} - - - workflowService - #{WorkflowService} - - - - - - The bean that backs up the Form Template Templates dialog - - FormTemplatesDialog - org.alfresco.web.bean.wcm.FormTemplatesDialog - session - - avmService - #{AVMLockingAwareService} - - - createWebsiteWizard - #{CreateWebsiteWizard} - - - - - - The bean that backs up the Form Template Workflow dialog - - FormWorkflowDialog - org.alfresco.web.bean.wcm.FormWorkflowDialog - session - - createWebsiteWizard - #{CreateWebsiteWizard} - - - workflowService - #{WorkflowService} - - - - - - The bean that backs up the Edit Form Template Details dialog - - EditFormDetailsDialog - org.alfresco.web.bean.wcm.FormDetailsDialog - session - - avmService - #{AVMLockingAwareService} - - - createWebsiteWizard - #{EditWebsiteWizard} - - - workflowService - #{WorkflowService} - - - - - - The bean that backs up the Edit Form Template Templates dialog - - EditFormTemplatesDialog - org.alfresco.web.bean.wcm.FormTemplatesDialog - session - - avmService - #{AVMLockingAwareService} - - - createWebsiteWizard - #{EditWebsiteWizard} - - - - - - The bean that backs up the Edit Form Template Workflow dialog - - EditFormWorkflowDialog - org.alfresco.web.bean.wcm.FormWorkflowDialog - session - - createWebsiteWizard - #{EditWebsiteWizard} - - - workflowService - #{WorkflowService} - - - - - - The bean that backs up the Submit dialog - - SubmitDialog - org.alfresco.web.bean.wcm.SubmitDialog - session - - avmService - #{AVMLockingAwareService} - - - avmSyncService - #{AVMSyncService} - - - avmBrowseBean - #{AVMBrowseBean} - - - workflowService - #{WorkflowService} - - - nodeService - #{NodeService} - - - nameMatcher - #{globalPathExcluder} - - - formsService - #{FormsService} - - - sandboxFactory - #{sandboxFactory} - - - - - - The bean that backs up the Submit Configure Workflow dialog - - SubmitConfigureWorkflowDialog - org.alfresco.web.bean.wcm.SubmitConfigureWorkflowDialog - session - - submitDialog - #{SubmitDialog} - - - workflowService - #{WorkflowService} - - - - - - The bean that backs up the Revert selected items Dialog - - RevertSelectedDialog - org.alfresco.web.bean.wcm.RevertSelectedDialog - session - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Revert all items Dialog - - RevertAllDialog - org.alfresco.web.bean.wcm.RevertAllDialog - session - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Deploy Website Dialog - - DeployWebsiteDialog - org.alfresco.web.bean.wcm.DeployWebsiteDialog - session - - avmBrowseBean - #{AVMBrowseBean} - - - avmService - #{AVMLockingAwareService} - - - actionService - #{ActionService} - - - nodeService - #{NodeService} - - - - - - - The bean that AVM Compure to current snapshot - - CompareToCurrentSnapshot - org.alfresco.web.bean.wcm.CompareToCurrentSnapshotDialog - session - - avmBrowseBean - #{AVMBrowseBean} - - - - - - - - The bean that AVM Compure to prev snapshot - - CompareToPreviousSnapshot - org.alfresco.web.bean.wcm.CompareToPreviousSnapshotDialog - session - - avmBrowseBean - #{AVMBrowseBean} - - - - - - - CompareToAnySnapshot - org.alfresco.web.bean.wcm.CompareToAnySnapshotDialog - session - - avmBrowseBean - #{AVMBrowseBean} - - - - - - - The bean that backs up the Change Expiration Date Dialog - - ChangeExpirationDateDialog - org.alfresco.web.bean.wcm.ChangeExpirationDateDialog - session - - - - - The bean that backs up the Monitor Deployment Dialog - - MonitorDeploymentDialog - org.alfresco.web.bean.wcm.MonitorDeploymentDialog - session - - avmBrowseBean - #{AVMBrowseBean} - - - nodeService - #{NodeService} - - - - - - The bean that backs up the View Deployment Report Dialog - - ViewDeploymentReportDialog - org.alfresco.web.bean.wcm.ViewDeploymentReportDialog - session - - nodeService - #{NodeService} - - - - - - The bean that backs up the Delete Deployment Reports Dialog - - DeleteDeploymentReportsDialog - org.alfresco.web.bean.wcm.DeleteDeploymentReportsDialog - session - - nodeService - #{NodeService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - - - The bean that backs up the Release Test Server Dialog - - ReleaseTestServerDialog - org.alfresco.web.bean.wcm.ReleaseTestServerDialog - session - - nodeService - #{NodeService} - - - - - - The bean that backs up the Link Validation Dialog - - LinkValidationDialog - org.alfresco.web.bean.wcm.LinkValidationDialog - session - - avmBrowseBean - #{AVMBrowseBean} - - - actionService - #{ActionService} - - - avmService - #{AVMLockingAwareService} - - - - - - - Bean that generates a text field component - - TextFieldGenerator - org.alfresco.web.bean.generator.TextFieldGenerator - request - - - - - - Bean that generates a mutlilingual text field component - - MultilingualTextFieldGenerator - org.alfresco.web.bean.generator.MultilingualTextFieldGenerator - request - - - - - - Bean that generates a link component - - LinkGenerator - org.alfresco.web.bean.generator.LinkGenerator - request - - - - - Bean that generates a text area component - - TextAreaGenerator - org.alfresco.web.bean.generator.TextAreaGenerator - request - - - - - - Bean that generates a multilingual text area component - - MultilingualTextAreaGenerator - org.alfresco.web.bean.generator.MultilingualTextAreaGenerator - request - - - - - - Bean that generates a checkbox component - - CheckboxGenerator - org.alfresco.web.bean.generator.CheckboxGenerator - request - - - - - Bean that generates a date picker component - - DatePickerGenerator - org.alfresco.web.bean.generator.DatePickerGenerator - request - - - - - - Bean that generates a datetime picker component - - DateTimePickerGenerator - org.alfresco.web.bean.generator.DateTimePickerGenerator - request - - - - - - Bean that generates a label component - - LabelGenerator - org.alfresco.web.bean.generator.LabelGenerator - request - - - - - Bean that generates a mime type selector component - - MimeTypeSelectorGenerator - org.alfresco.web.bean.generator.MimeTypeSelectorGenerator - request - - - - - Bean that generates a charset selector component - - CharsetSelectorGenerator - org.alfresco.web.bean.generator.CharsetSelectorGenerator - request - - - - - Bean that generates a languages selector component - - LanguageSelectorGenerator - org.alfresco.web.bean.generator.LanguageSelectorGenerator - request - - userPreferencesBean - #{UserPreferencesBean} - - - - - - - Bean that generates a languages selector component for ML container - - MlContainerLanguageSelectorGenerator - org.alfresco.web.bean.generator.MlContainerLanguageSelectorGenerator - request - - multilingualContentService - #{MultilingualContentService} - - - contentFilterLanguagesService - #{ContentFilterLanguagesService} - - - nodeService - #{NodeService} - - - - - - Bean that generates an image picker component - - SpaceIconPickerGenerator - org.alfresco.web.bean.generator.SpaceIconPickerGenerator - request - - - - - Bean that generates a category selector component - - CategorySelectorGenerator - org.alfresco.web.bean.generator.CategorySelectorGenerator - request - - - - - Bean that generates an ajax tag picker component - - AjaxTagPickerGenerator - org.alfresco.web.bean.generator.AjaxTagPickerGenerator - request - - - - - Bean that generates an association component - - AssociationGenerator - org.alfresco.web.bean.generator.AssociationGenerator - request - - - - - Bean that generates a child association component - - ChildAssociationGenerator - org.alfresco.web.bean.generator.ChildAssociationGenerator - request - - - - - Bean that generates a separator component - - SeparatorGenerator - org.alfresco.web.bean.generator.SeparatorGenerator - request - - - - - Bean that generates a label separator component - - LabelSeparatorGenerator - org.alfresco.web.bean.generator.LabelSeparatorGenerator - request - - - - - Bean that generates a label separator component rendered as a heading - - HeaderSeparatorGenerator - org.alfresco.web.bean.generator.LabelSeparatorGenerator - request - - styleClass - wizardSectionHeading mainSubTitle - - - - - - - - - - Bean that returns information on a node - - NodeInfoBean - org.alfresco.web.bean.ajax.NodeInfoBean - request - - nodeService - #{NodeService} - - - - - - Bean that returns information on a workflow task - - TaskInfoBean - org.alfresco.web.bean.ajax.TaskInfoBean - request - - workflowService - #{WorkflowService} - - - - - - Bean that accepts File uploads for the repository - - FileUploadBean - org.alfresco.web.bean.ajax.FileUploadBean - request - - - - - Bean that accepts Content updates for the repository - - ContentUpdateBean - org.alfresco.web.bean.ajax.ContentUpdateBean - request - - - - - Bean backing ajax calls for the MySpaces portlet - - MySpacesBean - org.alfresco.web.bean.ajax.MySpacesBean - request - - - - - Bean backing the ajax requests from various Portlet webscripts - - PortletActionsBean - org.alfresco.web.bean.ajax.PortletActionsBean - request - - - - - Bean proxying ajax calls for the online Presence webscript - - PresenceProxyBean - org.alfresco.web.bean.ajax.PresenceProxyBean - request - - - - - Bean backing the ajax requests for the ajax based picker components - - PickerBean - org.alfresco.web.bean.ajax.PickerBean - request - - categoryService - #{CategoryService} - - - nodeService - #{NodeService} - - - internalNodeService - #{nodeService} - - - fileFolderService - #{FileFolderService} - - - - - - Bean that returns manages the tree data for the navigator component - - NavigatorPluginBean - org.alfresco.web.bean.ajax.NavigatorPluginBean - session - - nodeService - #{NodeService} - - - internalNodeService - #{nodeService} - - - dictionaryService - #{DictionaryService} - - - - - - Bean that returns information on a node - - XFormsBean - org.alfresco.web.forms.xforms.XFormsBean - session - - avmBrowseBean - #{AVMBrowseBean} - - - navigator - #{NavigationBean} - - - schema2XFormsProperties - #{Schema2XFormsProperties} - - - - - - Bean that returns information on a node - - FilePickerBean - org.alfresco.web.bean.wcm.FilePickerBean - session - - avmService - #{AVMLockingAwareService} - - - namespaceService - #{NamespaceService} - - - avmBrowseBean - #{AVMBrowseBean} - - - searchService - #{SearchService} - - - nodeService - #{NodeService} - - - dictionaryService - #{DictionaryService} - - - contentService - #{ContentService} - - - - - - Bean that returns deployment progress status - - DeploymentProgressBean - org.alfresco.web.bean.wcm.DeploymentProgressBean - request - - - - - Bean that returns link validation progress status - - LinkValidationProgressBean - org.alfresco.web.bean.wcm.LinkValidationProgressBean - session - - avmBrowseBean - #{AVMBrowseBean} - - - - - - - The bean that backs up the view of the Versioned Properties - - VersionedDocumentDetailsDialog - - org.alfresco.web.bean.content.VersionedDocumentDetailsDialog - - session - - browseBean - #{BrowseBean} - - - versionService - #{VersionService} - - - editionService - #{EditionService} - - - nodeService - #{NodeService} - - - multilingualContentService - #{MultilingualContentService} - - - contentFilterLanguagesService - #{ContentFilterLanguagesService} - - - - - - The bean that backs up the New User Wizard - - CreateUserWizard - - org.alfresco.web.bean.users.CreateUserWizard - - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - authenticationService - #{authenticationService} - - - permissionService - #{PermissionService} - - - namespaceService - #{NamespaceService} - - - personService - #{PersonService} - - - tenantService - #{tenantService} - - - ownableService - #{OwnableService} - - - contentUsageService - #{ContentUsageService} - - - - - - The bean that backs up the Edit User Wizard - - EditUserWizard - - org.alfresco.web.bean.users.EditUserWizard - - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - authenticationService - #{authenticationService} - - - permissionService - #{PermissionService} - - - namespaceService - #{NamespaceService} - - - personService - #{PersonService} - - - tenantService - #{tenantService} - - - ownableService - #{OwnableService} - - - properties - #{UsersBeanProperties} - - - contentUsageService - #{ContentUsageService} - - - - - - The bean that holds state for the Users Edit Details screen. - - EditUserDetailsDialog - - org.alfresco.web.bean.users.EditUserDetailsDialog - - session - - properties - #{UsersBeanProperties} - - - nodeService - #{NodeService} - - - - - - The bean for the Remove Invited User screen. - - RemoveInvitedUserDialog - - org.alfresco.web.bean.users.RemoveInvitedUserDialog - - session - - spaceUsersBean - #{SpaceUsersBean} - - - - - - The bean for the Edit User Roles screen. - - EditUserRolesDialog - - org.alfresco.web.bean.users.EditUserRolesDialog - - session - - spaceUsersBean - #{SpaceUsersBean} - - - - - The bean for the Delete User screen. - DeleteUserDialog - - org.alfresco.web.bean.users.DeleteUserDialog - - session - - authenticationService - #{AuthenticationService} - - - personService - #{PersonService} - - - - - - The bean for the Delete Content User screen. - - RemoveContentUserDialog - - org.alfresco.web.bean.users.RemoveContentUserDialog - - session - - browseBean - #{BrowseBean} - - - contentUsersBean - #{ContentUsersBean} - - - - - - The bean for add users to group dialog. - - AddUsersDialog - - org.alfresco.web.bean.groups.AddUsersDialog - - session - - nodeService - #{NodeService} - - - authService - #{AuthorityService} - - - personService - #{PersonService} - - - - - The bean for delete group dialog. - DeleteGroupDialog - - org.alfresco.web.bean.groups.DeleteGroupDialog - - session - - authService - #{AuthorityService} - - - - - The bean for create group dialog. - CreateGroupDialog - - org.alfresco.web.bean.groups.CreateGroupDialog - - session - - authService - #{AuthorityService} - - - - - - The bean that holds state for the Edit File screens. - - EditFileDialog - - org.alfresco.web.bean.users.EditFileDialog - - session - - - - - The bean for the Edit Content User Roles screen. - - EditContentUserRolesDialog - - org.alfresco.web.bean.users.EditContentUserRolesDialog - - session - - contentUsersBean - #{ContentUsersBean} - - - - - - The bean for the Admin Console screen. - - AdminConsoleDialog - - org.alfresco.web.bean.admin.AdminConsoleDialog - - session - - - - - The bean for the Edit Node Categories screen. - - EditNodeCategoriesDialog - - org.alfresco.web.bean.categories.EditNodeCategoriesDialog - - session - - nodeService - #{NodeService} - - - dictionaryService - #{DictionaryService} - - - - - - The bean for the Edit Category screen. - - EditCategoryDialog - - org.alfresco.web.bean.categories.EditCategoryDialog - - session - - nodeService - #{NodeService} - - - categoryService - #{CategoryService} - - - - - - The bean for the Delete Category screen. - - DeleteCategoryDialog - - org.alfresco.web.bean.categories.DeleteCategoryDialog - - session - - nodeService - #{NodeService} - - - categoryService - #{CategoryService} - - - - - The bean for the New Category screen. - CreateCategoryDialog - - org.alfresco.web.bean.categories.CreateCategoryDialog - - session - - nodeService - #{NodeService} - - - categoryService - #{CategoryService} - - - - - The bean for Apply Doc Template Screen. - ApplyDocTemplateDialog - - org.alfresco.web.bean.spaces.ApplyDocTemplateDialog - - session - - nodeService - #{NodeService} - - - browseBean - #{BrowseBean} - - - - - The bean for Apply RSS Template Screen. - ApplyRssTemplateDialog - - org.alfresco.web.bean.spaces.ApplyRssTemplateDialog - - session - - nodeService - #{NodeService} - - - browseBean - #{BrowseBean} - - - - - The bean for Apply Space Template Screen. - ApplySpaceTemplateDialog - - org.alfresco.web.bean.spaces.ApplySpaceTemplateDialog - - session - - nodeService - #{NodeService} - - - browseBean - #{BrowseBean} - - - - - The bean for content Edit Simple Workflow Screen. - EditContentSimpleWorkflowDialog - - org.alfresco.web.bean.content.EditSimpleWorkflowDialog - - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - - - The bean for space Edit Simple Space Workflow Screen. - EditSpaceSimpleWorkflowDialog - - org.alfresco.web.bean.spaces.EditSimpleWorkflowDialog - - session - - browseBean - #{BrowseBean} - - - nodeService - #{NodeService} - - - - - The bean for Change Current User Password Screen. - ChangeMyPasswordDialog - - org.alfresco.web.bean.users.ChangeMyPasswordDialog - - session - - properties - #{UsersBeanProperties} - - - - - The bean for Change Users Password Screen. - ChangePasswordDialog - - org.alfresco.web.bean.users.ChangePasswordDialog - - session - - properties - #{UsersBeanProperties} - - - - - - Bean that manages the deleting of trashitem. - - TrashcanDeleteItemDialog - org.alfresco.web.bean.trashcan.TrashcanDeleteItemDialog - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - dictionaryService - #{DictionaryService} - - - property - #{TrashcanDialogProperty} - - - - - - Bean that manages the deleting of all trashitems. - - TrashcanDeleteAllItemsDialog - org.alfresco.web.bean.trashcan.TrashcanDeleteAllItemsDialog - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - dictionaryService - #{DictionaryService} - - - property - #{TrashcanDialogProperty} - - - - - - Bean that manages the deleting of listed trashitems. - - TrashcanDeleteListedItemsDialog - org.alfresco.web.bean.trashcan.TrashcanDeleteListedItemsDialog - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - dictionaryService - #{DictionaryService} - - - property - #{TrashcanDialogProperty} - - - - - The bean for the Item Details Screen. - TrashcanItemDetailsDialog - - org.alfresco.web.bean.trashcan.TrashcanItemDetailsDialog - - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - dictionaryService - #{DictionaryService} - - - permissionService - #{PermissionService} - - - property - #{TrashcanDialogProperty} - - - - - The bean for the Recover Item Screen. - TrashcanRecoverItemDialog - - org.alfresco.web.bean.trashcan.TrashcanRecoverItemDialog - - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - dictionaryService - #{DictionaryService} - - - property - #{TrashcanDialogProperty} - - - - - The bean for the Recover All Items Screen. - TrashcanRecoverAllItemsDialog - - org.alfresco.web.bean.trashcan.TrashcanRecoverAllItemsDialog - - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - dictionaryService - #{DictionaryService} - - - property - #{TrashcanDialogProperty} - - - - - The bean for the Recover Listed Items Screen. - TrashcanRecoverListedItemsDialog - - org.alfresco.web.bean.trashcan.TrashcanRecoverListedItemsDialog - - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - dictionaryService - #{DictionaryService} - - - property - #{TrashcanDialogProperty} - - - - - The bean for Users Profile and Settings screen. - UserConsoleDialog - - org.alfresco.web.bean.users.UserConsoleDialog - - session - - - - The bean for a User Profile. - UserProfileDialog - - org.alfresco.web.bean.users.UserProfileDialog - - session - - properties - #{UsersBeanProperties} - - - - - The bean for the Recovery Report Screen. - TrashcanRecoveryReportDialog - - org.alfresco.web.bean.trashcan.TrashcanRecoveryReportDialog - - session - - nodeService - #{NodeService} - - - searchService - #{SearchService} - - - dictionaryService - #{DictionaryService} - - - property - #{TrashcanDialogProperty} - - - - - The bean for the Edit Html Inline Screen. - CCEditHtmlInlineDialog - - org.alfresco.web.bean.coci.CCEditHtmlInlineDialog - - session - - property - #{CCProperties} - - - - - The bean for the Edit Text Inline Screen. - CCEditTextInlineDialog - - org.alfresco.web.bean.coci.CCEditTextInlineDialog - - session - - property - #{CCProperties} - - - - - The bean for the Checkout File Screen. - CCCheckoutFileDialog - - org.alfresco.web.bean.coci.CCCheckoutFileDialog - - session - - property - #{CCProperties} - - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - - - The bean for the Checkout File Link Screen. - CCCheckoutFileLinkDialog - - org.alfresco.web.bean.coci.CCCheckoutFileLinkDialog - - session - - browseBean - #{BrowseBean} - - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - property - #{CCProperties} - - - - - The bean for the Edit File Screen. - CCEditFileDialog - - org.alfresco.web.bean.coci.CCEditFileDialog - - session - - property - #{CCProperties} - - - - - The bean for the Undo Checkout File Screen. - CCUndoCheckoutFileDialog - - org.alfresco.web.bean.coci.CCUndoCheckoutFileDialog - - session - - property - #{CCProperties} - - - - - The bean for the Cancel Editing File Screen. - CancelEditingDialog - - org.alfresco.web.bean.coci.CancelEditingDialog - - session - - property - #{CCProperties} - - - - - - The bean for the Working Copy Missing Screen. - CCWorkingCopyMissingDialog - - org.alfresco.web.bean.coci.CCWorkingCopyMissingDialog - - session - - property - #{CCProperties} - - - - - The bean for the Checkin File Screen. - CCCheckinFileDialog - - org.alfresco.web.bean.coci.CCCheckinFileDialog - - session - - property - #{CCProperties} - - - - - The bean for the Done-Editing File Screen(New commit dialog). - DoneEditingDialog - - org.alfresco.web.bean.coci.DoneEditingDialog - - session - - property - #{CCProperties} - - - nodeService - #{NodeService} - - - - - The bean for the Edit Search Screen. - EditSearchDialog - - org.alfresco.web.bean.search.EditSearchDialog - - session - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - namespaceService - #{NamespaceService} - - - searchService - #{SearchService} - - - properties - #{SearchProperties} - - - - - The bean for the Save Search Screen. - SaveSearchDialog - - org.alfresco.web.bean.search.SaveSearchDialog - - session - - navigator - #{NavigationBean} - - - nodeService - #{NodeService} - - - namespaceService - #{NamespaceService} - - - searchService - #{SearchService} - - - properties - #{SearchProperties} - - - - - - The bean that backs up the Create Project Dialog - - CreateProjectDialog - org.alfresco.web.bean.projects.CreateProjectDialog - session - - nodeService - #{NodeService} - - - fileFolderService - #{FileFolderService} - - - searchService - #{SearchService} - - - navigator - #{NavigationBean} - - - browseBean - #{BrowseBean} - - - namespaceService - #{NamespaceService} - - - dictionaryService - #{DictionaryService} - - - - - The bean for the Save Search Screen. - ShowSystemInfoDialog - - org.alfresco.web.bean.admin.ShowSystemInfoDialog - - session - - navigator - #{NavigationBean} - - - aboutBean - #{AboutBean} - - - - - CategoryBrowserPluginBean - org.alfresco.web.bean.ajax.CategoryBrowserPluginBean - session - - nodeService - #{NodeService} - - - categoryService - #{CategoryService} - - - - - CategoryBrowserBean - org.alfresco.web.bean.CategoryBrowserBean - session - - nodeService - #{NodeService} - - - - - - - - - - - The bean that backs up the view of the Set Permissions - - SetPermissionsDialog - - org.alfresco.web.bean.wcm.SetPermissionsDialog - - session - - authorityService - #{AuthorityService} - - - personService - #{PersonService} - - - avmBrowseBean - #{AVMBrowseBean} - - - - nodeService - #{NodeService} - - - - - - The bean that backs up the view of the Remove Permissions - - RemovePermissionsDialog - - org.alfresco.web.bean.wcm.RemovePermissionsDialog - - session - - avmBrowseBean - #{AVMBrowseBean} - - - avmLockingService - #{AVMLockingService} - - - - - - The bean that backs up the view of the Edit Permissions - - EditPermissionsDialog - - org.alfresco.web.bean.wcm.EditPermissionsDialog - - session - - avmBrowseBean - #{AVMBrowseBean} - - - avmLockingService - #{AVMLockingService} - - - - - + + + + + + + + + The bean for the Manage Multilingual dialog. + + MultilingualManageDialog + + org.alfresco.web.bean.ml.MultilingualManageDialog + + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + multilingualContentService + #{MultilingualContentService} + + + contentFilterLanguagesService + #{ContentFilterLanguagesService} + + + editionService + #{EditionService} + + + versionService + #{VersionService} + + + + + + The bean for Manage WCM Permissions. + + ManagePermissionsDialog + + org.alfresco.web.bean.wcm.ManagePermissionsDialog + + session + + personService + #{PersonService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that makes a document multilingual + + MakeMultilingualDialog + org.alfresco.web.bean.ml.MakeMultilingualDialog + session + + multilingualContentService + #{MultilingualContentService} + + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + userPreferencesBean + #{UserPreferencesBean} + + + + + + The bean that edits the multilinguals properties of a document + + EditMLContainerDialog + org.alfresco.web.bean.ml.EditMLContainerDialog + session + + multilingualContentService + #{MultilingualContentService} + + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that adds a new translation without content + + AddTranslationWithoutContentDialog + org.alfresco.web.bean.ml.AddTranslationWithoutContentDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + dictionaryService + #{DictionaryService} + + + browseBean + #{BrowseBean} + + + multilingualContentService + #{MultilingualContentService} + + + userPreferencesBean + #{UserPreferencesBean} + + + + + + The bean that adds a translation with a content + + AddTranslationDialog + org.alfresco.web.bean.ml.AddTranslationDialog + session + + multilingualContentService + #{MultilingualContentService} + + + userPreferencesBean + #{UserPreferencesBean} + + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Login screen + + LoginBean + org.alfresco.web.bean.LoginBean + session + + nodeService + #{NodeService} + + + authenticationService + #{AuthenticationService} + + + personService + #{PersonService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + userPreferencesBean + #{UserPreferencesBean} + + + + + + A request scoped bean that backs up the Login screen + + LoginOutcomeBean + org.alfresco.web.bean.LoginOutcomeBean + request + + redirectURL + #{param._alfRedirect} + + + + + + The bean that holds navigation state. + + NavigationBean + org.alfresco.web.bean.NavigationBean + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + serverConfiguration + #{fileServerConfiguration} + + + ruleService + #{RuleService} + + + userPreferencesBean + #{UserPreferencesBean} + + + authenticationService + #{AuthenticationService} + + + permissionService + #{PermissionService} + + + + + + The bean that holds folder browse state. + + BrowseBean + org.alfresco.web.bean.BrowseBean + session + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + lockService + #{LockService} + + + dictionaryService + #{DictionaryService} + + + fileFolderService + #{FileFolderService} + + + userPreferencesBean + #{UserPreferencesBean} + + + multilingualContentService + #{MultilingualContentService} + + + + + Bean that provides information for the About page + AboutBean + org.alfresco.web.bean.AboutBean + session + + descriptorService + #{DescriptorService} + + + + + Bean that manages the dialog framework + DialogManager + org.alfresco.web.bean.dialog.DialogManager + session + + + + Bean that manages the wizard framework + WizardManager + org.alfresco.web.bean.wizard.WizardManager + session + + + + + The bean that backs up the Create Space Dialog + + CreateSpaceDialog + org.alfresco.web.bean.spaces.CreateSpaceDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Create Space Wizard + + CreateSpaceWizard + org.alfresco.web.bean.spaces.CreateSpaceWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Delete Space Dialog + + DeleteSpaceDialog + org.alfresco.web.bean.spaces.DeleteSpaceDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Delete Space Association Dialog + + DeleteSpaceAssociationDialog + org.alfresco.web.bean.spaces.DeleteSpaceAssociationDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that manages a users Clipboard state. + + ClipboardBean + org.alfresco.web.bean.clipboard.ClipboardBean + session + + + nodeService + #{NodeService} + + + + + + The bean that manages the state for the Recent Spaces Shelf component. + + RecentSpacesBean + org.alfresco.web.bean.spaces.RecentSpacesBean + session + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + + + + The bean that manages the state for the User Shortcuts Shelf component. + + UserShortcutsBean + org.alfresco.web.bean.users.UserShortcutsBean + session + + nodeService + #{NodeService} + + + browseBean + #{BrowseBean} + + + permissionService + #{PermissionService} + + + + + + The bean that holds a state for the Advanced Search screen. + + SearchProperties + org.alfresco.web.bean.search.SearchProperties + session + + + + + The bean that holds a state for the Advanced Search screen. + + AdvancedSearchDialog + org.alfresco.web.bean.search.AdvancedSearchDialog + session + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + namespaceService + #{NamespaceService} + + + searchService + #{SearchService} + + + permissionService + #{PermissionService} + + + properties + #{SearchProperties} + + + + + + The bean that holds state for the Users screen. + + UsersBeanProperties + org.alfresco.web.bean.users.UsersBeanProperties + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + authenticationService + #{AuthenticationService} + + + personService + #{PersonService} + + + contentUsageService + #{ContentUsageService} + + + userRegistrySynchronizer + #{userRegistrySynchronizer} + + + + + + The bean that holds state for the User Management screens. + + UsersDialog + org.alfresco.web.bean.users.UsersDialog + session + + properties + #{UsersBeanProperties} + + + + + + The bean that holds state for the Groups Management screens. + + GroupsDialog + org.alfresco.web.bean.groups.GroupsDialog + session + + nodeService + #{NodeService} + + + authService + #{AuthorityService} + + + personService + #{PersonService} + + + + + + The bean that holds state for the Category Management screens. + + CategoriesProperties + org.alfresco.web.bean.CategoriesProperties + session + + categoryService + #{CategoryService} + + + + + + The bean that holds state for the Category Management screens. + + CategoriesDialog + org.alfresco.web.bean.categories.CategoriesDialog + session + + nodeService + #{NodeService} + + + categoryService + #{CategoryService} + + + + + + The bean that backs up the Edit Space Dialog + + EditSpaceDialog + org.alfresco.web.bean.spaces.EditSpaceDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + searchService + #{SearchService} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Add Content Dialog + + AddContentDialog + org.alfresco.web.bean.content.AddContentDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + dictionaryService + #{DictionaryService} + + + + + + The bean that backs up the Create Content Wizard + + CreateContentWizard + org.alfresco.web.bean.content.CreateContentWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + dictionaryService + #{DictionaryService} + + + formsService + #{FormsService} + + + + + + The bean that backs up the Edit Content Wizard + + EditContentWizard + org.alfresco.web.bean.content.EditContentWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + dictionaryService + #{DictionaryService} + + + formsService + #{FormsService} + + + + + + The bean that backs up the View Content Properties Dialog + + ViewContentPropertiesDialog + org.alfresco.web.bean.content.ViewContentPropertiesDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + dictionaryService + #{DictionaryService} + + + browseBean + #{BrowseBean} + + + + + + The bean that backs up the Set Content Properties Dialog + + SetContentPropertiesDialog + org.alfresco.web.bean.content.SetContentPropertiesDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + dictionaryService + #{DictionaryService} + + + browseBean + #{BrowseBean} + + + + + + The bean that backs up the Edit Content Properties Dialog + + EditContentPropertiesDialog + org.alfresco.web.bean.content.EditContentPropertiesDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + dictionaryService + #{DictionaryService} + + + browseBean + #{BrowseBean} + + + + + + The bean that backs up the Delete Content Dialog + + DeleteContentDialog + org.alfresco.web.bean.content.DeleteContentDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + multilingualContentService + #{MultilingualContentService} + + + + + + The bean that backs up the Link Properties Dialog + + LinkPropertiesDialog + org.alfresco.web.bean.LinkPropertiesDialog + session + + nodeService + #{NodeService} + + + dictionaryService + #{DictionaryService} + + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + + + + The bean that backs up the Create Rule Wizard + + CreateRuleWizard + org.alfresco.web.bean.rules.CreateCompositeRuleWizard + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + ruleService + #{RuleService} + + + actionService + #{ActionService} + + + dictionaryService + #{DictionaryService} + + + mimetypeService + #{MimetypeService} + + + rulesDialog + #{RulesDialog} + + + personService + #{PersonService} + + + authorityService + #{AuthorityService} + + + + + + The bean that backs up the Edit Rule Wizard + + EditRuleWizard + org.alfresco.web.bean.rules.EditRuleWizard + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + ruleService + #{RuleService} + + + actionService + #{ActionService} + + + dictionaryService + #{DictionaryService} + + + mimetypeService + #{MimetypeService} + + + rulesDialog + #{RulesDialog} + + + personService + #{PersonService} + + + authorityService + #{AuthorityService} + + + + + + The bean that backs up the Run Action Wizard + + RunActionWizard + org.alfresco.web.bean.actions.RunActionWizard + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + actionService + #{ActionService} + + + dictionaryService + #{DictionaryService} + + + mimetypeService + #{MimetypeService} + + + personService + #{PersonService} + + + authorityService + #{AuthorityService} + + + + + + The bean that backs up the New User Wizard + + NewUserWizard + org.alfresco.web.bean.wizard.NewUserWizard + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + authenticationService + #{authenticationService} + + + permissionService + #{PermissionService} + + + namespaceService + #{NamespaceService} + + + personService + #{PersonService} + + + ownableService + #{OwnableService} + + + tenantService + #{tenantService} + + + + + + The bean that backs up the Manage Invited Users screens + + SpaceUsersBean + org.alfresco.web.bean.users.SpaceUsersBean + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + browseBean + #{BrowseBean} + + + permissionService + #{PermissionService} + + + authorityService + #{AuthorityService} + + + ownableService + #{OwnableService} + + + personService + #{PersonService} + + + + + + The bean that backs up the Manage Content Users screens + + ContentUsersBean + org.alfresco.web.bean.users.ContentUsersBean + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + browseBean + #{BrowseBean} + + + permissionService + #{PermissionService} + + + authorityService + #{AuthorityService} + + + ownableService + #{OwnableService} + + + personService + #{PersonService} + + + + + + The bean that backs up the Invite Users Wizard + + InviteSpaceUsersWizard + org.alfresco.web.bean.spaces.InviteSpaceUsersWizard + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + permissionService + #{PermissionService} + + + personService + #{PersonService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + mailSender + #{mailService} + + + authorityService + #{AuthorityService} + + + + + + The bean that backs up the Invite Mail Users Wizard + + MailInviteSpaceUsersWizard + org.alfresco.web.bean.users.MailInviteSpaceUsersWizard + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + permissionService + #{PermissionService} + + + personService + #{PersonService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + mailSender + #{mailService} + + + authorityService + #{AuthorityService} + + + + + + The bean that backs up the Invite Content Users Wizard + + InviteContentUsersWizard + org.alfresco.web.bean.content.InviteContentUsersWizard + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + permissionService + #{PermissionService} + + + personService + #{PersonService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + mailSender + #{mailService} + + + authorityService + #{AuthorityService} + + + + + + The bean that presents the Checkin and Checkout bean's properties. + + CCProperties + org.alfresco.web.bean.coci.CCProperties + session + + versionQueryService + #{VersionService} + + + versionOperationsService + #{CheckoutCheckinService} + + + contentService + #{ContentService} + + + workflowService + #{WorkflowService} + + + + + The bean that help with edit offline procedure. + EditOfflineDialog + org.alfresco.web.bean.coci.EditOfflineDialog + session + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + property + #{CCProperties} + + + userPreferencesBean + #{UserPreferencesBean} + + + + + The bean that helps with edit online procedure and presents fiction online editing dialog. + EditOnlineDialog + org.alfresco.web.bean.coci.EditOnlineDialog + session + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + property + #{CCProperties} + + + + + The bean that backs up the Checkin and Checkout pages. + CheckinCheckoutDialog + org.alfresco.web.bean.coci.CheckinCheckoutDialog + session + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + property + #{CCProperties} + + + + + The bean for the Update File Screen. + CCUpdateFileDialog + + org.alfresco.web.bean.coci.CCUpdateFileDialog + + session + + property + #{CCProperties} + + + + + The bean for the Upload a new versoin Screen. + UploadNewVersionDialog + + org.alfresco.web.bean.coci.UploadNewVersionDialog + + session + + property + #{CCProperties} + + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + + + + The bean that holds manage content rules state + + RulesDialog + org.alfresco.web.bean.rules.RulesDialog + session + + browseBean + #{BrowseBean} + + + ruleService + #{RuleService} + + + actionService + #{ActionService} + + + nodeService + #{NodeService} + + + navigator + #{NavigationBean} + + + + + + The bean that holds delete content rules state + + DeleteRuleDialog + org.alfresco.web.bean.rules.DeleteRuleDialog + session + + browseBean + #{BrowseBean} + + + ruleService + #{RuleService} + + + nodeService + #{NodeService} + + + + + + Backing bean used by the document details dialog + + DocumentDetailsDialog + org.alfresco.web.bean.content.DocumentDetailsDialog + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + lockService + #{LockService} + + + versionService + #{VersionService} + + + copyService + #{CopyService} + + + ownableService + #{OwnableService} + + + checkOutCheckInService + #{CheckoutCheckinService} + + + navigator + #{NavigationBean} + + + multilingualContentService + #{MultilingualContentService} + + + contentFilterLanguagesService + #{ContentFilterLanguagesService} + + + editionService + #{EditionService} + + + permissionService + #{PermissionService} + + + + + + Backing bean used by the document details dialog + + DocumentLinkDetailsDialog + org.alfresco.web.bean.content.DocumentLinkDetailsDialog + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + copyService + #{CopyService} + + + ownableService + #{OwnableService} + + + + navigator + #{NavigationBean} + + + permissionService + #{PermissionService} + + + + + + Backing bean used by the Space details dialog + + SpaceDetailsDialog + org.alfresco.web.bean.spaces.SpaceDetailsDialog + session + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + permissionService + #{PermissionService} + + + ownableService + #{OwnableService} + + + copyService + #{CopyService} + + + permissionService + #{PermissionService} + + + + + + Backing bean used by the SpaceLink details dialog + + SpaceLinkDetailsDialog + org.alfresco.web.bean.SpaceLinkDetailsDialog + session + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + permissionService + #{PermissionService} + + + ownableService + #{OwnableService} + + + copyService + #{CopyService} + + + + + + Backing bean used by the forum details dialog + + ForumDetailsDialog + org.alfresco.web.bean.forums.ForumDetailsDialog + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + copyService + #{CopyService} + + + ownableService + #{OwnableService} + + + + navigator + #{NavigationBean} + + + permissionService + #{PermissionService} + + + + + + Backing bean used by the forums details dialog + + ForumsDetailsDialog + org.alfresco.web.bean.forums.ForumsDetailsDialog + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + copyService + #{CopyService} + + + ownableService + #{OwnableService} + + + navigator + #{NavigationBean} + + + permissionService + #{PermissionService} + + + + + + Backing bean used by the topic details dialog + + TopicDetailsDialog + org.alfresco.web.bean.forums.TopicDetailsDialog + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + copyService + #{CopyService} + + + ownableService + #{OwnableService} + + + + navigator + #{NavigationBean} + + + permissionService + #{PermissionService} + + + + + + Backing bean used by screens requiring access to lists of Templates + + TemplateSupportBean + org.alfresco.web.bean.TemplateSupportBean + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + + + + Backing bean used by the document preview dialog + + DocumentPreviewBean + org.alfresco.web.bean.preview.DocumentPreviewBean + session + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + + + + Backing bean used by the document preview dialog + + SpacePreviewBean + org.alfresco.web.bean.preview.SpacePreviewBean + session + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + + + Backing bean used for the Export dialog + ExportDialog + org.alfresco.web.bean.admin.ExportDialog + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + actionService + #{ActionService} + + + + + Backing bean used for the Import dialog + ImportDialog + org.alfresco.web.bean.admin.ImportDialog + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + actionService + #{ActionService} + + + contentService + #{ContentService} + + + mimetypeService + #{MimetypeService} + + + + + + + Backing bean used for the low-level Node Browser + + AdminNodeBrowseBean + org.alfresco.web.bean.admin.AdminNodeBrowseBean + session + + transactionService + #{TransactionService} + + + nodeService + #{NodeService} + + + dictionaryService + #{DictionaryService} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + permissionService + #{PermissionService} + + + + + + + The bean that holds forums state. + + ForumsBean + org.alfresco.web.bean.forums.ForumsBean + session + + nodeService + #{NodeService} + + + contentService + #{ContentService} + + + dictionaryService + #{DictionaryService} + + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Create Forums Dialog + + CreateForumsDialog + org.alfresco.web.bean.forums.CreateForumsDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Create Forum Dialog + + CreateForumDialog + org.alfresco.web.bean.forums.CreateForumDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Create Topic Dialog + + CreateTopicDialog + org.alfresco.web.bean.forums.CreateTopicDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Create Post Dialog + + CreatePostDialog + org.alfresco.web.bean.forums.CreatePostDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + dictionaryService + #{DictionaryService} + + + + + + The bean that backs up the Edit Post Dialog + + EditPostDialog + org.alfresco.web.bean.forums.EditPostDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + dictionaryService + #{DictionaryService} + + + + + + The bean that backs up the Create Reply Dialog + + CreateReplyDialog + org.alfresco.web.bean.forums.CreateReplyDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + dictionaryService + #{DictionaryService} + + + + + + The bean that backs up the Create Discussion Dialog + + CreateDiscussionDialog + org.alfresco.web.bean.forums.CreateDiscussionDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Delete Forum Space Dialog + + DeleteForumsDialog + org.alfresco.web.bean.forums.DeleteForumsDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Delete Forum Dialog + + DeleteForumDialog + org.alfresco.web.bean.forums.DeleteForumDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Delete Topic Dialog + + DeleteTopicDialog + org.alfresco.web.bean.forums.DeleteTopicDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Delete Post Dialog + + DeletePostDialog + org.alfresco.web.bean.forums.DeletePostDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that holds state for the Manage Deleted Items screen. + + TrashcanDialogProperty + org.alfresco.web.bean.trashcan.TrashcanDialogProperty + session + + nodeArchiveService + #{nodeArchiveService} + + + + + + The bean that holds state for the Manage Deleted Items screen. + + TrashcanDialog + org.alfresco.web.bean.trashcan.TrashcanDialog + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + permissionService + #{PermissionService} + + + dictionaryService + #{DictionaryService} + + + property + #{TrashcanDialogProperty} + + + navigator + #{NavigationBean} + + + + + + Helper bean that caches the last item added to a multi + value editor component + + MultiValueEditorBean + org.alfresco.web.bean.MultiValueEditorBean + session + + + + Bean that manages the Dashboard framework + DashboardManager + org.alfresco.web.bean.dashboard.DashboardManager + session + + + + + The bean that backs up the Dashboard Config Wizard + + DashboardWizard + org.alfresco.web.bean.dashboard.DashboardWizard + session + + nodeService + #{NodeService} + + + dashboardManager + #{DashboardManager} + + + + + + The bean that backs up the Manage Task Dialog + + ManageTaskDialog + org.alfresco.web.bean.workflow.ManageTaskDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + workflowService + #{WorkflowService} + + + avmService + #{AVMLockingAwareService} + + + avmSyncService + #{AVMSyncService} + + + + + + The bean that backs up the Manage Change Request Task Dialog + + ManageChangeRequestTaskDialog + org.alfresco.web.bean.wcm.ManageChangeRequestTaskDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + workflowService + #{WorkflowService} + + + avmService + #{AVMLockingAwareService} + + + avmSyncService + #{AVMSyncService} + + + avmLockingService + #{AVMLockingService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Manage Review Task Dialog + + ManageReviewTaskDialog + org.alfresco.web.bean.wcm.ManageReviewTaskDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + workflowService + #{WorkflowService} + + + avmService + #{AVMLockingAwareService} + + + avmSyncService + #{AVMSyncService} + + + avmBrowseBean + #{AVMBrowseBean} + + + permissionService + #{PermissionService} + + + + + + The bean that backs up the View Completed Task Dialog + + ViewCompletedTaskDialog + org.alfresco.web.bean.workflow.ViewCompletedTaskDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + workflowService + #{WorkflowService} + + + + + StartWorkflowWizard + org.alfresco.web.bean.workflow.StartWorkflowWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + workflowService + #{WorkflowService} + + + invitationService + #{InvitationService} + + + unprotectedNodeService + #{nodeService} + + + + + + The bean that backs up the New Edition Wizard + + NewEditionWizard + org.alfresco.web.bean.ml.NewEditionWizard + session + + editionService + #{EditionService} + + + multilingualContentService + #{MultilingualContentService} + + + nodeService + #{NodeService} + + + contentFilterLanguagesService + #{ContentFilterLanguagesService} + + + versionService + #{VersionService} + + + lockService + #{LockService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Cancel Workflow Dialog + + CancelWorkflowDialog + org.alfresco.web.bean.workflow.CancelWorkflowDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + workflowService + #{WorkflowService} + + + + + + The bean that backs up the Reassign Task Dialog + + ReassignTaskDialog + org.alfresco.web.bean.workflow.ReassignTaskDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + workflowService + #{WorkflowService} + + + personService + #{PersonService} + + + + + WorkflowBean + org.alfresco.web.bean.workflow.WorkflowBean + request + + navigationBean + #{NavigationBean} + + + nodeService + #{NodeService} + + + workflowService + #{WorkflowService} + + + + + + Backing bean used for the Workflow Console + WorkflowConsoleBean + org.alfresco.web.bean.workflow.WorkflowConsoleBean + session + + workflowInterpreter + #{workflowInterpreter} + + + + + Backing bean used to dump JMX objects + JmxDumperBean + org.alfresco.web.bean.jmx.JmxDumperBean + application + + mbeanServer + #{mbeanServer} + + + + + Backing bean used for the Web Client Config Admin Console + ConfigAdminConsoleBean + org.alfresco.web.bean.admin.ConfigAdminConsoleBean + session + + configAdminInterpreter + #{webClientConfigAdminInterpreter} + + + + + Backing bean used for the Repository Admin Console + RepoAdminConsoleBean + org.alfresco.web.bean.repository.admin.RepoAdminConsoleBean + session + + repoAdminInterpreter + #{repoAdminInterpreter} + + + + + Backing bean used for the Tenant Admin Console + TenantAdminConsoleBean + org.alfresco.web.bean.repository.tenant.TenantAdminConsoleBean + session + + tenantInterpreter + #{tenantInterpreter} + + + + + + The bean that backs up the Email Space Users Dialog + + EmailSpaceUsersDialog + org.alfresco.web.bean.users.EmailSpaceUsersDialog + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + permissionService + #{PermissionService} + + + personService + #{PersonService} + + + authorityService + #{AuthorityService} + + + mailSender + #{mailService} + + + + + + The bean that backs up the Getting Started Dashlet page + + GettingStartedBean + org.alfresco.web.bean.dashboard.GettingStartedBean + session + + navigationBean + #{NavigationBean} + + + + + + The bean that backs up the User Preferences page + + UserPreferencesBean + org.alfresco.web.bean.users.UserPreferencesBean + session + + multilingualContentService + #{MultilingualContentService} + + + contentFilterLanguagesService + #{ContentFilterLanguagesService} + + + nodeService + #{NodeService} + + + + + + The bean that backs up the Sidebar component + + SidebarBean + org.alfresco.web.bean.SidebarBean + session + + + + + + + The bean that backs up the Create XML Content Type Wizard + + CreateFormWizard + org.alfresco.web.bean.wcm.CreateFormWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + mimetypeService + #{MimetypeService} + + + workflowService + #{WorkflowService} + + + formsService + #{FormsService} + + + + + + The bean that backs up the Edit Form Wizard + + EditFormWizard + org.alfresco.web.bean.wcm.EditFormWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + mimetypeService + #{MimetypeService} + + + workflowService + #{WorkflowService} + + + formsService + #{FormsService} + + + + + + The bean that backs up the Create XML Content Type Wizard (WCM) + + CreateWebFormWizard + org.alfresco.web.bean.wcm.CreateFormWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + mimetypeService + #{MimetypeService} + + + workflowService + #{WorkflowService} + + + formsService + #{FormsService} + + + + + + The bean that backs up the Edit Web Form Wizard (WCM) + + EditWebFormWizard + org.alfresco.web.bean.wcm.EditFormWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + mimetypeService + #{MimetypeService} + + + workflowService + #{WorkflowService} + + + formsService + #{FormsService} + + + + + + The bean that backs up the Regenerate Renditions Wizard + + RegenerateRenditionsWizard + org.alfresco.web.bean.wcm.RegenerateRenditionsWizard + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + browseBean + #{BrowseBean} + + + webProjectService + #{WebProjectService} + + + avmService + #{AVMLockingAwareService} + + + avmLockingService + #{AVMLockingService} + + + avmSyncService + #{AVMSyncService} + + + formsService + #{FormsService} + + + permissionService + #{PermissionService} + + + + + + The bean that backs up the Create Web Content Wizard + + CreateWebContentWizard + org.alfresco.web.bean.wcm.CreateWebContentWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + dictionaryService + #{DictionaryService} + + + avmService + #{AVMLockingAwareService} + + + avmLockingService + #{AVMLockingService} + + + avmSyncService + #{AVMSyncService} + + + avmBrowseBean + #{AVMBrowseBean} + + + filePickerBean + #{FilePickerBean} + + + formsService + #{FormsService} + + + + + + The bean that backs up the Edit Web Content Wizard + + EditWebContentWizard + org.alfresco.web.bean.wcm.EditWebContentWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + contentService + #{ContentService} + + + dictionaryService + #{DictionaryService} + + + avmService + #{AVMLockingAwareService} + + + avmLockingService + #{AVMLockingService} + + + avmSyncService + #{AVMSyncService} + + + avmBrowseBean + #{AVMBrowseBean} + + + filePickerBean + #{FilePickerBean} + + + formsService + #{FormsService} + + + + + + The bean that backs up the Create Website Wizard + + CreateWebsiteWizard + org.alfresco.web.bean.wcm.CreateWebsiteWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + navigator + #{NavigationBean} + + + searchService + #{SearchService} + + + workflowService + #{WorkflowService} + + + personService + #{PersonService} + + + formsService + #{FormsService} + + + webProjectService + #{WebProjectService} + + + + + + The bean that backs up the Edit Website Wizard + + EditWebsiteWizard + org.alfresco.web.bean.wcm.EditWebsiteWizard + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + navigator + #{NavigationBean} + + + searchService + #{SearchService} + + + workflowService + #{WorkflowService} + + + personService + #{PersonService} + + + formsService + #{FormsService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Import Website Dialog + + ImportWebsiteDialog + org.alfresco.web.bean.wcm.ImportWebsiteDialog + session + + assetService + #{AssetService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Invite Users Wizard a website + + InviteWebsiteUsersWizard + org.alfresco.web.bean.wcm.InviteWebsiteUsersWizard + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + namespaceService + #{NamespaceService} + + + permissionService + #{PermissionService} + + + personService + #{PersonService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + mailSender + #{mailService} + + + authorityService + #{AuthorityService} + + + webProjectService + #{WebProjectService} + + + + + + The bean that backs up the website file/folder browsing screens + + AVMBrowseBean + org.alfresco.web.bean.wcm.AVMBrowseBean + session + + webProjectService + #{WebProjectService} + + + avmService + #{AVMLockingAwareService} + + + navigationBean + #{NavigationBean} + + + nodeService + #{NodeService} + + + actionService + #{ActionService} + + + workflowService + #{WorkflowService} + + + formsService + #{FormsService} + + + searchService + #{SearchService} + + + permissionService + #{PermissionService} + + + + + + The bean that backs up the AVM file editing screens + + AVMEditBean + org.alfresco.web.bean.wcm.AVMEditBean + session + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + formsService + #{FormsService} + + + + + + The bean that backs up the AVM file editing screens + + EditAvmFileDialog + org.alfresco.web.bean.wcm.EditAvmFileDialog + session + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the dialog for associating form instance data with a form + + PromptForWebFormDialog + org.alfresco.web.bean.wcm.PromptForWebFormDialog + session + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + formsService + #{FormsService} + + + + + + The bean that backs up the Snapshot Sandbox Dialog + + SnapshotSandboxDialog + org.alfresco.web.bean.wcm.SnapshotSandboxDialog + session + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Delete AVM File Dialog + + DeleteFileDialog + org.alfresco.web.bean.wcm.DeleteFileDialog + session + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + formsService + #{FormsService} + + + + + + The bean that backs up the Delete Content Association Dialog + + DeleteContentAssociationDialog + org.alfresco.web.bean.content.DeleteContentAssociationDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + + + + + The bean that backs up the Delete AVM Folder Dialog + + DeleteFolderDialog + org.alfresco.web.bean.wcm.DeleteFolderDialog + session + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Delete then browse AVM File Dialog + + DeleteFileBrowseDialog + org.alfresco.web.bean.wcm.DeleteFileBrowseDialog + session + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + formsService + #{FormsService} + + + + + + The bean that backs up the Delete then browse AVM Folder Dialog + + DeleteFolderBrowseDialog + org.alfresco.web.bean.wcm.DeleteFolderBrowseDialog + session + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Delete Layered then browse AVM Folder Dialog + + DeleteLayeredFolderBrowseDialog + org.alfresco.web.bean.wcm.DeleteLayeredFolderBrowseDialog + session + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Delete User Sandbox Dialog + + DeleteSandboxDialog + org.alfresco.web.bean.wcm.DeleteSandboxDialog + session + + avmBrowseBean + #{AVMBrowseBean} + + + nodeService + #{NodeService} + + + webProjectService + #{WebProjectService} + + + + + + The bean that backs up the Unlock File Dialog + + UnlockFileDialog + org.alfresco.web.bean.wcm.UnlockFileDialog + session + + avmService + #{AVMLockingAwareService} + + + avmLockingService + #{AVMLockingService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Create AVM Folder Dialog + + CreateFolderDialog + org.alfresco.web.bean.wcm.CreateFolderDialog + session + + assetService + #{AssetService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Create Layered Folder Dialog + + CreateLayeredFolderDialog + org.alfresco.web.bean.wcm.CreateLayeredFolderDialog + session + + webProjectService + #{WebProjectService} + + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + nodeService + #{NodeService} + + + + + + The bean that backs up the Create AVM Webapp Folder Dialog + + CreateWebappDialog + org.alfresco.web.bean.wcm.CreateWebappDialog + session + + avmBrowseBean + #{AVMBrowseBean} + + + nodeService + #{NodeService} + + + webProjectService + #{WebProjectService} + + + + + + The bean that backs up the AVM Add Content Dialog + + AddAvmContentDialog + org.alfresco.web.bean.wcm.AddAvmContentDialog + session + + nodeService + #{NodeService} + + + contentService + #{ContentService} + + + dictionaryService + #{DictionaryService} + + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + Backing bean used by the AVM File details dialog + + FileDetailsBean + org.alfresco.web.bean.wcm.FileDetailsBean + session + + nodeService + #{NodeService} + + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + actionService + #{ActionService} + + + + + + Backing bean used by the AVM Folder details dialog + + FolderDetailsBean + org.alfresco.web.bean.wcm.FolderDetailsBean + session + + nodeService + #{NodeService} + + + avmService + #{AVMLockingAwareService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + Backing bean used by the WebSite details dialog + + WebSiteDetailsDialog + org.alfresco.web.bean.wcm.WebSiteDetailsDialog + session + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + permissionService + #{PermissionService} + + + + + + The bean that backs up the Edit AVM File Properties Dialog + + EditFilePropertiesDialog + org.alfresco.web.bean.wcm.EditFilePropertiesDialog + session + + nodeService + #{NodeService} + + + avmService + #{AVMLockingAwareService} + + + formsService + #{FormsService} + + + fileFolderService + #{FileFolderService} + + + dictionaryService + #{DictionaryService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Edit AVM Folder Properties Dialog + + EditFolderPropertiesDialog + org.alfresco.web.bean.wcm.EditFolderPropertiesDialog + session + + nodeService + #{NodeService} + + + avmService + #{AVMLockingAwareService} + + + fileFolderService + #{FileFolderService} + + + dictionaryService + #{DictionaryService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Delete Website Space Dialog + + DeleteWebsiteDialog + org.alfresco.web.bean.wcm.DeleteWebsiteDialog + session + + webProjectService + #{WebProjectService} + + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + + + + The bean that backs up the Form Template Details dialog + + FormDetailsDialog + org.alfresco.web.bean.wcm.FormDetailsDialog + session + + avmService + #{AVMLockingAwareService} + + + createWebsiteWizard + #{CreateWebsiteWizard} + + + workflowService + #{WorkflowService} + + + + + + The bean that backs up the Form Template Templates dialog + + FormTemplatesDialog + org.alfresco.web.bean.wcm.FormTemplatesDialog + session + + avmService + #{AVMLockingAwareService} + + + createWebsiteWizard + #{CreateWebsiteWizard} + + + + + + The bean that backs up the Form Template Workflow dialog + + FormWorkflowDialog + org.alfresco.web.bean.wcm.FormWorkflowDialog + session + + createWebsiteWizard + #{CreateWebsiteWizard} + + + workflowService + #{WorkflowService} + + + + + + The bean that backs up the Edit Form Template Details dialog + + EditFormDetailsDialog + org.alfresco.web.bean.wcm.FormDetailsDialog + session + + avmService + #{AVMLockingAwareService} + + + createWebsiteWizard + #{EditWebsiteWizard} + + + workflowService + #{WorkflowService} + + + + + + The bean that backs up the Edit Form Template Templates dialog + + EditFormTemplatesDialog + org.alfresco.web.bean.wcm.FormTemplatesDialog + session + + avmService + #{AVMLockingAwareService} + + + createWebsiteWizard + #{EditWebsiteWizard} + + + + + + The bean that backs up the Edit Form Template Workflow dialog + + EditFormWorkflowDialog + org.alfresco.web.bean.wcm.FormWorkflowDialog + session + + createWebsiteWizard + #{EditWebsiteWizard} + + + workflowService + #{WorkflowService} + + + + + + The bean that backs up the Submit dialog + + SubmitDialog + org.alfresco.web.bean.wcm.SubmitDialog + session + + avmService + #{AVMLockingAwareService} + + + avmSyncService + #{AVMSyncService} + + + avmBrowseBean + #{AVMBrowseBean} + + + workflowService + #{WorkflowService} + + + nodeService + #{NodeService} + + + nameMatcher + #{globalPathExcluder} + + + formsService + #{FormsService} + + + sandboxFactory + #{sandboxFactory} + + + + + + The bean that backs up the Submit Configure Workflow dialog + + SubmitConfigureWorkflowDialog + org.alfresco.web.bean.wcm.SubmitConfigureWorkflowDialog + session + + submitDialog + #{SubmitDialog} + + + workflowService + #{WorkflowService} + + + + + + The bean that backs up the Revert selected items Dialog + + RevertSelectedDialog + org.alfresco.web.bean.wcm.RevertSelectedDialog + session + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Revert all items Dialog + + RevertAllDialog + org.alfresco.web.bean.wcm.RevertAllDialog + session + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Deploy Website Dialog + + DeployWebsiteDialog + org.alfresco.web.bean.wcm.DeployWebsiteDialog + session + + avmBrowseBean + #{AVMBrowseBean} + + + avmService + #{AVMLockingAwareService} + + + actionService + #{ActionService} + + + nodeService + #{NodeService} + + + + + + + The bean that AVM Compure to current snapshot + + CompareToCurrentSnapshot + org.alfresco.web.bean.wcm.CompareToCurrentSnapshotDialog + session + + avmBrowseBean + #{AVMBrowseBean} + + + + + + + + The bean that AVM Compure to prev snapshot + + CompareToPreviousSnapshot + org.alfresco.web.bean.wcm.CompareToPreviousSnapshotDialog + session + + avmBrowseBean + #{AVMBrowseBean} + + + + + + + CompareToAnySnapshot + org.alfresco.web.bean.wcm.CompareToAnySnapshotDialog + session + + avmBrowseBean + #{AVMBrowseBean} + + + + + + + The bean that backs up the Change Expiration Date Dialog + + ChangeExpirationDateDialog + org.alfresco.web.bean.wcm.ChangeExpirationDateDialog + session + + + + + The bean that backs up the Monitor Deployment Dialog + + MonitorDeploymentDialog + org.alfresco.web.bean.wcm.MonitorDeploymentDialog + session + + avmBrowseBean + #{AVMBrowseBean} + + + nodeService + #{NodeService} + + + + + + The bean that backs up the View Deployment Report Dialog + + ViewDeploymentReportDialog + org.alfresco.web.bean.wcm.ViewDeploymentReportDialog + session + + nodeService + #{NodeService} + + + + + + The bean that backs up the Delete Deployment Reports Dialog + + DeleteDeploymentReportsDialog + org.alfresco.web.bean.wcm.DeleteDeploymentReportsDialog + session + + nodeService + #{NodeService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + + + The bean that backs up the Release Test Server Dialog + + ReleaseTestServerDialog + org.alfresco.web.bean.wcm.ReleaseTestServerDialog + session + + nodeService + #{NodeService} + + + + + + + Bean that generates a text field component + + TextFieldGenerator + org.alfresco.web.bean.generator.TextFieldGenerator + request + + + + + + Bean that generates a mutlilingual text field component + + MultilingualTextFieldGenerator + org.alfresco.web.bean.generator.MultilingualTextFieldGenerator + request + + + + + + Bean that generates a link component + + LinkGenerator + org.alfresco.web.bean.generator.LinkGenerator + request + + + + + Bean that generates a text area component + + TextAreaGenerator + org.alfresco.web.bean.generator.TextAreaGenerator + request + + + + + + Bean that generates a multilingual text area component + + MultilingualTextAreaGenerator + org.alfresco.web.bean.generator.MultilingualTextAreaGenerator + request + + + + + + Bean that generates a checkbox component + + CheckboxGenerator + org.alfresco.web.bean.generator.CheckboxGenerator + request + + + + + Bean that generates a date picker component + + DatePickerGenerator + org.alfresco.web.bean.generator.DatePickerGenerator + request + + + + + + Bean that generates a datetime picker component + + DateTimePickerGenerator + org.alfresco.web.bean.generator.DateTimePickerGenerator + request + + + + + + Bean that generates a label component + + LabelGenerator + org.alfresco.web.bean.generator.LabelGenerator + request + + + + + Bean that generates a mime type selector component + + MimeTypeSelectorGenerator + org.alfresco.web.bean.generator.MimeTypeSelectorGenerator + request + + + + + Bean that generates a charset selector component + + CharsetSelectorGenerator + org.alfresco.web.bean.generator.CharsetSelectorGenerator + request + + + + + Bean that generates a languages selector component + + LanguageSelectorGenerator + org.alfresco.web.bean.generator.LanguageSelectorGenerator + request + + userPreferencesBean + #{UserPreferencesBean} + + + + + + + Bean that generates a languages selector component for ML container + + MlContainerLanguageSelectorGenerator + org.alfresco.web.bean.generator.MlContainerLanguageSelectorGenerator + request + + multilingualContentService + #{MultilingualContentService} + + + contentFilterLanguagesService + #{ContentFilterLanguagesService} + + + nodeService + #{NodeService} + + + + + + Bean that generates an image picker component + + SpaceIconPickerGenerator + org.alfresco.web.bean.generator.SpaceIconPickerGenerator + request + + + + + Bean that generates a category selector component + + CategorySelectorGenerator + org.alfresco.web.bean.generator.CategorySelectorGenerator + request + + + + + Bean that generates an ajax tag picker component + + AjaxTagPickerGenerator + org.alfresco.web.bean.generator.AjaxTagPickerGenerator + request + + + + + Bean that generates an association component + + AssociationGenerator + org.alfresco.web.bean.generator.AssociationGenerator + request + + + + + Bean that generates a child association component + + ChildAssociationGenerator + org.alfresco.web.bean.generator.ChildAssociationGenerator + request + + + + + Bean that generates a separator component + + SeparatorGenerator + org.alfresco.web.bean.generator.SeparatorGenerator + request + + + + + Bean that generates a label separator component + + LabelSeparatorGenerator + org.alfresco.web.bean.generator.LabelSeparatorGenerator + request + + + + + Bean that generates a label separator component rendered as a heading + + HeaderSeparatorGenerator + org.alfresco.web.bean.generator.LabelSeparatorGenerator + request + + styleClass + wizardSectionHeading mainSubTitle + + + + + + + + + + Bean that returns information on a node + + NodeInfoBean + org.alfresco.web.bean.ajax.NodeInfoBean + request + + nodeService + #{NodeService} + + + + + + Bean that returns information on a workflow task + + TaskInfoBean + org.alfresco.web.bean.ajax.TaskInfoBean + request + + workflowService + #{WorkflowService} + + + + + + Bean that accepts File uploads for the repository + + FileUploadBean + org.alfresco.web.bean.ajax.FileUploadBean + request + + + + + Bean that accepts Content updates for the repository + + ContentUpdateBean + org.alfresco.web.bean.ajax.ContentUpdateBean + request + + + + + Bean backing ajax calls for the MySpaces portlet + + MySpacesBean + org.alfresco.web.bean.ajax.MySpacesBean + request + + + + + Bean backing the ajax requests from various Portlet webscripts + + PortletActionsBean + org.alfresco.web.bean.ajax.PortletActionsBean + request + + + + + Bean proxying ajax calls for the online Presence webscript + + PresenceProxyBean + org.alfresco.web.bean.ajax.PresenceProxyBean + request + + + + + Bean backing the ajax requests for the ajax based picker components + + PickerBean + org.alfresco.web.bean.ajax.PickerBean + request + + categoryService + #{CategoryService} + + + nodeService + #{NodeService} + + + internalNodeService + #{nodeService} + + + fileFolderService + #{FileFolderService} + + + + + + Bean that returns manages the tree data for the navigator component + + NavigatorPluginBean + org.alfresco.web.bean.ajax.NavigatorPluginBean + session + + nodeService + #{NodeService} + + + internalNodeService + #{nodeService} + + + dictionaryService + #{DictionaryService} + + + + + + Bean that returns information on a node + + XFormsBean + org.alfresco.web.forms.xforms.XFormsBean + session + + avmBrowseBean + #{AVMBrowseBean} + + + navigator + #{NavigationBean} + + + schema2XFormsProperties + #{Schema2XFormsProperties} + + + + + + Bean that returns information on a node + + FilePickerBean + org.alfresco.web.bean.wcm.FilePickerBean + session + + avmService + #{AVMLockingAwareService} + + + namespaceService + #{NamespaceService} + + + avmBrowseBean + #{AVMBrowseBean} + + + searchService + #{SearchService} + + + nodeService + #{NodeService} + + + dictionaryService + #{DictionaryService} + + + contentService + #{ContentService} + + + + + + Bean that returns deployment progress status + + DeploymentProgressBean + org.alfresco.web.bean.wcm.DeploymentProgressBean + request + + + + + + The bean that backs up the view of the Versioned Properties + + VersionedDocumentDetailsDialog + + org.alfresco.web.bean.content.VersionedDocumentDetailsDialog + + session + + browseBean + #{BrowseBean} + + + versionService + #{VersionService} + + + editionService + #{EditionService} + + + nodeService + #{NodeService} + + + multilingualContentService + #{MultilingualContentService} + + + contentFilterLanguagesService + #{ContentFilterLanguagesService} + + + + + + The bean that backs up the New User Wizard + + CreateUserWizard + + org.alfresco.web.bean.users.CreateUserWizard + + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + authenticationService + #{authenticationService} + + + permissionService + #{PermissionService} + + + namespaceService + #{NamespaceService} + + + personService + #{PersonService} + + + tenantService + #{tenantService} + + + ownableService + #{OwnableService} + + + contentUsageService + #{ContentUsageService} + + + + + + The bean that backs up the Edit User Wizard + + EditUserWizard + + org.alfresco.web.bean.users.EditUserWizard + + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + authenticationService + #{authenticationService} + + + permissionService + #{PermissionService} + + + namespaceService + #{NamespaceService} + + + personService + #{PersonService} + + + tenantService + #{tenantService} + + + ownableService + #{OwnableService} + + + properties + #{UsersBeanProperties} + + + contentUsageService + #{ContentUsageService} + + + + + + The bean that holds state for the Users Edit Details screen. + + EditUserDetailsDialog + + org.alfresco.web.bean.users.EditUserDetailsDialog + + session + + properties + #{UsersBeanProperties} + + + nodeService + #{NodeService} + + + + + + The bean for the Remove Invited User screen. + + RemoveInvitedUserDialog + + org.alfresco.web.bean.users.RemoveInvitedUserDialog + + session + + spaceUsersBean + #{SpaceUsersBean} + + + + + + The bean for the Edit User Roles screen. + + EditUserRolesDialog + + org.alfresco.web.bean.users.EditUserRolesDialog + + session + + spaceUsersBean + #{SpaceUsersBean} + + + + + The bean for the Delete User screen. + DeleteUserDialog + + org.alfresco.web.bean.users.DeleteUserDialog + + session + + authenticationService + #{AuthenticationService} + + + personService + #{PersonService} + + + + + + The bean for the Delete Content User screen. + + RemoveContentUserDialog + + org.alfresco.web.bean.users.RemoveContentUserDialog + + session + + browseBean + #{BrowseBean} + + + contentUsersBean + #{ContentUsersBean} + + + + + + The bean for add users to group dialog. + + AddUsersDialog + + org.alfresco.web.bean.groups.AddUsersDialog + + session + + nodeService + #{NodeService} + + + authService + #{AuthorityService} + + + personService + #{PersonService} + + + + + The bean for delete group dialog. + DeleteGroupDialog + + org.alfresco.web.bean.groups.DeleteGroupDialog + + session + + authService + #{AuthorityService} + + + + + The bean for create group dialog. + CreateGroupDialog + + org.alfresco.web.bean.groups.CreateGroupDialog + + session + + authService + #{AuthorityService} + + + + + + The bean that holds state for the Edit File screens. + + EditFileDialog + + org.alfresco.web.bean.users.EditFileDialog + + session + + + + + The bean for the Edit Content User Roles screen. + + EditContentUserRolesDialog + + org.alfresco.web.bean.users.EditContentUserRolesDialog + + session + + contentUsersBean + #{ContentUsersBean} + + + + + + The bean for the Admin Console screen. + + AdminConsoleDialog + + org.alfresco.web.bean.admin.AdminConsoleDialog + + session + + + + + The bean for the Edit Node Categories screen. + + EditNodeCategoriesDialog + + org.alfresco.web.bean.categories.EditNodeCategoriesDialog + + session + + nodeService + #{NodeService} + + + dictionaryService + #{DictionaryService} + + + + + + The bean for the Edit Category screen. + + EditCategoryDialog + + org.alfresco.web.bean.categories.EditCategoryDialog + + session + + nodeService + #{NodeService} + + + categoryService + #{CategoryService} + + + + + + The bean for the Delete Category screen. + + DeleteCategoryDialog + + org.alfresco.web.bean.categories.DeleteCategoryDialog + + session + + nodeService + #{NodeService} + + + categoryService + #{CategoryService} + + + + + The bean for the New Category screen. + CreateCategoryDialog + + org.alfresco.web.bean.categories.CreateCategoryDialog + + session + + nodeService + #{NodeService} + + + categoryService + #{CategoryService} + + + + + The bean for Apply Doc Template Screen. + ApplyDocTemplateDialog + + org.alfresco.web.bean.spaces.ApplyDocTemplateDialog + + session + + nodeService + #{NodeService} + + + browseBean + #{BrowseBean} + + + + + The bean for Apply RSS Template Screen. + ApplyRssTemplateDialog + + org.alfresco.web.bean.spaces.ApplyRssTemplateDialog + + session + + nodeService + #{NodeService} + + + browseBean + #{BrowseBean} + + + + + The bean for Apply Space Template Screen. + ApplySpaceTemplateDialog + + org.alfresco.web.bean.spaces.ApplySpaceTemplateDialog + + session + + nodeService + #{NodeService} + + + browseBean + #{BrowseBean} + + + + + The bean for content Edit Simple Workflow Screen. + EditContentSimpleWorkflowDialog + + org.alfresco.web.bean.content.EditSimpleWorkflowDialog + + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + + + The bean for space Edit Simple Space Workflow Screen. + EditSpaceSimpleWorkflowDialog + + org.alfresco.web.bean.spaces.EditSimpleWorkflowDialog + + session + + browseBean + #{BrowseBean} + + + nodeService + #{NodeService} + + + + + The bean for Change Current User Password Screen. + ChangeMyPasswordDialog + + org.alfresco.web.bean.users.ChangeMyPasswordDialog + + session + + properties + #{UsersBeanProperties} + + + + + The bean for Change Users Password Screen. + ChangePasswordDialog + + org.alfresco.web.bean.users.ChangePasswordDialog + + session + + properties + #{UsersBeanProperties} + + + + + + Bean that manages the deleting of trashitem. + + TrashcanDeleteItemDialog + org.alfresco.web.bean.trashcan.TrashcanDeleteItemDialog + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + dictionaryService + #{DictionaryService} + + + property + #{TrashcanDialogProperty} + + + + + + Bean that manages the deleting of all trashitems. + + TrashcanDeleteAllItemsDialog + org.alfresco.web.bean.trashcan.TrashcanDeleteAllItemsDialog + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + dictionaryService + #{DictionaryService} + + + property + #{TrashcanDialogProperty} + + + + + + Bean that manages the deleting of listed trashitems. + + TrashcanDeleteListedItemsDialog + org.alfresco.web.bean.trashcan.TrashcanDeleteListedItemsDialog + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + dictionaryService + #{DictionaryService} + + + property + #{TrashcanDialogProperty} + + + + + The bean for the Item Details Screen. + TrashcanItemDetailsDialog + + org.alfresco.web.bean.trashcan.TrashcanItemDetailsDialog + + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + dictionaryService + #{DictionaryService} + + + permissionService + #{PermissionService} + + + property + #{TrashcanDialogProperty} + + + + + The bean for the Recover Item Screen. + TrashcanRecoverItemDialog + + org.alfresco.web.bean.trashcan.TrashcanRecoverItemDialog + + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + dictionaryService + #{DictionaryService} + + + property + #{TrashcanDialogProperty} + + + + + The bean for the Recover All Items Screen. + TrashcanRecoverAllItemsDialog + + org.alfresco.web.bean.trashcan.TrashcanRecoverAllItemsDialog + + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + dictionaryService + #{DictionaryService} + + + property + #{TrashcanDialogProperty} + + + + + The bean for the Recover Listed Items Screen. + TrashcanRecoverListedItemsDialog + + org.alfresco.web.bean.trashcan.TrashcanRecoverListedItemsDialog + + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + dictionaryService + #{DictionaryService} + + + property + #{TrashcanDialogProperty} + + + + + The bean for Users Profile and Settings screen. + UserConsoleDialog + + org.alfresco.web.bean.users.UserConsoleDialog + + session + + + + The bean for a User Profile. + UserProfileDialog + + org.alfresco.web.bean.users.UserProfileDialog + + session + + properties + #{UsersBeanProperties} + + + + + The bean for the Recovery Report Screen. + TrashcanRecoveryReportDialog + + org.alfresco.web.bean.trashcan.TrashcanRecoveryReportDialog + + session + + nodeService + #{NodeService} + + + searchService + #{SearchService} + + + dictionaryService + #{DictionaryService} + + + property + #{TrashcanDialogProperty} + + + + + The bean for the Edit Html Inline Screen. + CCEditHtmlInlineDialog + + org.alfresco.web.bean.coci.CCEditHtmlInlineDialog + + session + + property + #{CCProperties} + + + + + The bean for the Edit Text Inline Screen. + CCEditTextInlineDialog + + org.alfresco.web.bean.coci.CCEditTextInlineDialog + + session + + property + #{CCProperties} + + + + + The bean for the Checkout File Screen. + CCCheckoutFileDialog + + org.alfresco.web.bean.coci.CCCheckoutFileDialog + + session + + property + #{CCProperties} + + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + + + The bean for the Checkout File Link Screen. + CCCheckoutFileLinkDialog + + org.alfresco.web.bean.coci.CCCheckoutFileLinkDialog + + session + + browseBean + #{BrowseBean} + + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + property + #{CCProperties} + + + + + The bean for the Edit File Screen. + CCEditFileDialog + + org.alfresco.web.bean.coci.CCEditFileDialog + + session + + property + #{CCProperties} + + + + + The bean for the Undo Checkout File Screen. + CCUndoCheckoutFileDialog + + org.alfresco.web.bean.coci.CCUndoCheckoutFileDialog + + session + + property + #{CCProperties} + + + + + The bean for the Cancel Editing File Screen. + CancelEditingDialog + + org.alfresco.web.bean.coci.CancelEditingDialog + + session + + property + #{CCProperties} + + + + + + The bean for the Working Copy Missing Screen. + CCWorkingCopyMissingDialog + + org.alfresco.web.bean.coci.CCWorkingCopyMissingDialog + + session + + property + #{CCProperties} + + + + + The bean for the Checkin File Screen. + CCCheckinFileDialog + + org.alfresco.web.bean.coci.CCCheckinFileDialog + + session + + property + #{CCProperties} + + + + + The bean for the Done-Editing File Screen(New commit dialog). + DoneEditingDialog + + org.alfresco.web.bean.coci.DoneEditingDialog + + session + + property + #{CCProperties} + + + nodeService + #{NodeService} + + + + + The bean for the Edit Search Screen. + EditSearchDialog + + org.alfresco.web.bean.search.EditSearchDialog + + session + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + namespaceService + #{NamespaceService} + + + searchService + #{SearchService} + + + properties + #{SearchProperties} + + + + + The bean for the Save Search Screen. + SaveSearchDialog + + org.alfresco.web.bean.search.SaveSearchDialog + + session + + navigator + #{NavigationBean} + + + nodeService + #{NodeService} + + + namespaceService + #{NamespaceService} + + + searchService + #{SearchService} + + + properties + #{SearchProperties} + + + + + + The bean that backs up the Create Project Dialog + + CreateProjectDialog + org.alfresco.web.bean.projects.CreateProjectDialog + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + namespaceService + #{NamespaceService} + + + dictionaryService + #{DictionaryService} + + + + + The bean for the Save Search Screen. + ShowSystemInfoDialog + + org.alfresco.web.bean.admin.ShowSystemInfoDialog + + session + + navigator + #{NavigationBean} + + + aboutBean + #{AboutBean} + + + + + CategoryBrowserPluginBean + org.alfresco.web.bean.ajax.CategoryBrowserPluginBean + session + + nodeService + #{NodeService} + + + categoryService + #{CategoryService} + + + + + CategoryBrowserBean + org.alfresco.web.bean.CategoryBrowserBean + session + + nodeService + #{NodeService} + + + + + + + + + + + The bean that backs up the view of the Set Permissions + + SetPermissionsDialog + + org.alfresco.web.bean.wcm.SetPermissionsDialog + + session + + authorityService + #{AuthorityService} + + + personService + #{PersonService} + + + avmBrowseBean + #{AVMBrowseBean} + + + + nodeService + #{NodeService} + + + + + + The bean that backs up the view of the Remove Permissions + + RemovePermissionsDialog + + org.alfresco.web.bean.wcm.RemovePermissionsDialog + + session + + avmBrowseBean + #{AVMBrowseBean} + + + avmLockingService + #{AVMLockingService} + + + + + + The bean that backs up the view of the Edit Permissions + + EditPermissionsDialog + + org.alfresco.web.bean.wcm.EditPermissionsDialog + + session + + avmBrowseBean + #{AVMBrowseBean} + + + avmLockingService + #{AVMLockingService} + + + + + diff --git a/source/web/WEB-INF/faces-config-wcm.xml b/source/web/WEB-INF/faces-config-wcm.xml index 7b8fb1ecf6..1248ed7589 100644 --- a/source/web/WEB-INF/faces-config-wcm.xml +++ b/source/web/WEB-INF/faces-config-wcm.xml @@ -44,21 +44,6 @@ org.alfresco.web.ui.wcm.component.UIPendingSubmissions - - org.alfresco.faces.LinkValidationProgress - org.alfresco.web.ui.wcm.component.UILinkValidationProgress - - - - org.alfresco.faces.LinkValidationSummary - org.alfresco.web.ui.wcm.component.UILinkValidationSummary - - - - org.alfresco.faces.LinkValidationReport - org.alfresco.web.ui.wcm.component.UILinkValidationReport - - org.alfresco.faces.AVMList org.alfresco.web.ui.wcm.component.UIAVMList diff --git a/source/web/images/icons/link_validation_report.gif b/source/web/images/icons/link_validation_report.gif deleted file mode 100644 index 60a3fdca97..0000000000 Binary files a/source/web/images/icons/link_validation_report.gif and /dev/null differ diff --git a/source/web/images/icons/link_validation_report_large.gif b/source/web/images/icons/link_validation_report_large.gif deleted file mode 100644 index efbedf7aef..0000000000 Binary files a/source/web/images/icons/link_validation_report_large.gif and /dev/null differ diff --git a/source/web/jsp/wcm/browse-website.jsp b/source/web/jsp/wcm/browse-website.jsp index 392db14dcc..88fbd66937 100644 --- a/source/web/jsp/wcm/browse-website.jsp +++ b/source/web/jsp/wcm/browse-website.jsp @@ -133,13 +133,6 @@ - - - - -   diff --git a/source/web/jsp/wcm/link-validation.jsp b/source/web/jsp/wcm/link-validation.jsp deleted file mode 100644 index b8384bb0a3..0000000000 --- a/source/web/jsp/wcm/link-validation.jsp +++ /dev/null @@ -1,46 +0,0 @@ -<%-- - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . ---%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> -<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> -<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %> -<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> -<%@ taglib uri="/WEB-INF/wcm.tld" prefix="w" %> - -<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %> -<%@ page isELIgnored="false" %> - -<%-- Display progress if dialog is running report --%> - - -<%-- Display the reporting components if showing a report --%> - - - - - - - - - - - - diff --git a/source/web/jsp/wcm/manage-review-task-dialog.jsp b/source/web/jsp/wcm/manage-review-task-dialog.jsp index ac7d3bdf5d..cad5a9d729 100644 --- a/source/web/jsp/wcm/manage-review-task-dialog.jsp +++ b/source/web/jsp/wcm/manage-review-task-dialog.jsp @@ -41,19 +41,6 @@ var="taskProps" columns="1" externalConfig="true" /> - - - - - - - - - - diff --git a/source/web/jsp/wcm/submit-dialog.jsp b/source/web/jsp/wcm/submit-dialog.jsp index 19d0ebbdd8..0e658b4942 100644 --- a/source/web/jsp/wcm/submit-dialog.jsp +++ b/source/web/jsp/wcm/submit-dialog.jsp @@ -83,12 +83,6 @@ onkeyup="javascript:checkButtonState();" /> - - - - -