Revision 6129
Added by ben leinfelder over 13 years ago
src/edu/ucsb/nceas/metacat/dataone/CNCoreImpl.java | ||
---|---|---|
22 | 22 |
*/ |
23 | 23 |
package edu.ucsb.nceas.metacat.dataone; |
24 | 24 |
|
25 |
import java.io.InputStream; |
|
25 | 26 |
import java.util.Date; |
26 | 27 |
|
27 | 28 |
import org.apache.log4j.Logger; |
28 | 29 |
import org.dataone.service.cn.CNCore; |
30 |
import org.dataone.service.exceptions.IdentifierNotUnique; |
|
29 | 31 |
import org.dataone.service.exceptions.InsufficientResources; |
30 | 32 |
import org.dataone.service.exceptions.InvalidRequest; |
33 |
import org.dataone.service.exceptions.InvalidSystemMetadata; |
|
31 | 34 |
import org.dataone.service.exceptions.InvalidToken; |
32 | 35 |
import org.dataone.service.exceptions.NotAuthorized; |
33 | 36 |
import org.dataone.service.exceptions.NotFound; |
34 | 37 |
import org.dataone.service.exceptions.NotImplemented; |
35 | 38 |
import org.dataone.service.exceptions.ServiceFailure; |
39 |
import org.dataone.service.exceptions.UnsupportedType; |
|
36 | 40 |
import org.dataone.service.types.Event; |
37 | 41 |
import org.dataone.service.types.Identifier; |
38 | 42 |
import org.dataone.service.types.Log; |
... | ... | |
158 | 162 |
return null; |
159 | 163 |
} |
160 | 164 |
|
165 |
@Override |
|
166 |
public Identifier create(Session arg0, Identifier arg1, InputStream arg2, |
|
167 |
SystemMetadata arg3) throws InvalidToken, ServiceFailure, |
|
168 |
NotAuthorized, IdentifierNotUnique, UnsupportedType, |
|
169 |
InsufficientResources, InvalidSystemMetadata, NotImplemented, |
|
170 |
InvalidRequest { |
|
171 |
// TODO Auto-generated method stub |
|
172 |
return null; |
|
173 |
} |
|
174 |
|
|
175 |
@Override |
|
176 |
public Identifier reserveIdentifier(Session arg0, Identifier arg1, |
|
177 |
String arg2, String arg3) throws InvalidToken, ServiceFailure, |
|
178 |
NotAuthorized, IdentifierNotUnique, NotImplemented, InvalidRequest { |
|
179 |
// TODO Auto-generated method stub |
|
180 |
return null; |
|
181 |
} |
|
182 |
|
|
161 | 183 |
} |
162 | 184 |
|
Also available in: Unified diff
include create() and reserveIdentifier() methods