|
||||||||||
| 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,
Account account)
Get all collections of databox |
static java.util.List<Metadata> |
getDataboxeMetadatas(int nDataboxId,
Account account)
Get metadatas for a given databoxe |
static java.util.List<Databox> |
getDataboxes(Account account)
Get databoxes |
static Embed |
getEmbed(int nDataboxId,
int nRecordId,
Account account)
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,
Account account)
Gets a record |
static java.util.List<Metadata> |
getRecordMetadatas(int nDataboxId,
int nRecordId,
Account account)
Get metadatas for a given record |
static SearchResults |
search(java.lang.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 occurs
public static java.util.List<Metadata> getDataboxeMetadatas(int nDataboxId,
Account account)
throws PhraseanetApiCallException
nDataboxId - The databox idaccount - the user phraseanet account
PhraseanetApiCallException - if an error occurs
public static java.util.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 occurs
public static SearchResults search(java.lang.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 occurs
public static java.util.List<Databox> getDataboxes(Account account)
throws PhraseanetApiCallException
account - the user phraseanet account
PhraseanetApiCallException - if an error occurs
public static java.util.List<Collection> getColletions(int nDataboxId,
Account account)
throws PhraseanetApiCallException
nDataboxId - The databox idaccount - the user phraseanet account
PhraseanetApiCallException - if an error occurs
public 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 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 | |||||||||