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

项目:AvoinApotti    文件:Logic.java   
private boolean roleExists(TemplateRoleShortVoCollection roles, AppRoleShortVo appRoleVo)
{
    if(roles == null || appRoleVo == null)
        return false;

    for(int i = 0; i < roles.size(); i++)
    {
        TemplateRoleShortVo voTemplateRoleShort = roles.get(i);
        if(voTemplateRoleShort != null && voTemplateRoleShort.getAppRoleIsNotNull() && voTemplateRoleShort.getAppRole().equals(appRoleVo))
            return true;
    }
    return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean roleExists(TemplateRoleShortVoCollection roles, AppRoleShortVo appRoleVo)
{
    if(roles == null || appRoleVo == null)
        return false;

    for(int i = 0; i < roles.size(); i++)
    {
        TemplateRoleShortVo voTemplateRoleShort = roles.get(i);
        if(voTemplateRoleShort != null && voTemplateRoleShort.getAppRoleIsNotNull() && voTemplateRoleShort.getAppRole().equals(appRoleVo))
            return true;
    }
    return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean roleExists(TemplateRoleShortVoCollection roles, AppRoleShortVo appRoleVo)
{
    if(roles == null || appRoleVo == null)
        return false;

    for(int i = 0; i < roles.size(); i++)
    {
        TemplateRoleShortVo voTemplateRoleShort = roles.get(i);
        if(voTemplateRoleShort != null && voTemplateRoleShort.getAppRoleIsNotNull() && voTemplateRoleShort.getAppRole().equals(appRoleVo))
            return true;
    }
    return false;
}
项目:openmaxims-linux    文件:Logic.java   
private boolean roleExists(TemplateRoleShortVoCollection roles, AppRoleShortVo appRoleVo)
{
    if(roles == null || appRoleVo == null)
        return false;

    for(int i = 0; i < roles.size(); i++)
    {
        TemplateRoleShortVo voTemplateRoleShort = roles.get(i);
        if(voTemplateRoleShort != null && voTemplateRoleShort.getAppRoleIsNotNull() && voTemplateRoleShort.getAppRole().equals(appRoleVo))
            return true;
    }
    return false;
}