mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Partial first cut of initial version of links management UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5917 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -41,6 +41,7 @@ import javax.faces.event.ActionEvent;
|
||||
import javax.faces.model.SelectItem;
|
||||
import javax.transaction.UserTransaction;
|
||||
|
||||
import org.alfresco.linkvalidation.HrefValidationProgress;
|
||||
import org.alfresco.model.WCMAppModel;
|
||||
import org.alfresco.repo.avm.AVMNodeConverter;
|
||||
import org.alfresco.repo.avm.actions.AVMRevertStoreAction;
|
||||
@@ -147,6 +148,12 @@ public class AVMBrowseBean implements IContextListener
|
||||
/** List of expired paths to submit */
|
||||
private List<AVMNodeDescriptor> expiredNodes = Collections.<AVMNodeDescriptor>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;
|
||||
@@ -456,6 +463,38 @@ 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of expired nodes. Used by the submit dialog to retrieve
|
||||
|
Reference in New Issue
Block a user