Revision 6127
Added by ben leinfelder over 13 years ago
src/edu/ucsb/nceas/metacat/dataone/CNCoreImpl.java | ||
---|---|---|
23 | 23 |
package edu.ucsb.nceas.metacat.dataone; |
24 | 24 |
|
25 | 25 |
import java.util.Date; |
26 |
import java.util.Hashtable; |
|
27 |
import java.util.Timer; |
|
28 | 26 |
|
29 | 27 |
import org.apache.log4j.Logger; |
30 | 28 |
import org.dataone.service.cn.CNCore; |
31 |
import org.dataone.service.exceptions.IdentifierNotUnique; |
|
32 | 29 |
import org.dataone.service.exceptions.InsufficientResources; |
33 | 30 |
import org.dataone.service.exceptions.InvalidRequest; |
34 |
import org.dataone.service.exceptions.InvalidSystemMetadata; |
|
35 | 31 |
import org.dataone.service.exceptions.InvalidToken; |
36 | 32 |
import org.dataone.service.exceptions.NotAuthorized; |
37 | 33 |
import org.dataone.service.exceptions.NotFound; |
38 | 34 |
import org.dataone.service.exceptions.NotImplemented; |
39 | 35 |
import org.dataone.service.exceptions.ServiceFailure; |
40 |
import org.dataone.service.exceptions.UnsupportedType; |
|
41 | 36 |
import org.dataone.service.types.Event; |
42 | 37 |
import org.dataone.service.types.Identifier; |
43 | 38 |
import org.dataone.service.types.Log; |
... | ... | |
47 | 42 |
import org.dataone.service.types.ObjectFormatList; |
48 | 43 |
import org.dataone.service.types.Session; |
49 | 44 |
import org.dataone.service.types.SystemMetadata; |
50 |
import org.joda.time.DateTime; |
|
51 | 45 |
|
52 | 46 |
import edu.ucsb.nceas.metacat.EventLog; |
53 | 47 |
import edu.ucsb.nceas.metacat.IdentifierManager; |
... | ... | |
136 | 130 |
|
137 | 131 |
|
138 | 132 |
@Override |
139 |
public Log getLogRecords(Session arg0, DateTime arg1, DateTime arg2,
|
|
133 |
public Log getLogRecords(Session arg0, Date arg1, Date arg2,
|
|
140 | 134 |
Event arg3) throws InvalidToken, InvalidRequest, ServiceFailure, |
141 | 135 |
NotAuthorized, NotImplemented { |
142 | 136 |
// TODO Auto-generated method stub |
Also available in: Unified diff
use Date not joda's DateTime