Revision d114cfe2 src/gr/ebs/gss/server/ejb/ExternalAPIRemote.java
b/src/gr/ebs/gss/server/ejb/ExternalAPIRemote.java | ||
---|---|---|
31 | 31 |
import gr.ebs.gss.server.domain.dto.UserDTO; |
32 | 32 |
|
33 | 33 |
import java.io.InputStream; |
34 |
import java.util.Date; |
|
34 | 35 |
import java.util.List; |
35 | 36 |
import java.util.Set; |
36 | 37 |
|
... | ... | |
289 | 290 |
public Set<String> getUserTags(final Long userId) throws ObjectNotFoundException; |
290 | 291 |
|
291 | 292 |
/** |
292 |
* Updates name and tags for the specified file
|
|
293 |
* Updates the attributes of the specified file.
|
|
293 | 294 |
* |
294 | 295 |
* @param userId |
295 | 296 |
* @param fileId |
296 | 297 |
* @param name |
297 | 298 |
* @param tagSet a String that contains tags separated by comma |
299 |
* @param modificationDate the modification date |
|
298 | 300 |
* @throws ObjectNotFoundException |
299 | 301 |
* @throws InsufficientPermissionsException |
300 | 302 |
*/ |
301 |
public void updateFile(Long userId, Long fileId, String name, String tagSet) throws ObjectNotFoundException, InsufficientPermissionsException; |
|
303 |
public void updateFile(Long userId, Long fileId, String name, String tagSet, Date modificationDate) |
|
304 |
throws ObjectNotFoundException, InsufficientPermissionsException; |
|
302 | 305 |
|
303 | 306 |
/** |
304 | 307 |
* Retrieve the contents of the current body for the file |
Also available in: Unified diff