Beispiel #1
0
  public GetSites clone() {
    GetSites c = new GetSites();
    c.filter = new Filter(filter);
    c.setLimit(getLimit());
    c.setOffset(getOffset());
    c.setSortInfo(getSortInfo());

    return c;
  }
Beispiel #2
0
  public static GetSites byActivity(int activityId) {
    GetSites cmd = new GetSites();
    cmd.filter().onActivity(activityId);

    return cmd;
  }
Beispiel #3
0
  public static GetSites byId(int siteId) {
    GetSites cmd = new GetSites();
    cmd.filter().addRestriction(DimensionType.Site, siteId);

    return cmd;
  }