Java 类ims.admin.vo.domain.ReportTemplateBoRefVoAssembler 实例源码

项目:AvoinApotti    文件:ReportTemplateBoRefImpl.java   
/**
* Saves the given report template and valueobject relationship
*/
public ims.admin.vo.ReportTemplateBoRefVo saveAssignedTemplates(ims.admin.vo.ReportTemplateBoRefVo reference) throws ims.domain.exceptions.StaleObjectException
{
    DomainFactory factory = getDomainFactory();
    ReportTemplateBoRef domRep = ReportTemplateBoRefVoAssembler.extractReportTemplateBoRef(factory, reference);
    factory.save(domRep);
    return ReportTemplateBoRefVoAssembler.create(domRep);
}
项目:openMAXIMS    文件:ReportTemplateBoRefImpl.java   
/**
* Saves the given report template and valueobject relationship
*/
public ims.admin.vo.ReportTemplateBoRefVo saveAssignedTemplates(ims.admin.vo.ReportTemplateBoRefVo reference) throws ims.domain.exceptions.StaleObjectException
{
    DomainFactory factory = getDomainFactory();
    ReportTemplateBoRef domRep = ReportTemplateBoRefVoAssembler.extractReportTemplateBoRef(factory, reference);
    factory.save(domRep);
    return ReportTemplateBoRefVoAssembler.create(domRep);
}
项目:openMAXIMS    文件:ReportTemplateBoRefImpl.java   
/**
* Saves the given report template and valueobject relationship
*/
public ims.admin.vo.ReportTemplateBoRefVo saveAssignedTemplates(ims.admin.vo.ReportTemplateBoRefVo reference) throws ims.domain.exceptions.StaleObjectException
{
    DomainFactory factory = getDomainFactory();
    ReportTemplateBoRef domRep = ReportTemplateBoRefVoAssembler.extractReportTemplateBoRef(factory, reference);
    factory.save(domRep);
    return ReportTemplateBoRefVoAssembler.create(domRep);
}
项目:openmaxims-linux    文件:ReportTemplateBoRefImpl.java   
/**
* Saves the given report template and valueobject relationship
*/
public ims.admin.vo.ReportTemplateBoRefVo saveAssignedTemplates(ims.admin.vo.ReportTemplateBoRefVo reference) throws ims.domain.exceptions.StaleObjectException
{
    DomainFactory factory = getDomainFactory();
    ReportTemplateBoRef domRep = ReportTemplateBoRefVoAssembler.extractReportTemplateBoRef(factory, reference);
    factory.save(domRep);
    return ReportTemplateBoRefVoAssembler.create(domRep);
}
项目:AvoinApotti    文件:ReportTemplateBoRefImpl.java   
/**
* Returns the template assigned to the currently selected Business Object
*/
public ims.admin.vo.ReportTemplateBoRefVo getAssignedTemplate(String businessObject)
{
    ReportTemplateBoRef domRep = ReportTemplateBoRef.getReportTemplateBoRefFromBusinessObj(getDomainFactory(), businessObject);
    return ReportTemplateBoRefVoAssembler.create(domRep);
}
项目:AvoinApotti    文件:ReportTemplateBoRefImpl.java   
public ReportTemplateBoRefVoCollection listAssignedTemplates()
{
    return ReportTemplateBoRefVoAssembler.createReportTemplateBoRefVoCollectionFromReportTemplateBoRef(
            getDomainFactory().find("from ReportTemplateBoRef"));
}
项目:openMAXIMS    文件:ReportTemplateBoRefImpl.java   
/**
* Returns the template assigned to the currently selected Business Object
*/
public ims.admin.vo.ReportTemplateBoRefVo getAssignedTemplate(String businessObject)
{
    ReportTemplateBoRef domRep = ReportTemplateBoRef.getReportTemplateBoRefFromBusinessObj(getDomainFactory(), businessObject);
    return ReportTemplateBoRefVoAssembler.create(domRep);
}
项目:openMAXIMS    文件:ReportTemplateBoRefImpl.java   
public ReportTemplateBoRefVoCollection listAssignedTemplates()
{
    return ReportTemplateBoRefVoAssembler.createReportTemplateBoRefVoCollectionFromReportTemplateBoRef(
            getDomainFactory().find("from ReportTemplateBoRef"));
}
项目:openMAXIMS    文件:ReportTemplateBoRefImpl.java   
/**
* Returns the template assigned to the currently selected Business Object
*/
public ims.admin.vo.ReportTemplateBoRefVo getAssignedTemplate(String businessObject)
{
    ReportTemplateBoRef domRep = ReportTemplateBoRef.getReportTemplateBoRefFromBusinessObj(getDomainFactory(), businessObject);
    return ReportTemplateBoRefVoAssembler.create(domRep);
}
项目:openMAXIMS    文件:ReportTemplateBoRefImpl.java   
public ReportTemplateBoRefVoCollection listAssignedTemplates()
{
    return ReportTemplateBoRefVoAssembler.createReportTemplateBoRefVoCollectionFromReportTemplateBoRef(
            getDomainFactory().find("from ReportTemplateBoRef"));
}
项目:openmaxims-linux    文件:ReportTemplateBoRefImpl.java   
/**
* Returns the template assigned to the currently selected Business Object
*/
public ims.admin.vo.ReportTemplateBoRefVo getAssignedTemplate(String businessObject)
{
    ReportTemplateBoRef domRep = ReportTemplateBoRef.getReportTemplateBoRefFromBusinessObj(getDomainFactory(), businessObject);
    return ReportTemplateBoRefVoAssembler.create(domRep);
}
项目:openmaxims-linux    文件:ReportTemplateBoRefImpl.java   
public ReportTemplateBoRefVoCollection listAssignedTemplates()
{
    return ReportTemplateBoRefVoAssembler.createReportTemplateBoRefVoCollectionFromReportTemplateBoRef(
            getDomainFactory().find("from ReportTemplateBoRef"));
}