Package org.appfuse.webapp.client.application.base.place

Examples of org.appfuse.webapp.client.application.base.place.EntitySearchPlace


            final EntityProxyPlace newEntityPlace = (EntityProxyPlace) newPlace;
            final EntityProxyPlace menuEntityPlace = (EntityProxyPlace) menuPlace;
            return newEntityPlace.getProxyClass().equals(menuEntityPlace.getProxyClass());
        }
        else if(newPlace instanceof EntitySearchPlace && menuPlace instanceof EntitySearchPlace) {
            final EntitySearchPlace newEntityPlace = (EntitySearchPlace) newPlace;
            final EntitySearchPlace menuEntityPlace = (EntitySearchPlace) menuPlace;
            return newEntityPlace.getProxyClass().equals(menuEntityPlace.getProxyClass());
        }
        return newPlace.getClass().equals(menuPlace.getClass());
    }
View Full Code Here


     * Creates the {@link Place} to go when this activity is canceled.
     * @param saved
     * @return
     */
    protected Place previousPlace() {
        return new EntitySearchPlace(getProxyClass());
    }
View Full Code Here

     * @param saved
     * @return
     */
    protected Place nextPlace(final boolean saved) {
        if(saved) {
            return new EntitySearchPlace(getProxyClass());
        } else { // deleted
            return new HomePlace();
        }
    }
View Full Code Here

        });
    }

    protected void newHistoryToken(final S searchCriteria, final int firstResult, final int maxResults) {
        final String historyToken = new EntitySearchPlace.Tokenizer(proxyFactory, requests)
        .getFullHistoryToken(new EntitySearchPlace(currentPlace.getProxyClass(), firstResult, maxResults, searchCriteria));
        History.newItem(historyToken, false);
    }
View Full Code Here

  return requestContext;
    }

    @Override
    protected Place previousPlace() {
  return new EntitySearchPlace(UserProxy.class);
    }
View Full Code Here

    }

    @Override
    protected Place nextPlace(final boolean saved) {
  if(saved) {
      return new EntitySearchPlace(UserProxy.class);
  } else { // deleted
      return new HomePlace();
  }
    }
View Full Code Here

            if (UserProxy.class.equals(proxyPlace.getProxyClass())) {
                activity = new AsyncActivityProxy<EditUserActivity>(this.editUserActivityProvider);
            }
        }
        else if (place instanceof EntitySearchPlace) {
            final EntitySearchPlace listPlace = (EntitySearchPlace) place;
            if (UserProxy.class.equals(listPlace.getProxyClass())) {
                activity = new AsyncActivityProxy<UsersSearchActivity>(this.usersSearchActivityProvider);
            }
        }

        return activity;
View Full Code Here

TOP

Related Classes of org.appfuse.webapp.client.application.base.place.EntitySearchPlace

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.