Java 类ims.admin.vo.lookups.NotificationDeliveryCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void popuateDeliveryMechanism(NotificationDeliveryCollection coll) 
{

    NotificationDelivery[] deliveryMechanisms = NotificationDelivery.ALL;

    for (int i = 0; i < deliveryMechanisms.length; i++) 
    {
        if (deliveryMechanisms[i].equals(NotificationDelivery.UI))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.UI, deliveryMechanisms[i].toString(), true, false);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.EMAIL))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.EMAIL, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.EMAIL) ? true : false) : false, true);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.PUSH))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.PUSH, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.PUSH) ? true : false) : false, true);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.SMS))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.SMS, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.SMS) ? true : false) : false, true);
        }
    }       
}
项目:openMAXIMS    文件:Logic.java   
private void popuateDeliveryMechanism(NotificationDeliveryCollection coll) 
{

    NotificationDelivery[] deliveryMechanisms = NotificationDelivery.ALL;

    for (int i = 0; i < deliveryMechanisms.length; i++) 
    {
        if (deliveryMechanisms[i].equals(NotificationDelivery.UI))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.UI, deliveryMechanisms[i].toString(), true, false);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.EMAIL))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.EMAIL, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.EMAIL) ? true : false) : false, true);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.PUSH))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.PUSH, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.PUSH) ? true : false) : false, true);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.SMS))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.SMS, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.SMS) ? true : false) : false, true);
        }
    }       
}
项目:openMAXIMS    文件:Logic.java   
private void popuateDeliveryMechanism(NotificationDeliveryCollection coll) 
{

    NotificationDelivery[] deliveryMechanisms = NotificationDelivery.ALL;

    for (int i = 0; i < deliveryMechanisms.length; i++) 
    {
        if (deliveryMechanisms[i].equals(NotificationDelivery.UI))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.UI, deliveryMechanisms[i].toString(), true, false);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.EMAIL))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.EMAIL, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.EMAIL) ? true : false) : false, true);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.PUSH))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.PUSH, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.PUSH) ? true : false) : false, true);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.SMS))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.SMS, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.SMS) ? true : false) : false, true);
        }
    }       
}
项目:openmaxims-linux    文件:Logic.java   
private void popuateDeliveryMechanism(NotificationDeliveryCollection coll) 
{

    NotificationDelivery[] deliveryMechanisms = NotificationDelivery.ALL;

    for (int i = 0; i < deliveryMechanisms.length; i++) 
    {
        if (deliveryMechanisms[i].equals(NotificationDelivery.UI))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.UI, deliveryMechanisms[i].toString(), true, false);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.EMAIL))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.EMAIL, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.EMAIL) ? true : false) : false, true);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.PUSH))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.PUSH, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.PUSH) ? true : false) : false, true);
        }
        else if (deliveryMechanisms[i].equals(NotificationDelivery.SMS))
        {
            form.chklistDeliveryMechanism().newRow(ims.admin.vo.lookups.NotificationDelivery.SMS, deliveryMechanisms[i].toString(), coll != null ? (coll.contains(ims.admin.vo.lookups.NotificationDelivery.SMS) ? true : false) : false, true);
        }
    }       
}