1 17 package org.alfresco.service.cmr.action; 18 19 import java.util.Date ; 20 import java.util.List ; 21 22 import org.alfresco.service.cmr.repository.NodeRef; 23 24 25 30 public interface Action extends ParameterizedItem 31 { 32 37 String getActionDefinitionName(); 38 39 44 String getTitle(); 45 46 51 void setTitle(String title); 52 53 58 String getDescription(); 59 60 65 void setDescription(String description); 66 67 75 NodeRef getOwningNodeRef(); 76 77 84 boolean getExecuteAsychronously(); 85 86 91 void setExecuteAsynchronously(boolean executeAsynchronously); 92 93 101 Action getCompensatingAction(); 102 103 108 void setCompensatingAction(Action action); 109 110 115 Date getCreatedDate(); 116 117 122 String getCreator(); 123 124 129 Date getModifiedDate(); 130 131 136 String getModifier(); 137 138 143 boolean hasActionConditions(); 144 145 151 int indexOfActionCondition(ActionCondition actionCondition); 152 153 158 List <ActionCondition> getActionConditions(); 159 160 166 ActionCondition getActionCondition(int index); 167 168 173 void addActionCondition(ActionCondition actionCondition); 174 175 181 void addActionCondition(int index, ActionCondition actionCondition); 182 183 190 void setActionCondition(int index, ActionCondition actionCondition); 191 192 197 void removeActionCondition(ActionCondition actionCondition); 198 199 202 void removeAllActionConditions(); 203 } 204 | Popular Tags |