Sha256: 08f622556bbfc3951c5fe58b10233eabd44c1997f24f364430114a31bb481d98

Contents?: true

Size: 789 Bytes

Versions: 1

Compression:

Stored size: 789 Bytes

Contents

package <%= places_package %>;

import <%= gwt_rails_package %>.RestfulAction;

import <%= managed_package %>.ActivityFactory;
import <%= base_package %>.ActivityPlace;

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

public class <%= class_name %>Place extends ActivityPlace {
    
    public Activity create(ActivityFactory factory){
        return factory.create(this);
    }
    
    public <%= class_name %>Place(RestfulAction restfulAction) {
        super(restfulAction, "<%= table_name %>");
    }

    public <%= class_name %>Place(int id, RestfulAction restfulAction) {
        super(id, restfulAction, "<%= table_name %>");
    }    
    
    public <%= class_name %>Place(String id, RestfulAction restfulAction) {
        super(id, restfulAction, "<%= table_name %>");
    }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
resty-generators-0.4.0 lib/generators/resty/templates/Place.java