本文整理汇总了Java中ims.pathways.vo.ExternalEventMappingVo类的典型用法代码示例。如果您正苦于以下问题:Java ExternalEventMappingVo类的具体用法?Java ExternalEventMappingVo怎么用?Java ExternalEventMappingVo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ExternalEventMappingVo类属于ims.pathways.vo包,在下文中一共展示了ExternalEventMappingVo类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: removeMappingForTargetFromGlobalContext
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
private void removeMappingForTargetFromGlobalContext(ExternalEventMappingVo value, TargetShortVo selectedTarget)
{
PathwayTargetExternalEventMappingVoCollection mappings = form.getGlobalContext().Pathways.getSelectedPathwayTargetsExternalMappings();
if(mappings == null || mappings.size() == 0)
return;
PathwayTargetExternalEventMappingVo item = null;
boolean remove = false;
for(int i=0;i<mappings.size();i++)
{
item = mappings.get(i);
if(item.getExternalEventMapping().equals(value))
{
remove = true;
break;
}
}
if(remove)
form.getGlobalContext().Pathways.getSelectedPathwayTargetsExternalMappings().remove(item);
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:22,代码来源:Logic.java
示例2: searchForProvider
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
private DynamicGridRow searchForProvider(ExternalEventMappingVo vo, DynamicGridRow row)
{
int size = form.dyngrdList().getRows().size();
for (int i = 0; i < size; i++)
{
ProviderSystemVo voProvoder = vo.getProviderSystem();
if (form.dyngrdList().getRows().get(i).getIdentifier().equals(PROVIDER) &&
form.dyngrdList().getRows().get(i).getCells().get(getColumn(COLPROVIDER)).getValue().equals("<b>"+voProvoder.getSystemName()+"</b>")&&
form.dyngrdList().getRows().get(i).getCells().get(getColumn(COLGROUP)).getValue().equals("<b>"+vo.getGroup().getText()+"</b>") &&
form.dyngrdList().getRows().get(i).getCells().get(getColumn(COLDETAIL)).getValue().equals("<b>"+vo.getDetail().getText()+"</b>"))// &&
//(vo.getClinicCodeIsNotNull() || vo.getConsultantIsNotNull()) )
return form.dyngrdList().getRows().get(i);
}
return form.dyngrdList().getRows().newRow();
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:18,代码来源:Logic.java
示例3: onDyngrdListRowSelectionChanged
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
@Override
protected void onDyngrdListRowSelectionChanged(DynamicGridRow row)
{
try
{
getAndDisplayRecord(form.dyngrdList().getSelectedRow());
} catch (PresentationLogicException e)
{
e.printStackTrace();
}
updateControlsState();
updateContextMenuState();
ExternalEventMappingVo value = (ExternalEventMappingVo) form.dyngrdList().getSelectedRow().getValue();
form.getLocalContext().setEditedRecord(value);
if (form.dyngrdList().getSelectedRow().getParent() == null)
form.getLocalContext().setParentRow(form.dyngrdList().getSelectedRow());
else
form.getLocalContext().setParentRow(form.dyngrdList().getSelectedRow().getParent());
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:22,代码来源:Logic.java
示例4: isExternalMappingAlreadyUsedForPathway
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
private boolean isExternalMappingAlreadyUsedForPathway(ExternalEventMappingVo voEventMapping, PathwayTargetExternalEventMappingVoCollection pathwayExternalMappings)
{
if (pathwayExternalMappings != null)
{
for (int i = 0; i < pathwayExternalMappings.size(); i++)
{
PathwayTargetExternalEventMappingVo mapping = pathwayExternalMappings.get(i);
if(mapping.getExternalEventMappingIsNotNull()&&mapping.getStatusIsNotNull()&&mapping.getPathwayTargetIsNotNull()&&mapping.getPathwayTarget().getStatusIsNotNull())
if (mapping.getExternalEventMapping().equals(voEventMapping) && !mapping.getStatus().equals(PreActiveActiveInactiveStatus.INACTIVE) && mapping.getPathwayTarget().getStatus().equals(PreActiveActiveInactiveStatus.ACTIVE))
return true;
}
}
return false;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:16,代码来源:Logic.java
示例5: getMappingSelectedForPathwayTarget
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
/**
*
* check the GC and if mapping is found for this target return true
*
* @param voEventMapping
*/
private PathwayTargetExternalEventMappingVo getMappingSelectedForPathwayTarget(ExternalEventMappingVo voEventMapping)
{
if (form.getGlobalContext().Pathways.getSelectedPathwayTargetExternalMappingsIsNotNull())
{
for (int i = 0; i < form.getGlobalContext().Pathways.getSelectedPathwayTargetExternalMappings().size(); i++)
{
PathwayTargetExternalEventMappingVo mapping = form.getGlobalContext().Pathways.getSelectedPathwayTargetExternalMappings().get(i);
if (mapping.getExternalEventMapping().equals(voEventMapping))
return mapping;
}
}
return null;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:21,代码来源:Logic.java
示例6: populateEventExternalEventMapping
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
private EventExternalEventMappingVo populateEventExternalEventMapping(EventVo event, ExternalEventMappingVo mapping)
{
EventExternalEventMappingVo vo = new EventExternalEventMappingVo();
vo.setEvent(event);
vo.setExternalEventMapping(mapping);
vo.setStatus(form.cmbStatus().getValue());
return vo;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:9,代码来源:Logic.java
示例7: populateExternalEventMappingsFromExternalMappingGrid
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
private EventExternalEventMappingVoCollection populateExternalEventMappingsFromExternalMappingGrid()
{
EventExternalEventMappingVoCollection voColl = new EventExternalEventMappingVoCollection();
for (int i = 0; i < form.lyrTargets().tabExternalMappings().grdExternalEventMappings().getRows().size(); i++)
{
ExternalEventMappingVo mapping = form.lyrTargets().tabExternalMappings().grdExternalEventMappings().getRows().get(i).getValue().getExternalEventMapping();
EventVo event = form.getLocalContext().getEditedRecordIsNotNull() ? form.getLocalContext().getEditedRecord() : new EventVo();
EventExternalEventMappingVo vo = populateEventExternalEventMapping(event, mapping);
vo.setStatus(form.lyrTargets().tabExternalMappings().grdExternalEventMappings().getRows().get(i).getColStatus());
if (form.getLocalContext().getEventExternalEventMappingOriginalCollectionIsNotNull())
{
for (int j = 0; j < form.getLocalContext().getEventExternalEventMappingOriginalCollection().size(); j++)
{
if (form.getLocalContext().getEventExternalEventMappingOriginalCollection().get(j).getEvent().equals(
vo.getEvent()) &&
form.getLocalContext().getEventExternalEventMappingOriginalCollection().get(j).getExternalEventMapping().equals(
vo.getExternalEventMapping()))
{
if (form.getLocalContext().getEventExternalEventMappingOriginalCollection().get(j).getActivatedDateTime() != null)
{
vo.setActivatedDateTime(form.getLocalContext().getEventExternalEventMappingOriginalCollection().get(j).getActivatedDateTime());
vo.setActivatedBy(form.getLocalContext().getEventExternalEventMappingOriginalCollection().get(j).getActivatedBy());
}
else if (form.getLocalContext().getEventExternalEventMappingOriginalCollection().get(j).getInactivatedBy() != null)
{
vo.setInactivatedDateTime(form.getLocalContext().getEventExternalEventMappingOriginalCollection().get(j).getInactivatedDateTime());
vo.setInactivatedBy(form.getLocalContext().getEventExternalEventMappingOriginalCollection().get(j).getInactivatedBy());
}
}
}
}
voColl.add(vo);
}
return voColl;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:40,代码来源:Logic.java
示例8: addAGridRow
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
private void addAGridRow(grdGroupsRow row, ExternalEventMappingVo vo)
{
row.setColGroup(vo.getGroupIsNotNull() ? vo.getGroup().toString() : "");
row.setColDetail(vo.getDetailIsNotNull() ? vo.getDetail().toString() : "");
row.setColSpecialty(vo.getSpecialtyIsNotNull() ? vo.getSpecialty().toString() : "");
row.setColProviderSys(vo.getProviderSystemIsNotNull() && vo.getProviderSystem().getSystemNameIsNotNull() ? vo.getProviderSystem().getSystemName() : "");
row.setColClinic(vo.getClinicCodeIsNotNull() ? vo.getClinicCode().toString() : "");
row.setColCons(vo.getConsultantIsNotNull() ? vo.getConsultant().toString() :"" );
row.setValue(vo);
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:11,代码来源:Logic.java
示例9: addASearchGridRow
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
private void addASearchGridRow(grdGroupSearchRow row, ExternalEventMappingVo vo)
{
row.setColGroup(vo.getGroupIsNotNull() ? vo.getGroup().toString() : "");
row.setColDetail(vo.getDetailIsNotNull() ? vo.getDetail().toString() : "");
row.setColSpecialty(vo.getSpecialtyIsNotNull() ? vo.getSpecialty().toString() : "");
row.setColProviderSys(vo.getProviderSystemIsNotNull() && vo.getProviderSystem().getSystemNameIsNotNull() ? vo.getProviderSystem().getSystemName() : "");
row.setColClinic(vo.getClinicCodeIsNotNull() ? vo.getClinicCode().toString() : "");
row.setColCons(vo.getConsultantIsNotNull() ? vo.getConsultant().toString() :"" );
row.setValue(vo);
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:12,代码来源:Logic.java
示例10: searchForSpecialty
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
private DynamicGridRow searchForSpecialty(ExternalEventMappingVo vo, DynamicGridRow row)
{
if (row.getRows() != null)
{
for (int j = 0; j < row.getRows().size(); j++)
{
if (row.getRows().get(j).getCells().get(getColumn(COLPROVIDER)).getValue().equals("<i>"+vo.getSpecialty().getText()+"</i>"))
{
return row.getRows().get(j) ;
}
}
}
return row.getRows().newRow();
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:16,代码来源:Logic.java
示例11: populateDetailsTab
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
private void populateDetailsTab(ExternalEventMappingVo record) throws PresentationLogicException
{
form.lyrDetails().showtabEventMappingDetails();
form.lyrDetails().tabEventMappingDetails().cmbProvider().setValue(record.getProviderSystem());
form.lyrDetails().tabEventMappingDetails().cmbGroup().setValue(record.getGroup());
onCmbGroupValueChanged();
form.lyrDetails().tabEventMappingDetails().cmbDetail().setValue(record.getDetail());
onCmbDetailValueChanged();
form.lyrDetails().tabEventMappingDetails().txtDescription().setValue(record.getDescription());
form.lyrDetails().tabEventMappingSpecialty().cmbSpecialty().setValue(record.getSpecialty());
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:12,代码来源:Logic.java
示例12: get
import ims.pathways.vo.ExternalEventMappingVo; //导入依赖的package包/类
public ExternalEventMappingVo get(ExternalEventMappingRefVo record)
{
if(record == null || record.getID_ExternalEventMapping() == null)
{
throw new DomainRuntimeException("Invalid record");
}
DomainFactory factory = getDomainFactory();
ExternalEventMapping domainRecord = (ExternalEventMapping)factory.getDomainObject
(ExternalEventMapping.class, record.getID_ExternalEventMapping().intValue());
return ExternalEventMappingVoAssembler.create(domainRecord);
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:14,代码来源:ExternalEventMappingsConfigurationImpl.java
注:本文中的ims.pathways.vo.ExternalEventMappingVo类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论