public int getEntryState(long id) throws WorkflowException {
public int getEntryState(long id) {
    public int getEntryState(long id) throws WorkflowException {        return new BasicWorkflow(getRemoteUser()).getEntryState(id);    }