Revision 769e0ecb src/gr/ebs/gss/server/ejb/ExternalAPI.java
b/src/gr/ebs/gss/server/ejb/ExternalAPI.java | ||
---|---|---|
24 | 24 |
import gr.ebs.gss.client.exceptions.InvitationUsedException; |
25 | 25 |
import gr.ebs.gss.client.exceptions.ObjectNotFoundException; |
26 | 26 |
import gr.ebs.gss.client.exceptions.QuotaExceededException; |
27 |
import gr.ebs.gss.server.domain.FileHeader; |
|
27 | 28 |
import gr.ebs.gss.server.domain.FileUploadStatus; |
28 | 29 |
import gr.ebs.gss.server.domain.Invitation; |
29 | 30 |
import gr.ebs.gss.server.domain.Nonce; |
... | ... | |
40 | 41 |
import java.io.File; |
41 | 42 |
import java.io.IOException; |
42 | 43 |
import java.io.InputStream; |
43 |
import java.net.MalformedURLException; |
|
44 | 44 |
import java.util.Date; |
45 | 45 |
import java.util.List; |
46 | 46 |
import java.util.Set; |
... | ... | |
49 | 49 |
import javax.ejb.TransactionAttribute; |
50 | 50 |
import javax.ejb.TransactionAttributeType; |
51 | 51 |
|
52 |
import org.apache.commons.configuration.Configuration; |
|
53 |
import org.apache.solr.client.solrj.SolrServerException; |
|
54 | 52 |
import org.apache.solr.client.solrj.impl.CommonsHttpSolrServer; |
55 | 53 |
|
56 | 54 |
/** |
... | ... | |
993 | 991 |
* @return list of files that match query |
994 | 992 |
* @throws ObjectNotFoundException if no user or query was specified |
995 | 993 |
*/ |
996 |
public List<FileHeaderDTO> searchFiles(Long userId, String query) throws ObjectNotFoundException;
|
|
994 |
public List<FileHeader> searchFiles(Long userId, String query) throws ObjectNotFoundException; |
|
997 | 995 |
|
998 | 996 |
/** |
999 | 997 |
* Creates a nonce for the specified user. |
Also available in: Unified diff