Set<Action> actionSet = new LinkedHashSet<Action>();
Action[] statActionArray = flow.queryStatActions(data.getStatusId());
if(statActionArray == null || statActionArray.length == 0)
{
Action[] userNodeBeginActionArray = flow.queryUserNodeBeginActions(das.getUsername(), template.getId());
for(int i = 0; userNodeBeginActionArray != null && i < userNodeBeginActionArray.length; i++)
actionSet.add(userNodeBeginActionArray[i]);
}
else
{