1 17 package org.alfresco.repo.action; 18 19 import java.io.Serializable ; 20 import java.util.Map ; 21 22 import org.alfresco.service.cmr.action.ActionCondition; 23 24 27 public class ActionConditionImpl extends ParameterizedItemImpl implements Serializable , 28 ActionCondition 29 { 30 33 private static final long serialVersionUID = 3257288015402644020L; 34 35 38 private String actionConditionDefinitionName; 39 40 44 private boolean invertCondition = false; 45 46 49 public ActionConditionImpl(String id, String actionConditionDefinitionName) 50 { 51 this(id, actionConditionDefinitionName, null); 52 } 53 54 57 public ActionConditionImpl( 58 String id, 59 String actionConditionDefinitionName, 60 Map <String , Serializable > parameterValues) 61 { 62 super(id, parameterValues); 63 this.actionConditionDefinitionName = actionConditionDefinitionName; 64 } 65 66 69 public String getActionConditionDefinitionName() 70 { 71 return this.actionConditionDefinitionName; 72 } 73 74 77 public void setInvertCondition(boolean invertCondition) 78 { 79 this.invertCondition = invertCondition; 80 } 81 82 85 public boolean getInvertCondition() 86 { 87 return this.invertCondition; 88 } 89 } 90 | Popular Tags |