Java 类ims.core.vo.lookups.DocumentStatusCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void listAvailableStatuses(DocumentStatus currentStatus) 
{
    form.cmbNewStatus().clear();        
    DocumentStatusCollection lkpCollStatus = ims.core.vo.lookups.LookupHelper.getDocumentStatus(domain.getLookupService()); 
    boolean bHide = false;
    for (int i=0; i < lkpCollStatus.size(); i++)
    {
        if (StatusHelper.canUpdateStatus(currentStatus,lkpCollStatus.get(i)))
        {
            form.cmbNewStatus().newRow(lkpCollStatus.get(i), lkpCollStatus.get(i).toString());
            bHide = true;
        }
    }

    form.lblChangeTo().setVisible(bHide);
    form.cmbNewStatus().setVisible(bHide);
    form.btnChange().setVisible(bHide);
}
项目:openMAXIMS    文件:Logic.java   
private void listAvailableStatuses(DocumentStatus currentStatus) 
{
    form.cmbNewStatus().clear();        
    DocumentStatusCollection lkpCollStatus = ims.core.vo.lookups.LookupHelper.getDocumentStatus(domain.getLookupService()); 
    boolean bHide = false;
    for (int i=0; i < lkpCollStatus.size(); i++)
    {
        if (StatusHelper.canUpdateStatus(currentStatus,lkpCollStatus.get(i)))
        {
            form.cmbNewStatus().newRow(lkpCollStatus.get(i), lkpCollStatus.get(i).toString());
            bHide = true;
        }
    }

    form.lblChangeTo().setVisible(bHide);
    form.cmbNewStatus().setVisible(bHide);
    form.btnChange().setVisible(bHide);
}
项目:openMAXIMS    文件:Logic.java   
private void listAvailableStatuses(DocumentStatus currentStatus) 
{
    form.cmbNewStatus().clear();        
    DocumentStatusCollection lkpCollStatus = ims.core.vo.lookups.LookupHelper.getDocumentStatus(domain.getLookupService()); 
    boolean bHide = false;
    for (int i=0; i < lkpCollStatus.size(); i++)
    {
        if (StatusHelper.canUpdateStatus(currentStatus,lkpCollStatus.get(i)))
        {
            form.cmbNewStatus().newRow(lkpCollStatus.get(i), lkpCollStatus.get(i).toString());
            bHide = true;
        }
    }

    form.lblChangeTo().setVisible(bHide);
    form.cmbNewStatus().setVisible(bHide);
    form.btnChange().setVisible(bHide);
}
项目:openmaxims-linux    文件:Logic.java   
private void listAvailableStatuses(DocumentStatus currentStatus) 
{
    form.cmbNewStatus().clear();        
    DocumentStatusCollection lkpCollStatus = ims.core.vo.lookups.LookupHelper.getDocumentStatus(domain.getLookupService()); 
    boolean bHide = false;
    for (int i=0; i < lkpCollStatus.size(); i++)
    {
        if (StatusHelper.canUpdateStatus(currentStatus,lkpCollStatus.get(i)))
        {
            form.cmbNewStatus().newRow(lkpCollStatus.get(i), lkpCollStatus.get(i).toString());
            bHide = true;
        }
    }

    form.lblChangeTo().setVisible(bHide);
    form.cmbNewStatus().setVisible(bHide);
    form.btnChange().setVisible(bHide);
}