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

com.togocms.pns.bo.Message Maven / Gradle / Ivy

The newest version!
package com.togocms.pns.bo;

import java.util.List;

import com.clickntap.hub.BO;
import com.clickntap.tool.types.Datetime;

public class Message extends BO {
	private Number channelId;
	private String title;
	private String alert;
	private Number workflow;
	private Datetime creationTime;
	private Datetime lastModified;
	private Number iosSent;
	private Number iosFails;
	private Number androidSent;
	private Number androidFails;

	public Number getChannelId() {
		return channelId;
	}

	public void setChannelId(Number channelId) {
		this.channelId = channelId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAlert() {
		return alert;
	}

	public void setAlert(String alert) {
		this.alert = alert;
	}

	public Number getWorkflow() {
		return workflow;
	}

	public void setWorkflow(Number workflow) {
		this.workflow = workflow;
	}

	public Datetime getCreationTime() {
		return creationTime;
	}

	public void setCreationTime(Datetime creationDate) {
		this.creationTime = creationDate;
	}

	public Datetime getLastModified() {
		return lastModified;
	}

	public void setLastModified(Datetime lastModified) {
		this.lastModified = lastModified;
	}

	public Channel getChannel() throws Exception {
		return getApp().getBO(Channel.class, getChannelId());
	}

	public List getNextAndroidPushes() throws Exception {
		return getApp().getBOListByFilter(Push.class, this, "android-pushes");
	}

	public List getNextIosPushes() throws Exception {
		return getApp().getBOListByFilter(Push.class, this, "ios-pushes");
	}

	public Number getIosSent() {
		return iosSent;
	}

	public void setIosSent(Number iosSent) {
		this.iosSent = iosSent;
	}

	public Number getIosFails() {
		return iosFails;
	}

	public void setIosFails(Number iosFails) {
		this.iosFails = iosFails;
	}

	public Number getAndroidSent() {
		return androidSent;
	}

	public void setAndroidSent(Number androidSent) {
		this.androidSent = androidSent;
	}

	public Number getAndroidFails() {
		return androidFails;
	}

	public void setAndroidFails(Number androidFails) {
		this.androidFails = androidFails;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy