Java 类ims.emergency.vo.AppFormForTrackingVo 实例源码

项目:AvoinApotti    文件:TrackingImpl.java   
public AppFormForTrackingVo getFormMenuAction(Integer formId) 
{
    if(formId == null)
        throw new CodingRuntimeException("Cannot get AppFormMenuActionVo for a null FormId.");

    AppForm domainObject = (AppForm)getDomainFactory().getDomainObject(AppForm.class, formId);

    return  AppFormForTrackingVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:Logic.java   
private  MenuActionVoCollection getDeniedActionForCurrentUser()
{
    MenuActionVoCollection deniedActions = new MenuActionVoCollection();

    AppFormForTrackingVo currentForm = domain.getFormMenuAction(engine.getFormName().getID());

    if(currentForm == null)
        return null;

    IAppRole role = engine.getLoggedInRole();

    if(role == null)
        return null;

    for(MenuActionVo menuAction : currentForm.getMenuActions())
    {
        if(menuAction == null)
            continue;

        if(!role.hasMenuActionRight(currentForm, menuAction))
        {
            deniedActions.add(menuAction);
        }
    }

    return deniedActions;
}
项目:openMAXIMS    文件:Logic.java   
private List<PatientCaseNoteFolderActions> listDeniedActionForCurrentUser() 
{
    List<PatientCaseNoteFolderActions> deniedActions = new ArrayList<PatientCaseNoteFolderActions>();

    AppFormForTrackingVo currentForm = domain.getFormMenuAction(engine.getFormName().getID());

    if(currentForm == null)
        return null;

    IAppRole role = engine.getLoggedInRole();

    if(role == null)
        return null;

    for(MenuActionVo menuAction : currentForm.getMenuActions())
    {
        if(menuAction == null)
            continue;

        if(!role.hasMenuActionRight(currentForm, menuAction))
        {
            PatientCaseNoteFolderActions mappedAction = getMappedAction(menuAction);

            if(mappedAction != null)
            {
                deniedActions.add(mappedAction);
            }
        }
    }

    return deniedActions;
}
项目:openMAXIMS    文件:Logic.java   
private List<InpatientEpisodeMaintenanceActions> listDeniedActionForCurrentUser() 
{
    List<InpatientEpisodeMaintenanceActions> deniedActions = new ArrayList<InpatientEpisodeMaintenanceActions>();

    AppFormForTrackingVo currentForm = domain.getFormMenuAction(engine.getFormName().getID());

    if(currentForm == null)
        return null;

    IAppRole role = engine.getLoggedInRole();

    if(role == null)
        return null;

    for(MenuActionVo menuAction : currentForm.getMenuActions())
    {
        if(menuAction == null)
            continue;

        if(!role.hasMenuActionRight(currentForm, menuAction))
        {
            InpatientEpisodeMaintenanceActions mappedAction = getMappedAction(menuAction);

            if(mappedAction != null)
            {
                deniedActions.add(mappedAction);
            }
        }
    }

    return deniedActions;
}
项目:openMAXIMS    文件:InpatientEpisodeMaintenanceImpl.java   
public AppFormForTrackingVo getFormMenuAction(Integer formID)
{
    if(formID == null)
        throw new CodingRuntimeException("Cannot get AppFormMenuActionVo for a null FormId.");

    AppForm domainObject = (AppForm)getDomainFactory().getDomainObject(AppForm.class, formID);

    return  AppFormForTrackingVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:PatientCaseNotesImpl.java   
public AppFormForTrackingVo getFormMenuAction(Integer formId)
{
    if(formId == null)
        throw new CodingRuntimeException("Cannot get AppFormMenuActionVo for a null FormId.");

    AppForm domainObject = (AppForm)getDomainFactory().getDomainObject(AppForm.class, formId);

    return  AppFormForTrackingVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:CaseNotesWorklistImpl.java   
public AppFormForTrackingVo getFormMenuAction(Integer formId)
{
    if(formId == null)
        throw new CodingRuntimeException("Cannot get AppFormMenuActionVo for a null FormId.");

    AppForm domainObject = (AppForm)getDomainFactory().getDomainObject(AppForm.class, formId);

    return  AppFormForTrackingVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:TrackingImpl.java   
public AppFormForTrackingVo getFormMenuAction(Integer formId) 
{
    if(formId == null)
        throw new CodingRuntimeException("Cannot get AppFormMenuActionVo for a null FormId.");

    AppForm domainObject = (AppForm)getDomainFactory().getDomainObject(AppForm.class, formId);

    return  AppFormForTrackingVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:Logic.java   
private List<AppointmentOutcomeDialogUserAction> getDeniedActionsForCurrentUser()
{
    IAppRole role = engine.getLoggedInRole();

    if (role == null)
        return null;

    AppFormForTrackingVo currentForm = domain.getFormMenuAction(engine.getFormName().getID());

    if (currentForm == null || currentForm.getMenuActions() == null)
        return null;


    List<AppointmentOutcomeDialogUserAction> deniedActions = new ArrayList<AppointmentOutcomeDialogUserAction>();

    for (MenuActionVo menuAction : currentForm.getMenuActions())
    {
        if (menuAction == null)
            continue;

        if (!role.hasMenuActionRight(currentForm, menuAction))
        {
            AppointmentOutcomeDialogUserAction mappedAction = getMappedAction(menuAction);

            if (mappedAction != null)
            {
                deniedActions.add(mappedAction);
            }
        }
    }

    return deniedActions;
}
项目:openMAXIMS    文件:AppointmentOutcomeDialogImpl.java   
public AppFormForTrackingVo getFormMenuAction(Integer formId)
{
    if(formId == null)
        throw new CodingRuntimeException("Cannot get AppFormMenuActionVo for a null FormId.");

    AppForm domainObject = (AppForm)getDomainFactory().getDomainObject(AppForm.class, formId);

    return  AppFormForTrackingVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:Logic.java   
private  MenuActionVoCollection getDeniedActionForCurrentUser()
{
    MenuActionVoCollection deniedActions = new MenuActionVoCollection();

    AppFormForTrackingVo currentForm = domain.getFormMenuAction(engine.getFormName().getID());

    if(currentForm == null)
        return null;

    IAppRole role = engine.getLoggedInRole();

    if(role == null)
        return null;

    for(MenuActionVo menuAction : currentForm.getMenuActions())
    {
        if(menuAction == null)
            continue;

        if(!role.hasMenuActionRight(currentForm, menuAction))
        {
            deniedActions.add(menuAction);
        }
    }

    return deniedActions;
}
项目:openMAXIMS    文件:Logic.java   
private List<TCIHistoryActions> listDeniedActionForCurrentUser() 
{
    List<TCIHistoryActions> deniedActions = new ArrayList<TCIHistoryActions>();

    AppFormForTrackingVo currentForm = domain.getFormMenuAction(engine.getFormName().getID());

    if(currentForm == null)
        return null;

    IAppRole role = engine.getLoggedInRole();

    if(role == null)
        return null;

    for(MenuActionVo menuAction : currentForm.getMenuActions())
    {
        if(menuAction == null)
            continue;

        if(!role.hasMenuActionRight(currentForm, menuAction))
        {
            TCIHistoryActions mappedAction = getMappedAction(menuAction);

            if(mappedAction != null)
            {
                deniedActions.add(mappedAction);
            }
        }
    }

    return deniedActions;
}
项目:openMAXIMS    文件:ReferralTriageImpl.java   
public AppFormForTrackingVo getFormMenuAction(Integer formId)
{
    if(formId == null)
        throw new CodingRuntimeException("Cannot get AppFormMenuActionVo for a null FormId.");

    AppForm domainObject = (AppForm)getDomainFactory().getDomainObject(AppForm.class, formId);
    return  AppFormForTrackingVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:ElectiveListDetailsImpl.java   
public AppFormForTrackingVo getFormMenuAction(Integer formId)
{
    if(formId == null)
        throw new CodingRuntimeException("Cannot get AppFormMenuActionVo for a null FormId.");

    AppForm domainObject = (AppForm)getDomainFactory().getDomainObject(AppForm.class, formId);

    return  AppFormForTrackingVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:TrackingImpl.java   
public AppFormForTrackingVo getFormMenuAction(Integer formId) 
{
    if(formId == null)
        throw new CodingRuntimeException("Cannot get AppFormMenuActionVo for a null FormId.");

    AppForm domainObject = (AppForm)getDomainFactory().getDomainObject(AppForm.class, formId);

    return  AppFormForTrackingVoAssembler.create(domainObject);
}
项目:openmaxims-linux    文件:TrackingImpl.java   
public AppFormForTrackingVo getFormMenuAction(Integer formId) 
{
    if(formId == null)
        throw new CodingRuntimeException("Cannot get AppFormMenuActionVo for a null FormId.");

    AppForm domainObject = (AppForm)getDomainFactory().getDomainObject(AppForm.class, formId);

    return  AppFormForTrackingVoAssembler.create(domainObject);
}
项目:AvoinApotti    文件:Logic.java   
private void listDeniedActionForCurrentUser() 
{


    AppFormForTrackingVo currentForm = domain.getFormMenuAction(engine.getFormName().getID());

    if(currentForm == null)
        return;

    IAppRole role = engine.getLoggedInRole();

    if(role == null)
        return;

    for(MenuActionVo menuAction : currentForm.getMenuActions())
    {
        if(menuAction == null)
            continue;

        if(!role.hasMenuActionRight(currentForm, menuAction))
        {
            showHidebuttons(menuAction.getID_MenuAction());


        }
    }


}
项目:openMAXIMS    文件:Logic.java   
private void listDeniedActionForCurrentUser() 
{


    AppFormForTrackingVo currentForm = domain.getFormMenuAction(engine.getFormName().getID());

    if(currentForm == null)
        return;

    IAppRole role = engine.getLoggedInRole();

    if(role == null)
        return;

    for(MenuActionVo menuAction : currentForm.getMenuActions())
    {
        if(menuAction == null)
            continue;

        if(!role.hasMenuActionRight(currentForm, menuAction))
        {
            showHidebuttons(menuAction.getID_MenuAction());


        }
    }


}
项目:openMAXIMS    文件:Logic.java   
private void listDeniedActionForCurrentUser() 
{


    AppFormForTrackingVo currentForm = domain.getFormMenuAction(engine.getFormName().getID());

    if(currentForm == null)
        return;

    IAppRole role = engine.getLoggedInRole();

    if(role == null)
        return;

    for(MenuActionVo menuAction : currentForm.getMenuActions())
    {
        if(menuAction == null)
            continue;

        if(!role.hasMenuActionRight(currentForm, menuAction))
        {
            showHidebuttons(menuAction.getID_MenuAction());


        }
    }


}
项目:openmaxims-linux    文件:Logic.java   
private void listDeniedActionForCurrentUser() 
{


    AppFormForTrackingVo currentForm = domain.getFormMenuAction(engine.getFormName().getID());

    if(currentForm == null)
        return;

    IAppRole role = engine.getLoggedInRole();

    if(role == null)
        return;

    for(MenuActionVo menuAction : currentForm.getMenuActions())
    {
        if(menuAction == null)
            continue;

        if(!role.hasMenuActionRight(currentForm, menuAction))
        {
            showHidebuttons(menuAction.getID_MenuAction());


        }
    }


}