Java 类ims.core.vo.lookups.ContactTypeCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void loadContactsComboWithoutSpecificItems(boolean bRemoveSpinalMedAdmissionContactType, boolean bRemoveInpatientContactType, boolean bRemoveOutPatientContactType)
{
    form.cmbConContactType().clear();

    ContactTypeCollection collContactType = LookupHelper.getContactType(domain.getLookupService());
    for(int i=0;i<collContactType.size();i++)
    {
        if(bRemoveSpinalMedAdmissionContactType && collContactType.get(i).equals(ContactType.SPINALMEDICALADMISSION))
            continue;

        if(bRemoveInpatientContactType && collContactType.get(i).equals(ContactType.INPATIENT))
            continue;

        if(bRemoveOutPatientContactType && collContactType.get(i).equals(ContactType.OUTPATIENT))
            continue;

        form.cmbConContactType().newRow(collContactType.get(i), collContactType.get(i).getText());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadContactsComboWithoutSpecificItems(boolean bRemoveSpinalMedAdmissionContactType, boolean bRemoveInpatientContactType, boolean bRemoveOutPatientContactType)
{
    form.cmbConContactType().clear();

    ContactTypeCollection collContactType = LookupHelper.getContactType(domain.getLookupService());
    for(int i=0;i<collContactType.size();i++)
    {
        if(bRemoveSpinalMedAdmissionContactType && collContactType.get(i).equals(ContactType.SPINALMEDICALADMISSION))
            continue;

        if(bRemoveInpatientContactType && collContactType.get(i).equals(ContactType.INPATIENT))
            continue;

        if(bRemoveOutPatientContactType && collContactType.get(i).equals(ContactType.OUTPATIENT))
            continue;

        form.cmbConContactType().newRow(collContactType.get(i), collContactType.get(i).getText());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadContactsComboWithoutSpecificItems(boolean bRemoveSpinalMedAdmissionContactType, boolean bRemoveInpatientContactType, boolean bRemoveOutPatientContactType)
{
    form.cmbConContactType().clear();

    ContactTypeCollection collContactType = LookupHelper.getContactType(domain.getLookupService());
    for(int i=0;i<collContactType.size();i++)
    {
        if(bRemoveSpinalMedAdmissionContactType && collContactType.get(i).equals(ContactType.SPINALMEDICALADMISSION))
            continue;

        if(bRemoveInpatientContactType && collContactType.get(i).equals(ContactType.INPATIENT))
            continue;

        if(bRemoveOutPatientContactType && collContactType.get(i).equals(ContactType.OUTPATIENT))
            continue;

        form.cmbConContactType().newRow(collContactType.get(i), collContactType.get(i).getText());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadContactsComboWithoutSpecificItems(boolean bRemoveSpinalMedAdmissionContactType, boolean bRemoveInpatientContactType, boolean bRemoveOutPatientContactType)
{
    form.cmbConContactType().clear();

    ContactTypeCollection collContactType = LookupHelper.getContactType(domain.getLookupService());
    for(int i=0;i<collContactType.size();i++)
    {
        if(bRemoveSpinalMedAdmissionContactType && collContactType.get(i).equals(ContactType.SPINALMEDICALADMISSION))
            continue;

        if(bRemoveInpatientContactType && collContactType.get(i).equals(ContactType.INPATIENT))
            continue;

        if(bRemoveOutPatientContactType && collContactType.get(i).equals(ContactType.OUTPATIENT))
            continue;

        form.cmbConContactType().newRow(collContactType.get(i), collContactType.get(i).getText());
    }
}