|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object palio.modules.core.Module palio.modules.Allegro
public final class Allegro
jPalio'wy interfejs do Allegro WebAPI.
Moduł jest dostępny po dodaniu do pliku konfiguracyjnego instancji.
Field Summary |
---|
Fields inherited from interface palio.modules.core.CurrentModuleDataKeys |
---|
DESIGNER_ACTIONS_BUFFER, HTML_FORM_BUILDER, HTML_MAP_BUILDER, HTML_MENU_BUILDER, HTML_TOOLTIPS_BUFFER, ITEXT_DOCUMENT, MAIL_MESSAGE, XLS_DOCUMENT, XML_DOCUMENT |
Constructor Summary | |
---|---|
Allegro(palio.Instance instance)
|
Method Summary | |
---|---|
java.lang.Object[] |
addDescToItems(java.lang.String sessionKey,
java.lang.Object[] itemIds,
java.lang.String description)
"This method allows to add some additional description to list of items. |
java.lang.Long |
checkItemIdByFutureItemId(java.lang.String webapiKey,
java.lang.Long futureItemId)
"This method allows to get current item's identifier for auction which was listed as future item. |
java.lang.Long |
checkItemIdByFutureItemId(java.lang.String webapiKey,
java.lang.Long countryId,
java.lang.Long futureItemId)
"This method allows to get current item's identifier for auction which was listed as future item. |
java.util.LinkedList |
getItemsInfo(java.lang.String sessionKey,
java.lang.Object[] itemIds,
java.lang.Boolean getItemsDescription,
java.lang.Boolean getItemsImageUrl)
Wczytuje informacje o przedmiotach (maksymalnie 25 przedmiotów). |
java.lang.Long |
getSystemTime(java.lang.String webapiKey)
Zwraca czas systemowy Allegro. |
java.lang.Long |
getTimeDiff(java.lang.String webapiKey)
Zwraca różnicę czasu systemowego Allegro i czasu lokalnego. |
java.lang.Long |
getUserId(java.lang.Long countryId,
java.lang.String userLogin,
java.lang.String userEmail)
Zwraca ID użytkownika Allegro. |
java.lang.Long |
getUserId(java.lang.String userLogin,
java.lang.String userEmail)
Zwraca ID użytkownika Allegro. |
java.lang.Object[] |
getUserItems(java.lang.Long userId,
java.lang.String webapiKey,
java.lang.Long offset)
Zwraca informacje o przedmiotach użytkownika. |
java.lang.Object[] |
getUserItems(java.lang.Long userId,
java.lang.String webapiKey,
java.lang.Long countryId,
java.lang.Long offset)
Zwraca informacje o przedmiotach użytkownika. |
java.lang.String |
getUserLogin(java.lang.Long userId)
Zwraca login użytkownika Allegro. |
java.lang.String |
getUserLogin(java.lang.Long countryId,
java.lang.Long userId)
Zwraca login użytkownika Allegro. |
java.lang.String |
getVersion()
Returns the module version |
java.lang.String |
login(java.lang.String userLogin,
java.lang.String userPassword,
java.lang.String webapiKey)
Tworzy sesję w serwisie Allegro. |
java.util.Map |
showItemInfo(java.lang.String sessionKey,
java.lang.Long itemId,
java.lang.Boolean getItemDescription,
java.lang.Boolean getItemImageUrl)
Wczytuje informacje o przedmiocie. |
Methods inherited from class palio.modules.core.Module |
---|
getConfigParam, getDescription, getModuleTranslation |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Allegro(palio.Instance instance)
Method Detail |
---|
public java.lang.String getVersion()
palio.modules.core.Module
getVersion
in class palio.modules.core.Module
public java.lang.String login(java.lang.String userLogin, java.lang.String userPassword, java.lang.String webapiKey) throws ServiceException, java.rmi.RemoteException
userLogin
- login użytkownika AllegrouserPassword
- hasło użytkownikawebapiKey
- klucz WebAPI
ServiceException
java.rmi.RemoteException
public java.lang.Long getSystemTime(java.lang.String webapiKey) throws ServiceException, java.rmi.RemoteException
webapiKey
- klucz WebAPI
ServiceException
java.rmi.RemoteException
public java.lang.Long getTimeDiff(java.lang.String webapiKey) throws ServiceException, java.rmi.RemoteException
webapiKey
- klucz WebAPI
ServiceException
java.rmi.RemoteException
public java.lang.Long getUserId(java.lang.String userLogin, java.lang.String userEmail) throws ServiceException, java.rmi.RemoteException
userLogin
- login użytkownikauserEmail
- email użytkownika
ServiceException
java.rmi.RemoteException
public java.lang.Long getUserId(java.lang.Long countryId, java.lang.String userLogin, java.lang.String userEmail) throws ServiceException, java.rmi.RemoteException
countryId
- ID krajuuserLogin
- login użytkownikauserEmail
- email użytkownika
ServiceException
java.rmi.RemoteException
public java.lang.String getUserLogin(java.lang.Long userId) throws ServiceException, java.rmi.RemoteException
userId
- ID użytkownika
ServiceException
java.rmi.RemoteException
public java.lang.String getUserLogin(java.lang.Long countryId, java.lang.Long userId) throws ServiceException, java.rmi.RemoteException
countryId
- ID krajuuserId
- ID użytkownika
ServiceException
java.rmi.RemoteException
public java.util.LinkedList getItemsInfo(java.lang.String sessionKey, java.lang.Object[] itemIds, java.lang.Boolean getItemsDescription, java.lang.Boolean getItemsImageUrl) throws ServiceException, java.rmi.RemoteException
sessionKey
- klucz sesjiitemIds
- identyfikatory przedmiotówgetItemsDescription
- czy wczytywać opisy przedmiotówgetItemsImageUrl
- czy pobierać URLe do obrazków
ServiceException
java.rmi.RemoteException
public java.util.Map showItemInfo(java.lang.String sessionKey, java.lang.Long itemId, java.lang.Boolean getItemDescription, java.lang.Boolean getItemImageUrl) throws ServiceException, java.rmi.RemoteException
sessionKey
- klucz sesjiitemId
- identyfikator przedmiotugetItemDescription
- czy wczytać opis przedmiotugetItemImageUrl
- czy pobrać URLe do obrazków
ServiceException
java.rmi.RemoteException
public java.lang.Object[] getUserItems(java.lang.Long userId, java.lang.String webapiKey, java.lang.Long offset) throws ServiceException, java.rmi.RemoteException
userId
- ID użytkownikawebapiKey
- klucz WebAPIoffset
- kolejna paczka wyników (0, 1, 2...)
ServiceException
java.rmi.RemoteException
public java.lang.Object[] getUserItems(java.lang.Long userId, java.lang.String webapiKey, java.lang.Long countryId, java.lang.Long offset) throws ServiceException, java.rmi.RemoteException
userId
- ID użytkownikawebapiKey
- klucz WebAPI (Twój)countryId
- ID krajuoffset
- kolejna paczka wyników (0, 1, 2...)
ServiceException
java.rmi.RemoteException
public java.lang.Object[] addDescToItems(java.lang.String sessionKey, java.lang.Object[] itemIds, java.lang.String description) throws ServiceException, java.rmi.RemoteException
itemIds
array is 25 items."
ServiceException
java.rmi.RemoteException
public java.lang.Long checkItemIdByFutureItemId(java.lang.String webapiKey, java.lang.Long futureItemId) throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
public java.lang.Long checkItemIdByFutureItemId(java.lang.String webapiKey, java.lang.Long countryId, java.lang.Long futureItemId) throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |