public int[] getAvailableActions(long id) throws WorkflowException {
public int[] getAvailableActions(long id) {
    public int[] getAvailableActions(long id) throws WorkflowException {        return getAvailableActions(id, new HashMap());    }