|
||||||||||
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 List<Collection> |
getColletions(int nDataboxId,
Account account)
Get all collections of databox |
static List<Metadata> |
getDataboxeMetadatas(int nDataboxId,
Account account)
Get metadatas for a given databoxe |
static List<Databox> |
getDataboxes(Account account)
Get databoxes |
static Embed |
getEmbed(int nDataboxId,
int nRecordId,
Account account)
Get embed data of a record |
static List<String> |
getItemsPerPageValues()
Gets items per page values |
static List<String> |
getMediaTypeValues()
Get media types values |
static Record |
getRecord(int nDataboxId,
int nRecordId,
Account account)
Gets a record |
static List<Metadata> |
getRecordMetadatas(int nDataboxId,
int nRecordId,
Account account)
Get metadatas for a given record |
static SearchResults |
search(String strQuery,
int nPage,
int nPerPage,
SearchCriterias criterias,
Account account)
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, Account account) throws PhraseanetApiCallException
nDataboxId
- The databox idnRecordId
- The record idaccount
- the user phraseanet account
PhraseanetApiCallException
- if an error occurspublic static List<Metadata> getDataboxeMetadatas(int nDataboxId, Account account) throws PhraseanetApiCallException
nDataboxId
- The databox idaccount
- the user phraseanet account
PhraseanetApiCallException
- if an error occurspublic static List<Metadata> getRecordMetadatas(int nDataboxId, int nRecordId, Account account) throws PhraseanetApiCallException
nDataboxId
- The databox idnRecordId
- The record idaccount
- the user phraseanet account
PhraseanetApiCallException
- if an error occurspublic static SearchResults search(String strQuery, int nPage, int nPerPage, SearchCriterias criterias, Account account) throws PhraseanetApiCallException
strQuery
- Query termsnPage
- Page numbernPerPage
- Number of items per pagecriterias
- Criteriasaccount
- the user phraseanet account
PhraseanetApiCallException
- if an error occurspublic static List<Databox> getDataboxes(Account account) throws PhraseanetApiCallException
account
- the user phraseanet account
PhraseanetApiCallException
- if an error occurspublic static List<Collection> getColletions(int nDataboxId, Account account) throws PhraseanetApiCallException
nDataboxId
- The databox idaccount
- the user phraseanet account
PhraseanetApiCallException
- if an error occurspublic static Embed getEmbed(int nDataboxId, int nRecordId, Account account) throws PhraseanetApiCallException
nDataboxId
- The databox idnRecordId
- The record idaccount
- the user phraseanet account
PhraseanetApiCallException
- if an error occurspublic static List<String> getItemsPerPageValues()
public static List<String> getMediaTypeValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |