Package com.liferay.samples.portlet.eventlisting.model

Examples of com.liferay.samples.portlet.eventlisting.model.LocationClp


    return newModel;
  }

  public static Object translateInputLocation(BaseModel<?> oldModel) {
    LocationClp oldClpModel = (LocationClp)oldModel;

    BaseModel<?> newModel = oldClpModel.getLocationRemoteModel();

    newModel.setModelAttributes(oldClpModel.getModelAttributes());

    return newModel;
  }
View Full Code Here


    return newModel;
  }

  public static Object translateOutputLocation(BaseModel<?> oldModel) {
    LocationClp newModel = new LocationClp();

    newModel.setModelAttributes(oldModel.getModelAttributes());

    newModel.setLocationRemoteModel(oldModel);

    return newModel;
  }
View Full Code Here

TOP

Related Classes of com.liferay.samples.portlet.eventlisting.model.LocationClp

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.