All Downloads are FREE. Search and download functionalities are using the official Maven repository.

prompto.code.WebSite Maven / Gradle / Ivy

The newest version!
package prompto.code;

import java.util.List;

import prompto.error.PromptoError;
import prompto.runtime.Context;
import prompto.store.IStorable;
import prompto.store.IStore;

public class WebSite extends Service {

	private String homePage;

	public String getHomePage() {
		return homePage;
	}

	public void setHomePage(String homePage) {
		this.homePage = homePage;
	}

	@Override
	public ModuleType getType() {
		return ModuleType.WEBSITE;
	}
	
	@Override
	public IStorable collectStorables(Context context, IStore store, List storables) throws PromptoError {
		IStorable storable = super.collectStorables(context, store, storables);
		storable.setData("homePage", homePage);
		return storable;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy