예제 #1
0
  public String getDesription() {
    String temp = "";
    String s = storeP.getDesription();
    if (s != null && !s.trim().equals("")) temp += s + "\n\n";

    if (getNumbers() != null && getNumbers().size() > 0 && !getNumbers().get(0).equals("")) {
      temp += Static.LANG == LANGUAGE.ENGLISH ? "Telephone: \n" : "تـليـفون:\n";
      for (String n : getNumbers()) {
        temp += n + "\n";
      }
      temp += "\n";
    }

    if (storeP.getAddress() != null && !storeP.getAddress().trim().equals("")) {
      temp += Static.LANG == LANGUAGE.ENGLISH ? "Address: \n" : "عـنـوان:\n";
      temp += storeP.getAddress();
    }
    return temp;
  }
예제 #2
0
 public String getTwitter() {
   return storeP.getTwitter();
 }
예제 #3
0
 public String getFacebook() {
   return storeP.getFacebook();
 }
예제 #4
0
 public String getWebsite() {
   return storeP.getWebsite();
 }
예제 #5
0
 public void getItems(FindCallback callback) {
   storeP.getItems(callback);
 }
예제 #6
0
 public List<String> getNumbers() {
   return storeP.getPhone();
 }
예제 #7
0
 public LatLng getLocation() {
   return new LatLng(storeP.getLatitude(), storeP.getLongitude());
 }
예제 #8
0
 public String getObjectId() {
   return storeP.getObjectId();
 }
예제 #9
0
 public Store(ParseStore s) {
   storeP = s;
   name = s.getName();
   if (s.getImage() != null) image = s.getImage().getUrl();
   if (s.getLogo() != null) logo = s.getLogo().getUrl();
 }