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 {        return new OfbizWorkflow(getRemoteUser()).canModifyEntryState(id, newState);    }