Java 类ims.ocrr.vo.SecurityLevelLiteVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
public void initialize() throws FormOpenException
{
    SecurityLevelLiteVoCollection voCollSecurity = domain.listSecurityLevel();
    if(voCollSecurity == null || voCollSecurity.size() == 0)
        throw new FormOpenException("Security Level Configuration is mandatory");

    form.getLocalContext().setSecurityLevels(voCollSecurity);
    form.getLocalContext().setRoles(domain.listActiveAppRole());

    //load roles into search combo
    for(AppRoleLiteVo voRole : form.getLocalContext().getRoles())
        form.cmbRole().newRow(voRole, voRole.getName());

    form.getLocalContext().setOCSServices(domain.listActiveServiceByOCSCategories());
}
项目:openMAXIMS    文件:Logic.java   
public void initialize() throws FormOpenException
{
    SecurityLevelLiteVoCollection voCollSecurity = domain.listSecurityLevel();
    if(voCollSecurity == null || voCollSecurity.size() == 0)
        throw new FormOpenException("Security Level Configuration is mandatory");

    form.getLocalContext().setSecurityLevels(voCollSecurity);
    form.getLocalContext().setRoles(domain.listActiveAppRole());

    //load roles into search combo
    for(AppRoleLiteVo voRole : form.getLocalContext().getRoles())
        form.cmbRole().newRow(voRole, voRole.getName());

    form.getLocalContext().setOCSServices(domain.listActiveServiceByOCSCategories());
}
项目:openMAXIMS    文件:Logic.java   
public void initialize() throws FormOpenException
{
    SecurityLevelLiteVoCollection voCollSecurity = domain.listSecurityLevel();
    if(voCollSecurity == null || voCollSecurity.size() == 0)
        throw new FormOpenException("Security Level Configuration is mandatory");

    form.getLocalContext().setSecurityLevels(voCollSecurity);
    form.getLocalContext().setRoles(domain.listActiveAppRole());

    //load roles into search combo
    for(AppRoleLiteVo voRole : form.getLocalContext().getRoles())
        form.cmbRole().newRow(voRole, voRole.getName());

    form.getLocalContext().setOCSServices(domain.listActiveServiceByOCSCategories());
}
项目:openmaxims-linux    文件:Logic.java   
public void initialize() throws FormOpenException
{
    SecurityLevelLiteVoCollection voCollSecurity = domain.listSecurityLevel();
    if(voCollSecurity == null || voCollSecurity.size() == 0)
        throw new FormOpenException("Security Level Configuration is mandatory");

    form.getLocalContext().setSecurityLevels(voCollSecurity);
    form.getLocalContext().setRoles(domain.listActiveAppRole());

    //load roles into search combo
    for(AppRoleLiteVo voRole : form.getLocalContext().getRoles())
        form.cmbRole().newRow(voRole, voRole.getName());

    form.getLocalContext().setOCSServices(domain.listActiveServiceByOCSCategories());
}