Java 类ims.admin.vo.SystemLogVo 实例源码

项目:AvoinApotti    文件:SystemLogProvider.java   
public ISystemLog save(DateTime dateTime, SystemLogType type, SystemLogLevel level, String server, String user, String source, String computer, String userAgent, String sessionId, String message)
{
    SystemLogVo entry = new SystemLogVo();

    entry.setEventDateTime(dateTime);
    entry.setEventType(type.getId());
    entry.setEventLevel(level.getId());
    entry.setApplicationServer(server);
    entry.setUser(user);
    entry.setSource(source);
    entry.setComputer(computer);
    entry.setMessage(message);
    entry.setSessionId(sessionId);
    entry.setUserAgent(userAgent);

    ims.core.admin.domain.objects.SystemLog domainObject = SystemLogVoAssembler.extractSystemLog(getDomainFactory(), entry);
    try 
    {
        getDomainFactory().save(domainObject);
    } 
    catch (StaleObjectException e) 
    {
        return null;
    }

    return SystemLogVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:SystemLogProvider.java   
public ISystemLog save(DateTime dateTime, SystemLogType type, SystemLogLevel level, String server, String user, String source, String computer, String userAgent, String sessionId, String message)
{
    SystemLogVo entry = new SystemLogVo();

    entry.setEventDateTime(dateTime);
    entry.setEventType(type.getId());
    entry.setEventLevel(level.getId());
    entry.setApplicationServer(server);
    entry.setUser(user);
    entry.setSource(source);
    entry.setComputer(computer);
    entry.setMessage(message);
    entry.setSessionId(sessionId);
    entry.setUserAgent(userAgent);

    ims.core.admin.domain.objects.SystemLog domainObject = SystemLogVoAssembler.extractSystemLog(getDomainFactory(), entry);
    try 
    {
        getDomainFactory().save(domainObject);
    } 
    catch (StaleObjectException e) 
    {
        return null;
    }

    return SystemLogVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:SystemLogProvider.java   
public ISystemLog save(DateTime dateTime, SystemLogType type, SystemLogLevel level, String server, String user, String source, String computer, String userAgent, String sessionId, String message)
{
    SystemLogVo entry = new SystemLogVo();

    entry.setEventDateTime(dateTime);
    entry.setEventType(type.getId());
    entry.setEventLevel(level.getId());
    entry.setApplicationServer(server);
    entry.setUser(user);
    entry.setSource(source);
    entry.setComputer(computer);
    entry.setMessage(message);
    entry.setSessionId(sessionId);
    entry.setUserAgent(userAgent);

    ims.core.admin.domain.objects.SystemLog domainObject = SystemLogVoAssembler.extractSystemLog(getDomainFactory(), entry);
    try 
    {
        getDomainFactory().save(domainObject);
    } 
    catch (StaleObjectException e) 
    {
        return null;
    }

    return SystemLogVoAssembler.create(domainObject);
}
项目:openmaxims-linux    文件:SystemLogProvider.java   
public ISystemLog save(DateTime dateTime, SystemLogType type, SystemLogLevel level, String server, String user, String source, String computer, String userAgent, String sessionId, String message)
{
    SystemLogVo entry = new SystemLogVo();

    entry.setEventDateTime(dateTime);
    entry.setEventType(type.getId());
    entry.setEventLevel(level.getId());
    entry.setApplicationServer(server);
    entry.setUser(user);
    entry.setSource(source);
    entry.setComputer(computer);
    entry.setMessage(message);
    entry.setSessionId(sessionId);
    entry.setUserAgent(userAgent);

    ims.core.admin.domain.objects.SystemLog domainObject = SystemLogVoAssembler.extractSystemLog(getDomainFactory(), entry);
    try 
    {
        getDomainFactory().save(domainObject);
    } 
    catch (StaleObjectException e) 
    {
        return null;
    }

    return SystemLogVoAssembler.create(domainObject);
}
项目:AvoinApotti    文件:SystemLogImpl.java   
public SystemLogVo getEntry(Integer eventId) 
{
    return SystemLogVoAssembler.create((SystemLog)getDomainFactory().getDomainObject(SystemLog.class, eventId));
}
项目:openMAXIMS    文件:SystemLogImpl.java   
public SystemLogVo getEntry(Integer eventId) 
{
    return SystemLogVoAssembler.create((SystemLog)getDomainFactory().getDomainObject(SystemLog.class, eventId));
}
项目:openMAXIMS    文件:SystemLogImpl.java   
public SystemLogVo getEntry(Integer eventId) 
{
    return SystemLogVoAssembler.create((SystemLog)getDomainFactory().getDomainObject(SystemLog.class, eventId));
}
项目:openmaxims-linux    文件:SystemLogImpl.java   
public SystemLogVo getEntry(Integer eventId) 
{
    return SystemLogVoAssembler.create((SystemLog)getDomainFactory().getDomainObject(SystemLog.class, eventId));
}