public boolean canModifyEntryState(long id, int newState) throws WorkflowException;
public boolean canModifyEntryState(long id, int newState);
    public boolean canModifyEntryState(long id, int newState) throws WorkflowException;