Java 类ims.admin.vo.FlagCategoryVoCollection 实例源码

项目:AvoinApotti    文件:ConfigFlagsImpl.java   
public FlagCategoryVoCollection listCategories()
{
    FlagCategoryVoCollection coll = new FlagCategoryVoCollection();
    String dispChoice = ConfigFlag.DISPLAY_CHOICE.getValue();
    if (dispChoice.equals("ALL") || dispChoice.indexOf("DOM") != -1)
        coll.add(createCategory("DOM", "Data"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("FW") != -1)
        coll.add(createCategory("FW", "Framework"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("UI") != -1)
        coll.add(createCategory("UI", "User Interface"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("DTO") != -1)
        coll.add(createCategory("DTO", "DTO"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("HL7") != -1)
        coll.add(createCategory("HL7", "HL7 Engine"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("GEN") != -1)
        coll.add(createCategory("GEN", "General"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("RCHTIM") != -1)
        coll.add(createCategory("RCHTIM", "RCHT HL7 Interface"));
    return coll;
}
项目:openMAXIMS    文件:ConfigFlagsImpl.java   
public FlagCategoryVoCollection listCategories()
{
    FlagCategoryVoCollection coll = new FlagCategoryVoCollection();
    String dispChoice = ConfigFlag.DISPLAY_CHOICE.getValue();
    if (dispChoice.equals("ALL") || dispChoice.indexOf("DOM") != -1)
        coll.add(createCategory("DOM", "Data"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("FW") != -1)
        coll.add(createCategory("FW", "Framework"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("UI") != -1)
        coll.add(createCategory("UI", "User Interface"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("DTO") != -1)
        coll.add(createCategory("DTO", "DTO"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("HL7") != -1)
        coll.add(createCategory("HL7", "HL7 Engine"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("GEN") != -1)
        coll.add(createCategory("GEN", "General"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("RCHTIM") != -1)
        coll.add(createCategory("RCHTIM", "RCHT HL7 Interface"));
    return coll;
}
项目:openMAXIMS    文件:ConfigFlagsImpl.java   
public FlagCategoryVoCollection listCategories()
{
    FlagCategoryVoCollection coll = new FlagCategoryVoCollection();
    String dispChoice = ConfigFlag.DISPLAY_CHOICE.getValue();
    if (dispChoice.equals("ALL") || dispChoice.indexOf("DOM") != -1)
        coll.add(createCategory("DOM", "Data"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("FW") != -1)
        coll.add(createCategory("FW", "Framework"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("UI") != -1)
        coll.add(createCategory("UI", "User Interface"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("DTO") != -1)
        coll.add(createCategory("DTO", "DTO"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("HL7") != -1)
        coll.add(createCategory("HL7", "HL7 Engine"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("GEN") != -1)
        coll.add(createCategory("GEN", "General"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("RCHTIM") != -1)
        coll.add(createCategory("RCHTIM", "RCHT HL7 Interface"));
    return coll;
}
项目:openmaxims-linux    文件:ConfigFlagsImpl.java   
public FlagCategoryVoCollection listCategories()
{
    FlagCategoryVoCollection coll = new FlagCategoryVoCollection();
    String dispChoice = ConfigFlag.DISPLAY_CHOICE.getValue();
    if (dispChoice.equals("ALL") || dispChoice.indexOf("DOM") != -1)
        coll.add(createCategory("DOM", "Data"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("FW") != -1)
        coll.add(createCategory("FW", "Framework"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("UI") != -1)
        coll.add(createCategory("UI", "User Interface"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("DTO") != -1)
        coll.add(createCategory("DTO", "DTO"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("HL7") != -1)
        coll.add(createCategory("HL7", "HL7 Engine"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("GEN") != -1)
        coll.add(createCategory("GEN", "General"));
    if (dispChoice.equals("ALL") || dispChoice.indexOf("RCHTIM") != -1)
        coll.add(createCategory("RCHTIM", "RCHT HL7 Interface"));
    return coll;
}
项目:AvoinApotti    文件:Logic.java   
private void setupRootRows() 
{
    clearFields();
    form.treFlags().clear();    
    setChoices();
    FlagCategoryVoCollection coll = domain.listCategories();
    for (int i = 0; i < coll.size(); i++)
    {
        FlagCategoryVo cat = coll.get(i);
        addRootRow(cat);            
    }
    form.getContextMenus().getConfigFlagUpdateItem().setVisible(false);
    form.getContextMenus().getConfigFlagResetItem().setVisible(false);      
}
项目:openMAXIMS    文件:Logic.java   
private void setupRootRows() 
{
    clearFields();
    form.treFlags().clear();    
    setChoices();
    FlagCategoryVoCollection coll = domain.listCategories();
    for (int i = 0; i < coll.size(); i++)
    {
        FlagCategoryVo cat = coll.get(i);
        addRootRow(cat);            
    }
    form.getContextMenus().getConfigFlagUpdateItem().setVisible(false);
    form.getContextMenus().getConfigFlagResetItem().setVisible(false);      
}
项目:openMAXIMS    文件:Logic.java   
private void setupRootRows() 
{
    clearFields();
    form.treFlags().clear();    
    setChoices();
    FlagCategoryVoCollection coll = domain.listCategories();
    for (int i = 0; i < coll.size(); i++)
    {
        FlagCategoryVo cat = coll.get(i);
        addRootRow(cat);            
    }
    form.getContextMenus().getConfigFlagUpdateItem().setVisible(false);
    form.getContextMenus().getConfigFlagResetItem().setVisible(false);      
}
项目:openmaxims-linux    文件:Logic.java   
private void setupRootRows() 
{
    clearFields();
    form.treFlags().clear();    
    setChoices();
    FlagCategoryVoCollection coll = domain.listCategories();
    for (int i = 0; i < coll.size(); i++)
    {
        FlagCategoryVo cat = coll.get(i);
        addRootRow(cat);            
    }
    form.getContextMenus().getConfigFlagUpdateItem().setVisible(false);
    form.getContextMenus().getConfigFlagResetItem().setVisible(false);      
}