Revision d2127957 src/gr/ebs/gss/server/ejb/ExternalAPI.java
b/src/gr/ebs/gss/server/ejb/ExternalAPI.java | ||
---|---|---|
26 | 26 |
import gr.ebs.gss.client.exceptions.QuotaExceededException; |
27 | 27 |
import gr.ebs.gss.server.domain.FileHeader; |
28 | 28 |
import gr.ebs.gss.server.domain.FileUploadStatus; |
29 |
import gr.ebs.gss.server.domain.GssLock; |
|
29 | 30 |
import gr.ebs.gss.server.domain.Invitation; |
30 | 31 |
import gr.ebs.gss.server.domain.Nonce; |
31 | 32 |
import gr.ebs.gss.server.domain.User; |
... | ... | |
1245 | 1246 |
* @return |
1246 | 1247 |
*/ |
1247 | 1248 |
UserDTO getUserByUserName(String username); |
1249 |
|
|
1250 |
/** |
|
1251 |
* @param lock |
|
1252 |
* @return |
|
1253 |
*/ |
|
1254 |
GssLock saveOrUpdateLock(GssLock lock); |
|
1255 |
|
|
1256 |
/** |
|
1257 |
* @param lock |
|
1258 |
*/ |
|
1259 |
void removeLock(GssLock lock); |
|
1260 |
|
|
1261 |
/** |
|
1262 |
* @param tokenId |
|
1263 |
* @return |
|
1264 |
*/ |
|
1265 |
GssLock getLockByToken(String tokenId); |
|
1266 |
|
|
1267 |
/** |
|
1268 |
* @param id |
|
1269 |
* @return |
|
1270 |
*/ |
|
1271 |
GssLock getLockById(String id); |
|
1272 |
|
|
1273 |
/** |
|
1274 |
* @param userId |
|
1275 |
* @param folderId |
|
1276 |
* @param name |
|
1277 |
* @return |
|
1278 |
* @throws DuplicateNameException |
|
1279 |
* @throws ObjectNotFoundException |
|
1280 |
* @throws GSSIOException |
|
1281 |
* @throws InsufficientPermissionsException |
|
1282 |
* @throws QuotaExceededException |
|
1283 |
*/ |
|
1284 |
FileHeaderDTO createEmptyFile(Long userId, Long folderId, String name) throws DuplicateNameException, ObjectNotFoundException, GSSIOException, InsufficientPermissionsException, QuotaExceededException; |
|
1248 | 1285 |
|
1249 | 1286 |
|
1250 | 1287 |
|
Also available in: Unified diff