10-18-2012 07:58 AM
10-18-2012 08:32 AM
10-18-2012 08:43 AM
10-24-2012 05:41 AM
10-29-2012 05:22 AM
public class EureCustomAction extends ActionExecuterAbstractBase {
protected void executeImpl(Action arg0, NodeRef arg1) {
…
}
}
fügt diesen Code ein:
Set<ExecutedRuleData> executedRules = (Set<ExecutedRuleData>) org.alfresco.repo.transaction.AlfrescoTransactionSupport.getResource("RuleServiceImpl.ExecutedRules");
Iterator<ExecutedRuleData> it = executedRules.iterator();
while(it.hasNext()){
ExecutedRuleData erd = it.next();
NodeRef nodeRef = erd.getActionableNodeRef();
if(nodeRef!=null && nodeRef.equals(arg1)){
List<String> types = erd.getRule().getRuleTypes();
Iterator<String> ruleIt = types.iterator();
while(ruleIt.hasNext()) {
System.out.println("ExecutedRule: [" + ruleIt.next() + "]");
}
}
}
in ruleIt.next steht z.B. sowas wie OUTBOUND,INBOUND oder UPDATE.Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.