LMS

Welcome to the Lobeo Module Server project. Please feel free to submit bugs related to it.
Tasklist

FS#661 - [DS] Add events watching on the datasource changes

Attached to Project: LMS
Opened by Ferdinand (PaGaisu) - Friday, 06 September 2013, 13:33 GMT
Last edited by Ferdinand (PaGaisu) - Monday, 23 September 2013, 11:29 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Ferdinand (PaGaisu)
Operating System All
Severity Low
Priority Normal
Reported Version alpha6
Due in Version alpha7
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Add events watching on the datasource changes
This task depends upon

Closed by  Ferdinand (PaGaisu)
Monday, 23 September 2013, 11:29 GMT
Reason for closing:  Implemented
Comment by Ferdinand (PaGaisu) - Monday, 23 September 2013, 11:26 GMT
In com.lobeo.lms.core.service.DataSourceService:

/** event raised when a datasource has been created */
public static final String EVENT_DATASOURCE_CREATED = "com/lobeo/lms/datasource/CREATED";
/** event raised when a datasource has been deleted */
public static final String EVENT_DATASOURCE_DELETED = "com/lobeo/lms/datasource/DELETED";

/** event raised when a datasource resource has been created */
public static final String EVENT_DATASOURCE_RESOURCE_CREATED= "com/lobeo/lms/datasource/resource/CREATED";
/** event raised when a datasource resource has been deleted */
public static final String EVENT_DATASOURCE_RESOURCE_DELETED= "com/lobeo/lms/datasource/resource/DELETED";
/** event raised when a datasource resource has been changed */
public static final String EVENT_DATASOURCE_RESOURCE_CHANGED= "com/lobeo/lms/datasource/resource/CHANGED";


Event properties:
datasource.name
datasource.resource
if(resource){
datasource.resource.url
datasource.resource.name
datasource.resource.type
}



Loading...