1 19 20 package com.sslexplorer.policyframework.itemactions; 21 22 import com.sslexplorer.policyframework.NoPermissionException; 23 import com.sslexplorer.policyframework.Permission; 24 import com.sslexplorer.policyframework.PolicyConstants; 25 import com.sslexplorer.policyframework.ResourceItem; 26 import com.sslexplorer.policyframework.ResourceUtil; 27 import com.sslexplorer.table.AvailableTableItemAction; 28 29 33 public class CloneResourceAction extends AbstractPathAction { 34 36 public static final String TABLE_ITEM_ACTION_ID = "clone"; 37 38 43 public CloneResourceAction(int navigationContext, String messageResourcesKey) { 44 this(navigationContext, messageResourcesKey, "{2}.do?actionTarget=clone&selectedResource={0}"); 45 } 46 47 52 public CloneResourceAction(int navigationContext, String messageResourcesKey, String requiredPath) { 53 super(TABLE_ITEM_ACTION_ID, messageResourcesKey, 400, false, navigationContext, requiredPath); 54 } 55 56 60 public boolean isEnabled(AvailableTableItemAction availableItem) { 61 return false; 62 } 71 } | Popular Tags |