org.sakaiproject.event.api.Event.getLrsStatement()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(114)

本文整理了Java中org.sakaiproject.event.api.Event.getLrsStatement()方法的一些代码示例,展示了Event.getLrsStatement()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Event.getLrsStatement()方法的具体详情如下:
包路径:org.sakaiproject.event.api.Event
类名称:Event
方法名:getLrsStatement

Event.getLrsStatement介绍

[英]Access the LRSStatement.
[中]访问LRS报表。

代码示例

代码示例来源:origin: org.sakaiproject.kernel/sakai-kernel-impl

LRS_Object object=null;
LRS_Result result = null;
if (event.getLrsStatement() != null) {
  statement =  event.getLrsStatement();

代码示例来源:origin: sakaiproject/sakai

/**
 * Constructor
 * 
 * Converts an Event object into a SimpleEvent object
 * in order to be serializable for distribution
 * 
 * @param event the event object
 * @param serverId the server id this event originated from
 */
public SimpleEvent(Event event, String serverId) {
  if (event == null) {
    throw new IllegalArgumentException("The SimpleEvent event cannot be null.");
  }
  if (serverId == null) {
    throw new IllegalArgumentException("The SimpleEvent serverId cannot be null.");
  }
  setEvent(event.getEvent());
  setResource(event.getResource());
  setSessionId(event.getSessionId());
  setUserId(event.getUserId());
  setContext(event.getContext());
  setModify(event.getModify());
  setPriority(event.getPriority());
  setEventTime(event.getEventTime());
  setServerId(serverId);
  setLRSStatement(event.getLrsStatement());
}

代码示例来源:origin: org.sakaiproject.kernel/sakai-kernel-api

/**
 * Constructor
 * 
 * Converts an Event object into a SimpleEvent object
 * in order to be serializable for distribution
 * 
 * @param event the event object
 * @param serverId the server id this event originated from
 */
public SimpleEvent(Event event, String serverId) {
  if (event == null) {
    throw new IllegalArgumentException("The SimpleEvent event cannot be null.");
  }
  if (serverId == null) {
    throw new IllegalArgumentException("The SimpleEvent serverId cannot be null.");
  }
  setEvent(event.getEvent());
  setResource(event.getResource());
  setSessionId(event.getSessionId());
  setUserId(event.getUserId());
  setContext(event.getContext());
  setModify(event.getModify());
  setPriority(event.getPriority());
  setEventTime(event.getEventTime());
  setServerId(serverId);
  setLRSStatement(event.getLrsStatement());
}

相关文章