Java 类ims.core.vo.PublicHolidaysVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateExceptionDatesGrid()
{
    PublicHolidaysVoCollection collVoPubHoliday = domain.getPublicHolidays();
    form.getLocalContext().setvoCollPublicHoliday(collVoPubHoliday);
    if (collVoPubHoliday != null && collVoPubHoliday.size() > 0)
    {
        form.lyrSpecColConfig().tabExceptionDays().grdExceptionDates().getRows().clear();
        for (int i = 0; i < collVoPubHoliday.size(); i++)
        {
            grdExceptionDatesRow row = form.lyrSpecColConfig().tabExceptionDays().grdExceptionDates().getRows().newRow();
            row.setcolExceptionDates(collVoPubHoliday.get(i).getDate());
            row.setValue(collVoPubHoliday.get(i));
        }
    }
}
项目:AvoinApotti    文件:SpecimenCollectionConfigImpl.java   
public PublicHolidaysVoCollection getPublicHolidays() 
{
    DomainFactory factory = getDomainFactory();
    List exceptionDates = factory.find("from PublicHolidays as ph order by ph.date asc ");//    WDEV-15083
    if(exceptionDates != null && exceptionDates.size() > 0)
        return PublicHolidaysVoAssembler.createPublicHolidaysVoCollectionFromPublicHolidays(exceptionDates); 

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private void populateExceptionDatesGrid()
{
    PublicHolidaysVoCollection collVoPubHoliday = domain.getPublicHolidays();
    form.getLocalContext().setvoCollPublicHoliday(collVoPubHoliday);
    if (collVoPubHoliday != null && collVoPubHoliday.size() > 0)
    {
        form.lyrSpecColConfig().tabExceptionDays().grdExceptionDates().getRows().clear();
        for (int i = 0; i < collVoPubHoliday.size(); i++)
        {
            grdExceptionDatesRow row = form.lyrSpecColConfig().tabExceptionDays().grdExceptionDates().getRows().newRow();
            row.setcolExceptionDates(collVoPubHoliday.get(i).getDate());
            row.setValue(collVoPubHoliday.get(i));
        }
    }
}
项目:openMAXIMS    文件:SpecimenCollectionConfigImpl.java   
public PublicHolidaysVoCollection getPublicHolidays() 
{
    DomainFactory factory = getDomainFactory();
    List exceptionDates = factory.find("from PublicHolidays as ph order by ph.date asc ");//    WDEV-15083
    if(exceptionDates != null && exceptionDates.size() > 0)
        return PublicHolidaysVoAssembler.createPublicHolidaysVoCollectionFromPublicHolidays(exceptionDates); 

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private void populateExceptionDatesGrid()
{
    PublicHolidaysVoCollection collVoPubHoliday = domain.getPublicHolidays();
    form.getLocalContext().setvoCollPublicHoliday(collVoPubHoliday);
    if (collVoPubHoliday != null && collVoPubHoliday.size() > 0)
    {
        form.lyrSpecColConfig().tabExceptionDays().grdExceptionDates().getRows().clear();
        for (int i = 0; i < collVoPubHoliday.size(); i++)
        {
            grdExceptionDatesRow row = form.lyrSpecColConfig().tabExceptionDays().grdExceptionDates().getRows().newRow();
            row.setcolExceptionDates(collVoPubHoliday.get(i).getDate());
            row.setValue(collVoPubHoliday.get(i));
        }
    }
}
项目:openMAXIMS    文件:SpecimenCollectionConfigImpl.java   
public PublicHolidaysVoCollection getPublicHolidays() 
{
    DomainFactory factory = getDomainFactory();
    List exceptionDates = factory.find("from PublicHolidays as ph order by ph.date asc ");//    WDEV-15083
    if(exceptionDates != null && exceptionDates.size() > 0)
        return PublicHolidaysVoAssembler.createPublicHolidaysVoCollectionFromPublicHolidays(exceptionDates); 

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private void populateExceptionDatesGrid()
{
    PublicHolidaysVoCollection collVoPubHoliday = domain.getPublicHolidays();
    form.getLocalContext().setvoCollPublicHoliday(collVoPubHoliday);
    if (collVoPubHoliday != null && collVoPubHoliday.size() > 0)
    {
        form.lyrSpecColConfig().tabExceptionDays().grdExceptionDates().getRows().clear();
        for (int i = 0; i < collVoPubHoliday.size(); i++)
        {
            grdExceptionDatesRow row = form.lyrSpecColConfig().tabExceptionDays().grdExceptionDates().getRows().newRow();
            row.setcolExceptionDates(collVoPubHoliday.get(i).getDate());
            row.setValue(collVoPubHoliday.get(i));
        }
    }
}
项目:openmaxims-linux    文件:SpecimenCollectionConfigImpl.java   
public PublicHolidaysVoCollection getPublicHolidays() 
{
    DomainFactory factory = getDomainFactory();
    List exceptionDates = factory.find("from PublicHolidays as ph order by ph.date asc ");//    WDEV-15083
    if(exceptionDates != null && exceptionDates.size() > 0)
        return PublicHolidaysVoAssembler.createPublicHolidaysVoCollectionFromPublicHolidays(exceptionDates); 

    return null;
}