|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.phraseanet.service.PhraseanetService
public final class PhraseanetService
PhraseanetService
Method Summary | |
---|---|
static java.util.List<Collection> |
getColletions(int nDataboxId)
Get all collections of databox |
static java.util.List<Databox> |
getDataboxes()
Get databoxes |
static Embed |
getEmbed(int nDataboxId,
int nRecordId)
Get embed data of a record |
static java.util.List<java.lang.String> |
getItemsPerPageValues()
Gets items per page values |
static java.util.List<java.lang.String> |
getMediaTypeValues()
Get media types values |
static Record |
getRecord(int nDataboxId,
int nRecordId)
Gets a record |
static java.util.List<Metadata> |
getRecordMetadatas(int nDataboxId,
int nRecordId)
Get metadatas for a given record |
static SearchResults |
search(java.lang.String strQuery,
int nPage,
int nPerPage,
SearchCriterias criterias)
Searc results |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Record getRecord(int nDataboxId, int nRecordId) throws PhraseanetApiCallException
nDataboxId
- The databox idnRecordId
- The record id
PhraseanetApiCallException
- if an error occurspublic static java.util.List<Metadata> getRecordMetadatas(int nDataboxId, int nRecordId) throws PhraseanetApiCallException
nDataboxId
- The databox idnRecordId
- The record id
PhraseanetApiCallException
- if an error occurspublic static SearchResults search(java.lang.String strQuery, int nPage, int nPerPage, SearchCriterias criterias) throws PhraseanetApiCallException
strQuery
- Query termsnPage
- Page numbernPerPage
- Number of items per pagecriterias
- Criterias
PhraseanetApiCallException
- if an error occurspublic static java.util.List<Databox> getDataboxes() throws PhraseanetApiCallException
PhraseanetApiCallException
- if an error occurspublic static java.util.List<Collection> getColletions(int nDataboxId) throws PhraseanetApiCallException
nDataboxId
- The databox id
PhraseanetApiCallException
- if an error occurspublic static Embed getEmbed(int nDataboxId, int nRecordId) throws PhraseanetApiCallException
nDataboxId
- The databox idnRecordId
- The record id
PhraseanetApiCallException
- if an error occurspublic static java.util.List<java.lang.String> getItemsPerPageValues()
public static java.util.List<java.lang.String> getMediaTypeValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |