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

项目:AvoinApotti    文件:ApplicationRolesImpl.java   
public AppTopButtonConfigVo getTopButtonConfiguration(AppTopButtonConfigRefVo config) 
{
    if (config == null)
        return null;

    return AppTopButtonConfigVoAssembler.create((AppTopButtonConfig)getDomainFactory().getDomainObject(config));
}
项目:AvoinApotti    文件:TopButtonAdminImpl.java   
public AppTopButtonConfigVo saveConfiguration(AppTopButtonConfigVo configuration) throws StaleObjectException 
{
    if(configuration == null)
        throw new DomainRuntimeException("Invalid Top Button Configuration");
    if(!configuration.isValidated()) 
        throw new DomainRuntimeException("Top Button Configuration Not Validated");

    DomainFactory factory = this.getDomainFactory();
    AppTopButtonConfig domainObject = AppTopButtonConfigVoAssembler.extractAppTopButtonConfig(factory, configuration);
    factory.save(domainObject);
    return AppTopButtonConfigVoAssembler.create(domainObject);      
}
项目:openMAXIMS    文件:ApplicationRolesImpl.java   
public AppTopButtonConfigVo getTopButtonConfiguration(AppTopButtonConfigRefVo config) 
{
    if (config == null)
        return null;

    return AppTopButtonConfigVoAssembler.create((AppTopButtonConfig)getDomainFactory().getDomainObject(config));
}
项目:openMAXIMS    文件:TopButtonAdminImpl.java   
public AppTopButtonConfigVo saveConfiguration(AppTopButtonConfigVo configuration) throws StaleObjectException 
{
    if(configuration == null)
        throw new DomainRuntimeException("Invalid Top Button Configuration");
    if(!configuration.isValidated()) 
        throw new DomainRuntimeException("Top Button Configuration Not Validated");

    DomainFactory factory = this.getDomainFactory();
    AppTopButtonConfig domainObject = AppTopButtonConfigVoAssembler.extractAppTopButtonConfig(factory, configuration);
    factory.save(domainObject);
    return AppTopButtonConfigVoAssembler.create(domainObject);      
}
项目:openMAXIMS    文件:ApplicationRolesImpl.java   
public AppTopButtonConfigVo getTopButtonConfiguration(AppTopButtonConfigRefVo config) 
{
    if (config == null)
        return null;

    return AppTopButtonConfigVoAssembler.create((AppTopButtonConfig)getDomainFactory().getDomainObject(config));
}
项目:openMAXIMS    文件:TopButtonAdminImpl.java   
public AppTopButtonConfigVo saveConfiguration(AppTopButtonConfigVo configuration) throws StaleObjectException 
{
    if(configuration == null)
        throw new DomainRuntimeException("Invalid Top Button Configuration");
    if(!configuration.isValidated()) 
        throw new DomainRuntimeException("Top Button Configuration Not Validated");

    DomainFactory factory = this.getDomainFactory();
    AppTopButtonConfig domainObject = AppTopButtonConfigVoAssembler.extractAppTopButtonConfig(factory, configuration);
    factory.save(domainObject);
    return AppTopButtonConfigVoAssembler.create(domainObject);      
}
项目:openmaxims-linux    文件:ApplicationRolesImpl.java   
public AppTopButtonConfigVo getTopButtonConfiguration(AppTopButtonConfigRefVo config) 
{
    if (config == null)
        return null;

    return AppTopButtonConfigVoAssembler.create((AppTopButtonConfig)getDomainFactory().getDomainObject(config));
}
项目:openmaxims-linux    文件:TopButtonAdminImpl.java   
public AppTopButtonConfigVo saveConfiguration(AppTopButtonConfigVo configuration) throws StaleObjectException 
{
    if(configuration == null)
        throw new DomainRuntimeException("Invalid Top Button Configuration");
    if(!configuration.isValidated()) 
        throw new DomainRuntimeException("Top Button Configuration Not Validated");

    DomainFactory factory = this.getDomainFactory();
    AppTopButtonConfig domainObject = AppTopButtonConfigVoAssembler.extractAppTopButtonConfig(factory, configuration);
    factory.save(domainObject);
    return AppTopButtonConfigVoAssembler.create(domainObject);      
}
项目:AvoinApotti    文件:TopButtonAdminImpl.java   
public AppTopButtonConfigVoCollection listConfigurations() 
{
    return AppTopButtonConfigVoAssembler.createAppTopButtonConfigVoCollectionFromAppTopButtonConfig(getDomainFactory().find("from AppTopButtonConfig as topb order by UPPER(topb.name) asc")); //WDEV-18196
}
项目:openMAXIMS    文件:TopButtonAdminImpl.java   
public AppTopButtonConfigVoCollection listConfigurations() 
{
    return AppTopButtonConfigVoAssembler.createAppTopButtonConfigVoCollectionFromAppTopButtonConfig(getDomainFactory().find("from AppTopButtonConfig as topb order by UPPER(topb.name) asc")); //WDEV-18196
}
项目:openMAXIMS    文件:TopButtonAdminImpl.java   
public AppTopButtonConfigVoCollection listConfigurations() 
{
    return AppTopButtonConfigVoAssembler.createAppTopButtonConfigVoCollectionFromAppTopButtonConfig(getDomainFactory().find("from AppTopButtonConfig as topb order by UPPER(topb.name) asc")); //WDEV-18196
}
项目:openmaxims-linux    文件:TopButtonAdminImpl.java   
public AppTopButtonConfigVoCollection listConfigurations() 
{
    return AppTopButtonConfigVoAssembler.createAppTopButtonConfigVoCollectionFromAppTopButtonConfig(getDomainFactory().find("from AppTopButtonConfig as topb order by UPPER(topb.name) asc")); //WDEV-18196
}