Sha256: 99dd68f312673300eaf295e05eb309b6afa491615107615101389b72aceff385

Contents?: true

Size: 868 Bytes

Versions: 3

Compression:

Stored size: 868 Bytes

Contents

package <%= base_package %>;

import <%= managed_package %>.ActivityFactory;

import com.google.gwt.activity.shared.Activity;

import <%= gwt_rails_package %>.places.RestfulAction;
import <%= gwt_rails_package %>.places.RestfulPlace;

public abstract class ActivityPlace<T> extends RestfulPlace<T> {

    protected ActivityPlace(RestfulAction restfulAction, String name) {
        super(restfulAction, name);
    }

    protected ActivityPlace(T model, RestfulAction restfulAction, String name) {
        super(model, restfulAction, name);
    }

    protected ActivityPlace(int id, RestfulAction restfulAction, String name) {
        super(id, restfulAction, name);
    }

    protected ActivityPlace(String id, RestfulAction restfulAction, String name) {
        super(id, restfulAction, name);
    }

    public abstract Activity create(ActivityFactory factory);
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
resty-generators-0.5.3 lib/generators/resty/setup/templates/ActivityPlace.java
resty-generators-0.5.1 lib/generators/resty/setup/templates/ActivityPlace.java
resty-generators-0.5.0 lib/generators/resty/setup/templates/ActivityPlace.java