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

项目:AvoinApotti    文件:SecurityTokenAdminImpl.java   
public ims.admin.vo.SecurityTokenVoCollection listSecTokens(ims.framework.utils.Date forDate)
{ 

       DomainFactory factory = getDomainFactory();
       String hql;
    ArrayList markers = new ArrayList();
    ArrayList values = new ArrayList();

    if (forDate == null) 
        hql = " from SecurityToken secToken order by expirationTimeStamp";
    else
    {
        hql = " from SecurityToken secToken where expirationTimeStamp = :forDate";
        markers.add("forDate");
        values.add(forDate);
    }

    return SecurityTokenVoAssembler.createSecurityTokenVoCollectionFromSecurityToken(factory.find(hql, markers, values));

}
项目:openMAXIMS    文件:SecurityTokenAdminImpl.java   
public ims.admin.vo.SecurityTokenVoCollection listSecTokens(ims.framework.utils.Date forDate)
{ 

       DomainFactory factory = getDomainFactory();
       String hql;
    ArrayList markers = new ArrayList();
    ArrayList values = new ArrayList();

    if (forDate == null) 
        hql = " from SecurityToken secToken order by expirationTimeStamp";
    else
    {
        hql = " from SecurityToken secToken where expirationTimeStamp = :forDate";
        markers.add("forDate");
        values.add(forDate);
    }

    return SecurityTokenVoAssembler.createSecurityTokenVoCollectionFromSecurityToken(factory.find(hql, markers, values));

}
项目:openMAXIMS    文件:SecurityTokenAdminImpl.java   
public ims.admin.vo.SecurityTokenVoCollection listSecTokens(ims.framework.utils.Date forDate)
{ 

       DomainFactory factory = getDomainFactory();
       String hql;
    ArrayList markers = new ArrayList();
    ArrayList values = new ArrayList();

    if (forDate == null) 
        hql = " from SecurityToken secToken order by expirationTimeStamp";
    else
    {
        hql = " from SecurityToken secToken where expirationTimeStamp = :forDate";
        markers.add("forDate");
        values.add(forDate);
    }

    return SecurityTokenVoAssembler.createSecurityTokenVoCollectionFromSecurityToken(factory.find(hql, markers, values));

}
项目:openmaxims-linux    文件:SecurityTokenAdminImpl.java   
public ims.admin.vo.SecurityTokenVoCollection listSecTokens(ims.framework.utils.Date forDate)
{ 

       DomainFactory factory = getDomainFactory();
       String hql;
    ArrayList markers = new ArrayList();
    ArrayList values = new ArrayList();

    if (forDate == null) 
        hql = " from SecurityToken secToken order by expirationTimeStamp";
    else
    {
        hql = " from SecurityToken secToken where expirationTimeStamp = :forDate";
        markers.add("forDate");
        values.add(forDate);
    }

    return SecurityTokenVoAssembler.createSecurityTokenVoCollectionFromSecurityToken(factory.find(hql, markers, values));

}
项目:AvoinApotti    文件:Logic.java   
public void open() 
{
    form.grd1SecToken().getRows().clear();
    SecurityTokenVoCollection voColl = domain.listStTikens(null);
    if (voColl != null)
    {
        for (int i = 0; i < voColl.size(); i++)
        {
            grd1SecTokenRow row = form.grd1SecToken().getRows().newRow();
            row.setValue(voColl.get(i));
            row.setexpiration(voColl.get(i).getExpirationTimeStampIsNotNull()?voColl.get(i).getExpirationTimeStamp().toString():"");
            row.setsectoken(voColl.get(i).getTokenIDIsNotNull()?voColl.get(i).getTokenID():"");             
            if (voColl.get(i).getParamsIsNotNull())
            {
                String strTooltip;
                strTooltip = "";
                if (voColl.get(i).getParams().size() > 0)
                {
                    strTooltip = "Security Paameters found.\r\n";
                    for(int j = 0; j < voColl.get(i).getParams().size(); j++)
                    {
                        strTooltip += (voColl.get(i).getParams().get(j).getItemIsNotNull()?voColl.get(i).getParams().get(j).getItem() + "\r\n":"");                         
                        row.setTooltip(strTooltip);                         
                    }
                }
                else
                    row.setTooltip("No SecurityToken parameters found.");
            }               
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
public void open() 
{
    form.grd1SecToken().getRows().clear();
    SecurityTokenVoCollection voColl = domain.listStTikens(null);
    if (voColl != null)
    {
        for (int i = 0; i < voColl.size(); i++)
        {
            grd1SecTokenRow row = form.grd1SecToken().getRows().newRow();
            row.setValue(voColl.get(i));
            row.setexpiration(voColl.get(i).getExpirationTimeStampIsNotNull()?voColl.get(i).getExpirationTimeStamp().toString():"");
            row.setsectoken(voColl.get(i).getTokenIDIsNotNull()?voColl.get(i).getTokenID():"");             
            if (voColl.get(i).getParamsIsNotNull())
            {
                String strTooltip;
                strTooltip = "";
                if (voColl.get(i).getParams().size() > 0)
                {
                    strTooltip = "Security Paameters found.\r\n";
                    for(int j = 0; j < voColl.get(i).getParams().size(); j++)
                    {
                        strTooltip += (voColl.get(i).getParams().get(j).getItemIsNotNull()?voColl.get(i).getParams().get(j).getItem() + "\r\n":"");                         
                        row.setTooltip(strTooltip);                         
                    }
                }
                else
                    row.setTooltip("No SecurityToken parameters found.");
            }               
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
public void open() 
{
    form.grd1SecToken().getRows().clear();
    SecurityTokenVoCollection voColl = domain.listStTikens(null);
    if (voColl != null)
    {
        for (int i = 0; i < voColl.size(); i++)
        {
            grd1SecTokenRow row = form.grd1SecToken().getRows().newRow();
            row.setValue(voColl.get(i));
            row.setexpiration(voColl.get(i).getExpirationTimeStampIsNotNull()?voColl.get(i).getExpirationTimeStamp().toString():"");
            row.setsectoken(voColl.get(i).getTokenIDIsNotNull()?voColl.get(i).getTokenID():"");             
            if (voColl.get(i).getParamsIsNotNull())
            {
                String strTooltip;
                strTooltip = "";
                if (voColl.get(i).getParams().size() > 0)
                {
                    strTooltip = "Security Paameters found.\r\n";
                    for(int j = 0; j < voColl.get(i).getParams().size(); j++)
                    {
                        strTooltip += (voColl.get(i).getParams().get(j).getItemIsNotNull()?voColl.get(i).getParams().get(j).getItem() + "\r\n":"");                         
                        row.setTooltip(strTooltip);                         
                    }
                }
                else
                    row.setTooltip("No SecurityToken parameters found.");
            }               
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
public void open() 
{
    form.grd1SecToken().getRows().clear();
    SecurityTokenVoCollection voColl = domain.listStTikens(null);
    if (voColl != null)
    {
        for (int i = 0; i < voColl.size(); i++)
        {
            grd1SecTokenRow row = form.grd1SecToken().getRows().newRow();
            row.setValue(voColl.get(i));
            row.setexpiration(voColl.get(i).getExpirationTimeStampIsNotNull()?voColl.get(i).getExpirationTimeStamp().toString():"");
            row.setsectoken(voColl.get(i).getTokenIDIsNotNull()?voColl.get(i).getTokenID():"");             
            if (voColl.get(i).getParamsIsNotNull())
            {
                String strTooltip;
                strTooltip = "";
                if (voColl.get(i).getParams().size() > 0)
                {
                    strTooltip = "Security Paameters found.\r\n";
                    for(int j = 0; j < voColl.get(i).getParams().size(); j++)
                    {
                        strTooltip += (voColl.get(i).getParams().get(j).getItemIsNotNull()?voColl.get(i).getParams().get(j).getItem() + "\r\n":"");                         
                        row.setTooltip(strTooltip);                         
                    }
                }
                else
                    row.setTooltip("No SecurityToken parameters found.");
            }               
        }
    }
}
项目:AvoinApotti    文件:SecurityTokenAdminImpl.java   
public SecurityTokenVoCollection listStTikens(Date forDate)
{
    return null;
}
项目:openMAXIMS    文件:SecurityTokenAdminImpl.java   
public SecurityTokenVoCollection listStTikens(Date forDate)
{
    return null;
}
项目:openMAXIMS    文件:SecurityTokenAdminImpl.java   
public SecurityTokenVoCollection listStTikens(Date forDate)
{
    return null;
}
项目:openmaxims-linux    文件:SecurityTokenAdminImpl.java   
public SecurityTokenVoCollection listStTikens(Date forDate)
{
    return null;
}