From bdb85b693af9a6dea37aad8a220921d6dfebc811 Mon Sep 17 00:00:00 2001 From: Kevin Roast Date: Thu, 5 Oct 2006 12:13:01 +0000 Subject: [PATCH] more javadoc in wizard, simplified permission definitions for AVM website roles git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4035 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../org/alfresco/web/bean/wcm/DeleteWebsiteDialog.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/java/org/alfresco/web/bean/wcm/DeleteWebsiteDialog.java b/source/java/org/alfresco/web/bean/wcm/DeleteWebsiteDialog.java index 9903d15db2..4f602dd6a5 100644 --- a/source/java/org/alfresco/web/bean/wcm/DeleteWebsiteDialog.java +++ b/source/java/org/alfresco/web/bean/wcm/DeleteWebsiteDialog.java @@ -38,6 +38,9 @@ public class DeleteWebsiteDialog extends DeleteSpaceDialog // ------------------------------------------------------------------------------ // Dialog implementation + /** + * @see org.alfresco.web.bean.dialog.BaseDialogBean#finishImpl(javax.faces.context.FacesContext, java.lang.String) + */ @Override protected String finishImpl(FacesContext context, String outcome) throws Exception { @@ -47,7 +50,6 @@ public class DeleteWebsiteDialog extends DeleteSpaceDialog String storeRoot = (String)websiteNode.getProperties().get(ContentModel.PROP_AVMSTORE); // get the list of users who have a sandbox in the website - int index = 0; List userInfoRefs = nodeService.getChildAssocs( websiteNode.getNodeRef(), ContentModel.ASSOC_WEBUSER, RegexQNamePattern.MATCH_ALL); for (ChildAssociationRef ref : userInfoRefs) @@ -69,6 +71,11 @@ public class DeleteWebsiteDialog extends DeleteSpaceDialog return super.finishImpl(context, outcome); } + /** + * Delete a store, checking for its existance first. + * + * @param store + */ private void deleteStore(String store) { // check it exists before we try to remove it