Package com.tll.common.model

Examples of com.tll.common.model.StringPropertyValue


   */
  public CustomerListingWidget(ModelKey parentAccountRef) {
    super(config);
    this.parentAccountRef = parentAccountRef;
    criteria = new NamedQuerySearch(SmbizEntityType.CUSTOMER, "account.customerList", true);
    criteria.addParam(new StringPropertyValue("parentId", parentAccountRef.getId()));

    setOperator(RemoteListingOperator.create(config.getListingId(),
        ListHandlerType.PAGE, criteria, config.getModelProperties(),
        config.getPageSize(), config.getDefaultSorting()));
  }
View Full Code Here


  private IModelProperty createValueProperty(final Class<?> ptype, final String pname, final Object obj,
      final PropertyMetadata pdata) {
    IModelProperty prop = null;

    if(String.class == ptype) {
      prop = new StringPropertyValue(pname, pdata, (String) obj);
    }

    else if(Date.class == ptype) {
      final Date d = obj == null ? null : new Date(((Date) obj).getTime());
      prop = new DatePropertyValue(pname, pdata, d);
View Full Code Here

TOP

Related Classes of com.tll.common.model.StringPropertyValue

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.