Java 类ims.ocrr.vo.domain.RoleDisciplineSecurityLevelVoAssembler 实例源码

项目:AvoinApotti    文件:RoleSecurityLevelConfigImpl.java   
public void saveRoleDisciplineSecurity(RoleDisciplineSecurityLevelVoCollection voCollRoleDisciplineSecurity) throws StaleObjectException
{
    DomainFactory factory = getDomainFactory();

    List doLstRoleDispSec = RoleDisciplineSecurityLevelVoAssembler.extractRoleDisciplineSecurityLevelList(factory, voCollRoleDisciplineSecurity);
    Iterator it = doLstRoleDispSec.iterator();
    while(it.hasNext())
    {
        RoleDisciplineSecurityLevel doRoleDispSec = (RoleDisciplineSecurityLevel)it.next();
        factory.save(doRoleDispSec);
    }
}
项目:openMAXIMS    文件:RoleSecurityLevelConfigImpl.java   
public void saveRoleDisciplineSecurity(RoleDisciplineSecurityLevelVoCollection voCollRoleDisciplineSecurity) throws StaleObjectException
{
    DomainFactory factory = getDomainFactory();

    List doLstRoleDispSec = RoleDisciplineSecurityLevelVoAssembler.extractRoleDisciplineSecurityLevelList(factory, voCollRoleDisciplineSecurity);
    Iterator it = doLstRoleDispSec.iterator();
    while(it.hasNext())
    {
        RoleDisciplineSecurityLevel doRoleDispSec = (RoleDisciplineSecurityLevel)it.next();
        factory.save(doRoleDispSec);
    }
}
项目:openMAXIMS    文件:RoleSecurityLevelConfigImpl.java   
public void saveRoleDisciplineSecurity(RoleDisciplineSecurityLevelVoCollection voCollRoleDisciplineSecurity) throws StaleObjectException
{
    DomainFactory factory = getDomainFactory();

    List doLstRoleDispSec = RoleDisciplineSecurityLevelVoAssembler.extractRoleDisciplineSecurityLevelList(factory, voCollRoleDisciplineSecurity);
    Iterator it = doLstRoleDispSec.iterator();
    while(it.hasNext())
    {
        RoleDisciplineSecurityLevel doRoleDispSec = (RoleDisciplineSecurityLevel)it.next();
        factory.save(doRoleDispSec);
    }
}
项目:openmaxims-linux    文件:RoleSecurityLevelConfigImpl.java   
public void saveRoleDisciplineSecurity(RoleDisciplineSecurityLevelVoCollection voCollRoleDisciplineSecurity) throws StaleObjectException
{
    DomainFactory factory = getDomainFactory();

    List doLstRoleDispSec = RoleDisciplineSecurityLevelVoAssembler.extractRoleDisciplineSecurityLevelList(factory, voCollRoleDisciplineSecurity);
    Iterator it = doLstRoleDispSec.iterator();
    while(it.hasNext())
    {
        RoleDisciplineSecurityLevel doRoleDispSec = (RoleDisciplineSecurityLevel)it.next();
        factory.save(doRoleDispSec);
    }
}
项目:AvoinApotti    文件:RoleSecurityLevelConfigImpl.java   
public RoleDisciplineSecurityLevelVoCollection listRoleDisciplineSecurityLevelByRole(AppRoleRefVo voRole)
{
    String hql = "from RoleDisciplineSecurityLevel rds where rds.role.id = " + voRole.getID_AppRole();
    List lstRdss = getDomainFactory().find(hql);
    return RoleDisciplineSecurityLevelVoAssembler.createRoleDisciplineSecurityLevelVoCollectionFromRoleDisciplineSecurityLevel(lstRdss);
}
项目:openMAXIMS    文件:RoleSecurityLevelConfigImpl.java   
public RoleDisciplineSecurityLevelVoCollection listRoleDisciplineSecurityLevelByRole(AppRoleRefVo voRole)
{
    String hql = "from RoleDisciplineSecurityLevel rds where rds.role.id = " + voRole.getID_AppRole();
    List lstRdss = getDomainFactory().find(hql);
    return RoleDisciplineSecurityLevelVoAssembler.createRoleDisciplineSecurityLevelVoCollectionFromRoleDisciplineSecurityLevel(lstRdss);
}
项目:openMAXIMS    文件:RoleSecurityLevelConfigImpl.java   
public RoleDisciplineSecurityLevelVoCollection listRoleDisciplineSecurityLevelByRole(AppRoleRefVo voRole)
{
    String hql = "from RoleDisciplineSecurityLevel rds where rds.role.id = " + voRole.getID_AppRole();
    List lstRdss = getDomainFactory().find(hql);
    return RoleDisciplineSecurityLevelVoAssembler.createRoleDisciplineSecurityLevelVoCollectionFromRoleDisciplineSecurityLevel(lstRdss);
}
项目:openmaxims-linux    文件:RoleSecurityLevelConfigImpl.java   
public RoleDisciplineSecurityLevelVoCollection listRoleDisciplineSecurityLevelByRole(AppRoleRefVo voRole)
{
    String hql = "from RoleDisciplineSecurityLevel rds where rds.role.id = " + voRole.getID_AppRole();
    List lstRdss = getDomainFactory().find(hql);
    return RoleDisciplineSecurityLevelVoAssembler.createRoleDisciplineSecurityLevelVoCollectionFromRoleDisciplineSecurityLevel(lstRdss);
}