本文整理了Java中org.sakaiproject.event.api.Event.getLrsStatement()
方法的一些代码示例,展示了Event.getLrsStatement()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Event.getLrsStatement()
方法的具体详情如下:
包路径:org.sakaiproject.event.api.Event
类名称: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());
}
内容来源于网络,如有侵权,请联系作者删除!