Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

AbstractParser<T extends Result> - Class in net.nowtryz.cafetapi.parsers
 
AbstractParser() - Constructor for class net.nowtryz.cafetapi.parsers.AbstractParser
 
addChoice(String, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
addFormula(String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
addFormula(String, double, boolean) - Method in class net.nowtryz.cafetapi.CafetAPI
 
addProduct(String, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
addProduct(String, int, double, boolean) - Method in class net.nowtryz.cafetapi.CafetAPI
 
addProduct(Product) - Method in class net.nowtryz.cafetapi.datas.Choice
 
addProductGroup(String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
addProductToChoice(int, int...) - Method in class net.nowtryz.cafetapi.CafetAPI
 
APIException - Exception in net.nowtryz.cafetapi.exceptions
 
APIException(String) - Constructor for exception net.nowtryz.cafetapi.exceptions.APIException
 
APIException(String, Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.APIException
 
APIException(Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.APIException
 
ApiHeaders - Class in net.nowtryz.cafetapi.http
 
ArrayParser<T extends CafetData> - Class in net.nowtryz.cafetapi.parsers
 
ArrayParser(Class<T>, Class<T[]>) - Constructor for class net.nowtryz.cafetapi.parsers.ArrayParser
 
ArrayResult<T extends CafetData> - Class in net.nowtryz.cafetapi.results
 
ArrayResult(Status, float, T[]) - Constructor for class net.nowtryz.cafetapi.results.ArrayResult
 
asyncAddChoice(AsyncHandler.AsyncDataHandler<Choice>, String, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncAddFormula(AsyncHandler.AsyncDataHandler<Formula>, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncAddProduct(AsyncHandler.AsyncDataHandler<Product>, String, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncAddProductGroup(AsyncHandler.AsyncDataHandler<ProductGroup>, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncAddProductToChoice(AsyncHandler.AsyncSuccessHandler, int, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetChoice(AsyncHandler.AsyncDataHandler<Choice>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetClient(AsyncHandler.AsyncDataHandler<Client>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetClientExpenses(AsyncHandler.AsyncArrayHandler<Expense>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetClientReloads(AsyncHandler.AsyncArrayHandler<Reload>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetClients(AsyncHandler.AsyncArrayHandler<Client>) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetExpenseDetails(AsyncHandler.AsyncArrayHandler<ExpenseDetail>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetFormula(AsyncHandler.AsyncDataHandler<Formula>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetFormulaBought(AsyncHandler.AsyncDataHandler<FormulaBought>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetFormulaChoices(AsyncHandler.AsyncArrayHandler<Choice>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetFormulas(AsyncHandler.AsyncArrayHandler<Formula>, boolean) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetFormumaBoughtProducts(AsyncHandler.AsyncArrayHandler<ProductBought>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetGroupProducts(AsyncHandler.AsyncArrayHandler<Product>, int, boolean) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetProduct(AsyncHandler.AsyncDataHandler<Product>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetProductBought(AsyncHandler.AsyncDataHandler<ProductBought>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetProductGroup(AsyncHandler.AsyncDataHandler<ProductGroup>, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncGetProductGroups(AsyncHandler.AsyncArrayHandler<ProductGroup>) - Method in class net.nowtryz.cafetapi.CafetAPI
 
AsyncHandler - Interface in net.nowtryz.cafetapi
 
AsyncHandler.AsyncArrayHandler<T extends CafetData> - Interface in net.nowtryz.cafetapi
 
AsyncHandler.AsyncDataHandler<T extends CafetData> - Interface in net.nowtryz.cafetapi
 
AsyncHandler.AsyncLoginHandler - Interface in net.nowtryz.cafetapi
 
AsyncHandler.AsyncResultHandler<S extends Result> - Interface in net.nowtryz.cafetapi
 
AsyncHandler.AsyncSuccessHandler - Interface in net.nowtryz.cafetapi
 
asyncLogin(AsyncHandler.AsyncLoginHandler, String, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncRemoveFormula(AsyncHandler.AsyncSuccessHandler, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncRemoveFormulaChoice(AsyncHandler.AsyncSuccessHandler, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncRemoveProduct(AsyncHandler.AsyncSuccessHandler, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncRemoveProductFromChoice(AsyncHandler.AsyncSuccessHandler, int, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncRemoveProductGroup(AsyncHandler.AsyncSuccessHandler, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSaveOrder(AsyncHandler.AsyncSuccessHandler, int, Map<Product, Integer>, Map<OrderBuilder.FormulaBuilder, Product[]>) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSaveReload(AsyncHandler.AsyncSuccessHandler, int, float) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSearchClient(AsyncHandler.AsyncArrayHandler<Client>, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetChoiceName(AsyncHandler.AsyncSuccessHandler, int, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetFormulaImage(AsyncHandler.AsyncSuccessHandler, int, Image, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetFormulaName(AsyncHandler.AsyncSuccessHandler, int, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetFormulaPrice(AsyncHandler.AsyncSuccessHandler, int, float) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetFormulaVisibility(AsyncHandler.AsyncSuccessHandler, int, boolean) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetProductGroup(AsyncHandler.AsyncSuccessHandler, int, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetProductGroupDisplayName(AsyncHandler.AsyncSuccessHandler, int, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetProductGroupName(AsyncHandler.AsyncSuccessHandler, int, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetProductImage(AsyncHandler.AsyncSuccessHandler, int, Image, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetProductName(AsyncHandler.AsyncSuccessHandler, int, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetProductPrice(AsyncHandler.AsyncSuccessHandler, int, float) - Method in class net.nowtryz.cafetapi.CafetAPI
 
asyncSetProductVisibility(AsyncHandler.AsyncSuccessHandler, int, boolean) - Method in class net.nowtryz.cafetapi.CafetAPI
 
AuthenticationException - Exception in net.nowtryz.cafetapi.exceptions
 
AuthenticationException(String) - Constructor for exception net.nowtryz.cafetapi.exceptions.AuthenticationException
 
AuthenticationException(String, Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.AuthenticationException
 

B

BannedUserException - Exception in net.nowtryz.cafetapi.exceptions
 
BannedUserException(String) - Constructor for exception net.nowtryz.cafetapi.exceptions.BannedUserException
 
BannedUserException(String, Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.BannedUserException
 
Base64Coder - Class in net.nowtryz.cafetapi.utils
 
Base64Coder() - Constructor for class net.nowtryz.cafetapi.utils.Base64Coder
 
BUILD - Static variable in class net.nowtryz.cafetapi.CafetAPI
 
build() - Method in class net.nowtryz.cafetapi.datas.OrderBuilder.FormulaBuilder
 
buildFormula(Formula) - Method in class net.nowtryz.cafetapi.datas.OrderBuilder
 

C

CafetAPI - Class in net.nowtryz.cafetapi
 
CafetAPI(URL) - Constructor for class net.nowtryz.cafetapi.CafetAPI
 
CafetData - Class in net.nowtryz.cafetapi.datas
 
CafetData() - Constructor for class net.nowtryz.cafetapi.datas.CafetData
 
CalendarDeserializer - Class in net.nowtryz.cafetapi.deserializers
 
CalendarDeserializer() - Constructor for class net.nowtryz.cafetapi.deserializers.CalendarDeserializer
 
capitalizeFirstLetter(String) - Static method in class net.nowtryz.cafetapi.utils.WordUtils
 
checkPermission(String, Permissible) - Static method in enum net.nowtryz.cafetapi.user.Permissions
 
Choice - Class in net.nowtryz.cafetapi.datas
 
Choice() - Constructor for class net.nowtryz.cafetapi.datas.Choice
 
Choice(int, String, int, Product[]) - Constructor for class net.nowtryz.cafetapi.datas.Choice
 
CLASS_DECODER - Static variable in class net.nowtryz.cafetapi.parsers.AbstractParser
 
Client - Class in net.nowtryz.cafetapi.datas
The Client object is the wich stores every client information for later use, it's generaly generated by a Data static method (such as Data.getClient(int id))
Client(int, String, String, String, String, boolean, float, int) - Constructor for class net.nowtryz.cafetapi.datas.Client
The Client object is the one that stores every client information for later use, it's generaly generated by a Data static method (such as Data.getClient(int id))
Client() - Constructor for class net.nowtryz.cafetapi.datas.Client
The Client object is the wich stores every client information for later use, it's generaly generated by a Data static method (such as Data.getClient(int id))
client - Variable in class net.nowtryz.cafetapi.datas.ExpenseDetail
 
ContentTypeException - Exception in net.nowtryz.cafetapi.exceptions
 
ContentTypeException(String, HTTPResponse) - Constructor for exception net.nowtryz.cafetapi.exceptions.ContentTypeException
 
createNewChoice(String) - Method in class net.nowtryz.cafetapi.datas.Formula
 

D

DataParser<S extends CafetData> - Class in net.nowtryz.cafetapi.parsers
 
DataParser(Class<S>) - Constructor for class net.nowtryz.cafetapi.parsers.DataParser
 
DataResult<T extends CafetData> - Class in net.nowtryz.cafetapi.results
 
DataResult(Status, float, T) - Constructor for class net.nowtryz.cafetapi.results.DataResult
 
date - Variable in class net.nowtryz.cafetapi.datas.ExpenseDetail
 
decodeImage(String) - Static method in class net.nowtryz.cafetapi.utils.Base64Coder
 
DefaultParser - Class in net.nowtryz.cafetapi.parsers
 
DefaultParser() - Constructor for class net.nowtryz.cafetapi.parsers.DefaultParser
 
delete() - Method in class net.nowtryz.cafetapi.datas.Choice
 
delete() - Method in class net.nowtryz.cafetapi.datas.Formula
 
delete() - Method in class net.nowtryz.cafetapi.datas.Payable
 
delete() - Method in class net.nowtryz.cafetapi.datas.Product
Delete this product from the database
delete() - Method in class net.nowtryz.cafetapi.datas.ProductGroup
Delete this group from the database
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.nowtryz.cafetapi.deserializers.CalendarDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.nowtryz.cafetapi.deserializers.ExpenseDetailDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.nowtryz.cafetapi.deserializers.ImageDeserializer
 

E

edit - Variable in class net.nowtryz.cafetapi.datas.Payable
 
encodeImage(Image, String) - Static method in class net.nowtryz.cafetapi.utils.Base64Coder
Convert an image to its base64 equivalent
equals(Object) - Method in class net.nowtryz.cafetapi.datas.Choice
 
equals(Object) - Method in class net.nowtryz.cafetapi.datas.Client
 
equals(Object) - Method in class net.nowtryz.cafetapi.datas.Payable
 
equals(Object) - Method in class net.nowtryz.cafetapi.datas.Product
 
ErrorParser - Class in net.nowtryz.cafetapi.parsers
 
ErrorParser() - Constructor for class net.nowtryz.cafetapi.parsers.ErrorParser
 
ErrorResult - Class in net.nowtryz.cafetapi.results
 
ErrorResult(Status, float, String, String, String, String) - Constructor for class net.nowtryz.cafetapi.results.ErrorResult
 
Expense - Class in net.nowtryz.cafetapi.datas
The Expense object is the one that stores every expense's information for later use, it's generaly generated by the Client's method getExpenses or even directly whith the Data static method getClientExpenses().
Expense(int, int, Calendar, float, float) - Constructor for class net.nowtryz.cafetapi.datas.Expense
The Expense object is the one that stores every expense's information for later use, it's generaly generated by the Client's method getExpenses or even directly whith the Data static method getClientExpenses().
Expense() - Constructor for class net.nowtryz.cafetapi.datas.Expense
The Expense object is the one that stores every expense's information for later use, it's generaly generated by the Client's method getExpenses or even directly whith the Data static method getClientExpenses().
ExpenseDetail - Class in net.nowtryz.cafetapi.datas
ExpenseDetail stores information about a piece of a bill, it can be acquired by the Expense's methode getDetails()
ExpenseDetail(String, int, float, int, Calendar) - Constructor for class net.nowtryz.cafetapi.datas.ExpenseDetail
ExpenseDetail stores information about a piece of a bill, it can be acquired by the Expense's methode getDetails()
ExpenseDetail() - Constructor for class net.nowtryz.cafetapi.datas.ExpenseDetail
The Expense object is the one that stores every expense's information for later use, it's generaly generated by the Client's method getExpenses or even directly whith the Data static method getClientExpenses().
ExpenseDetailDeserializer - Class in net.nowtryz.cafetapi.deserializers
 
ExpenseDetailDeserializer() - Constructor for class net.nowtryz.cafetapi.deserializers.ExpenseDetailDeserializer
 

F

FailedAuthenticationException - Exception in net.nowtryz.cafetapi.exceptions
 
FailedAuthenticationException(String) - Constructor for exception net.nowtryz.cafetapi.exceptions.FailedAuthenticationException
 
FailedAuthenticationException(String, Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.FailedAuthenticationException
 
Formula - Class in net.nowtryz.cafetapi.datas
 
Formula() - Constructor for class net.nowtryz.cafetapi.datas.Formula
 
Formula(int, String, Image, float, boolean, Calendar) - Constructor for class net.nowtryz.cafetapi.datas.Formula
 
FormulaBought - Class in net.nowtryz.cafetapi.datas
 
FormulaBought(int, int, String, int, float, int, Calendar) - Constructor for class net.nowtryz.cafetapi.datas.FormulaBought
 
FormulaBought() - Constructor for class net.nowtryz.cafetapi.datas.FormulaBought
 

G

get(String) - Static method in class net.nowtryz.cafetapi.utils.Lang
 
getAdditionalMessage() - Method in class net.nowtryz.cafetapi.results.ErrorResult
Returns the additional_message of the ErrorResult
getAlias() - Method in class net.nowtryz.cafetapi.datas.Client
Return the alias
getAllProducts() - Method in class net.nowtryz.cafetapi.datas.ProductGroup
Return products of this group included unviewable ones
getAmount() - Method in class net.nowtryz.cafetapi.datas.Reload
Return the amount
getBalance() - Method in class net.nowtryz.cafetapi.datas.Client
Return the balance
getBalanceAfterTransaction() - Method in class net.nowtryz.cafetapi.datas.Expense
Return the balance after the transaction
getBalanceAfterTransaction() - Method in class net.nowtryz.cafetapi.datas.Reload
Return the balanceAfterTransaction
getChoice(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getChoices() - Method in class net.nowtryz.cafetapi.datas.Formula
Return the choices
getChoices() - Method in class net.nowtryz.cafetapi.datas.OrderBuilder.FormulaBuilder
 
getClassDecoder() - Method in class net.nowtryz.cafetapi.parsers.AbstractParser
 
getClient(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getClient() - Method in class net.nowtryz.cafetapi.datas.Expense
Return the client who has spent money
getClient() - Method in class net.nowtryz.cafetapi.datas.ExpenseDetail
Return the client
getClient() - Method in class net.nowtryz.cafetapi.datas.Reload
Return the client
getClientExpenses(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getClientReloads(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getClients() - Method in class net.nowtryz.cafetapi.CafetAPI
 
getCode() - Method in exception net.nowtryz.cafetapi.exceptions.HTTPException
 
getCode() - Method in class net.nowtryz.cafetapi.http.HTTPResponse
Returns the code of the HttpManager.HTTPResponse
getComputing(HTTPResponse) - Method in class net.nowtryz.cafetapi.parsers.AbstractParser
 
getComputing() - Method in class net.nowtryz.cafetapi.results.Result
Returns the computing of the Result
getContentEncoding() - Method in class net.nowtryz.cafetapi.http.HTTPResponse
Returns the contentEncoding of the HttpManager.HTTPResponse
getContentLength() - Method in class net.nowtryz.cafetapi.http.HTTPResponse
Returns the contentLength of the HttpManager.HTTPResponse
getData() - Method in class net.nowtryz.cafetapi.results.DataResult
Returns the data of the DataResult
getDatas() - Method in class net.nowtryz.cafetapi.results.ArrayResult
Returns the datas of the ArrayResult
getDate() - Method in class net.nowtryz.cafetapi.datas.Expense
Return the date of the transaction in a Calendar object
getDate() - Method in class net.nowtryz.cafetapi.datas.ExpenseDetail
Return the date of the transaction in a Calendar object
getDate() - Method in class net.nowtryz.cafetapi.datas.Reload
Return the date
getDetails() - Method in class net.nowtryz.cafetapi.datas.Expense
Return the itemized bill
getDetails() - Method in class net.nowtryz.cafetapi.datas.Reload
Return the details
getDisplayName() - Method in class net.nowtryz.cafetapi.datas.ProductGroup
Return the displayName
getEdit() - Method in class net.nowtryz.cafetapi.datas.Payable
Return the edit date in a Calendar object
getEmail() - Method in class net.nowtryz.cafetapi.datas.Client
Return the email
getEmail() - Method in class net.nowtryz.cafetapi.user.User
Returns the email of the User
getErrorCode() - Method in class net.nowtryz.cafetapi.results.ErrorResult
Returns the error_code of the ErrorResult
getErrorMessage() - Method in class net.nowtryz.cafetapi.results.ErrorResult
Returns the error_message of the ErrorResult
getErrorType() - Method in class net.nowtryz.cafetapi.results.ErrorResult
Returns the error_type of the ErrorResult
getExpenseDetails(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getExpenses() - Method in class net.nowtryz.cafetapi.datas.Client
Return a list of latest client's expenses
getFamilyNane() - Method in class net.nowtryz.cafetapi.datas.Client
Return the familynane
getFirstname() - Method in class net.nowtryz.cafetapi.user.User
Returns the firstname of the User
getFormatedName() - Method in class net.nowtryz.cafetapi.datas.Client
Returns the name like Suname NAME
getFormula(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getFormula() - Method in class net.nowtryz.cafetapi.datas.Choice
Return the formula
getFormula() - Method in class net.nowtryz.cafetapi.datas.FormulaBought
Return the formula
getFormula() - Method in class net.nowtryz.cafetapi.datas.OrderBuilder.FormulaBuilder
 
getFormulaBought(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getFormulaChoices(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getFormulas(boolean) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getFormumaBoughtProducts(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getGroup() - Method in class net.nowtryz.cafetapi.datas.Product
Return the group
getGroup() - Method in class net.nowtryz.cafetapi.user.User
Returns the group of the User
getGroupProducts(int, boolean) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getHeaderFields() - Method in class net.nowtryz.cafetapi.http.HTTPResponse
Returns the headerFields of the HttpManager.HTTPResponse
getHeaderFieldsMap() - Method in class net.nowtryz.cafetapi.http.HTTPResponse
Returns the headerFields of the HttpManager.HTTPResponse
getId() - Method in class net.nowtryz.cafetapi.datas.Choice
Return the id
getId() - Method in class net.nowtryz.cafetapi.datas.Client
Return the id
getId() - Method in class net.nowtryz.cafetapi.datas.Expense
Return the id of the expense
getId() - Method in class net.nowtryz.cafetapi.datas.FormulaBought
Return the id
getId() - Method in class net.nowtryz.cafetapi.datas.Payable
Return the id
getId() - Method in class net.nowtryz.cafetapi.datas.ProductGroup
Return the id
getId() - Method in class net.nowtryz.cafetapi.datas.Reload
Return the id
getId() - Method in class net.nowtryz.cafetapi.user.User
Returns the id of the User
getImage() - Method in class net.nowtryz.cafetapi.datas.Payable
Return the image
getInstance() - Static method in class net.nowtryz.cafetapi.CafetAPI
 
getInstance() - Static method in class net.nowtryz.cafetapi.http.HttpManager
 
getMessage() - Method in class net.nowtryz.cafetapi.http.HTTPResponse
Returns the http message of the HttpManager.HTTPResponse
getName() - Method in class net.nowtryz.cafetapi.datas.Choice
Return the name
getName() - Method in class net.nowtryz.cafetapi.datas.ExpenseDetail
Return the name
getName() - Method in class net.nowtryz.cafetapi.datas.Payable
Return the name
getName() - Method in class net.nowtryz.cafetapi.datas.ProductGroup
Return the name
getName() - Method in class net.nowtryz.cafetapi.user.Group
Returns the name of the Group
getName() - Method in class net.nowtryz.cafetapi.user.User
Returns the familyName of the User
getOrder() - Method in class net.nowtryz.cafetapi.datas.OrderBuilder.FormulaBuilder
 
getPermissions() - Method in class net.nowtryz.cafetapi.user.Group
 
getPermissions() - Method in interface net.nowtryz.cafetapi.user.Permissible
Return every permission witch the member is liable from
getPermissions() - Method in class net.nowtryz.cafetapi.user.User
 
getPhone() - Method in class net.nowtryz.cafetapi.user.User
Returns the phone of the User
getPrice() - Method in class net.nowtryz.cafetapi.datas.ExpenseDetail
Return the price
getPrice() - Method in class net.nowtryz.cafetapi.datas.Payable
Return the price
getProduct(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getProduct() - Method in class net.nowtryz.cafetapi.datas.ProductBought
Return the product
getProductBought(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getProductGroup(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
getProductGroups() - Method in class net.nowtryz.cafetapi.CafetAPI
 
getProducts() - Method in class net.nowtryz.cafetapi.datas.Choice
Return the choice
getProducts() - Method in class net.nowtryz.cafetapi.datas.FormulaBought
Return the products
getProducts() - Method in class net.nowtryz.cafetapi.datas.ProductGroup
Return products of this group exept unviewable ones
getPseudo() - Method in class net.nowtryz.cafetapi.user.User
Returns the pseudo of the User
getQuantity() - Method in class net.nowtryz.cafetapi.datas.ExpenseDetail
Return the quantity
getRegistrationYear() - Method in class net.nowtryz.cafetapi.datas.Client
Return the registrationYear
getReloads() - Method in class net.nowtryz.cafetapi.datas.Client
Return a list of latest client's reloads
getResponse() - Method in exception net.nowtryz.cafetapi.exceptions.ContentTypeException
 
getResponse() - Method in exception net.nowtryz.cafetapi.exceptions.HTTPException
 
getResponse() - Method in class net.nowtryz.cafetapi.http.HTTPResponse
Returns the response of the HttpManager.HTTPResponse
getResult() - Method in exception net.nowtryz.cafetapi.exceptions.PermissionException
Returns the result of the PermissionException
getResult() - Method in exception net.nowtryz.cafetapi.exceptions.ServerErrorException
Returns the result of the ServerErrorException
getServerVersion() - Method in class net.nowtryz.cafetapi.CafetAPI
Returns the serverVersion of the CafetAPI
getServerVersion() - Method in class net.nowtryz.cafetapi.results.LoginResult
Deprecated.
getSessionId() - Method in class net.nowtryz.cafetapi.http.HttpManager
 
getSessionId() - Method in class net.nowtryz.cafetapi.results.LoginResult
Returns the sessionId of the LoginResult
getStatus() - Method in class net.nowtryz.cafetapi.results.Result
Returns the status of the Result
getSurname() - Method in class net.nowtryz.cafetapi.datas.Client
Return the firstname
getTotal() - Method in class net.nowtryz.cafetapi.datas.Expense
Return the total price of products the client bought
getUrl() - Method in class net.nowtryz.cafetapi.CafetAPI
Returns the url of the server
getUrl() - Method in class net.nowtryz.cafetapi.http.HttpManager
 
getUser() - Method in class net.nowtryz.cafetapi.CafetAPI
Returns the user of the CafetAPI
getUser() - Method in class net.nowtryz.cafetapi.results.LoginResult
Returns the user of the LoginResult
getVersion() - Static method in class net.nowtryz.cafetapi.CafetAPI
 
Group - Class in net.nowtryz.cafetapi.user
 
Group(String, HashMap<String, Boolean>) - Constructor for class net.nowtryz.cafetapi.user.Group
 
Group() - Constructor for class net.nowtryz.cafetapi.user.Group
 

H

handle(HTTPException) - Static method in class net.nowtryz.cafetapi.ServerExceptionsManager
Handle HTTP error from the server return more explicit exception
handleException(APIException) - Method in interface net.nowtryz.cafetapi.AsyncHandler
 
handleException(IOException) - Method in interface net.nowtryz.cafetapi.AsyncHandler
 
handleResult(S) - Method in interface net.nowtryz.cafetapi.AsyncHandler.AsyncResultHandler
 
hasAdditionalMessage() - Method in class net.nowtryz.cafetapi.results.ErrorResult
 
hashCode() - Method in class net.nowtryz.cafetapi.datas.Choice
 
hashCode() - Method in class net.nowtryz.cafetapi.datas.Client
 
hashCode() - Method in class net.nowtryz.cafetapi.datas.Payable
 
hashCode() - Method in class net.nowtryz.cafetapi.datas.Product
 
hasPermission(String) - Method in interface net.nowtryz.cafetapi.user.Permissible
Return wether the member has the given permission or not
HTTPException - Exception in net.nowtryz.cafetapi.exceptions
 
HTTPException(String, int, HTTPResponse) - Constructor for exception net.nowtryz.cafetapi.exceptions.HTTPException
 
HttpManager - Class in net.nowtryz.cafetapi.http
 
HttpManager.HttpMethod - Enum in net.nowtryz.cafetapi.http
This enumeration represents the HTTP methods supported by the server
HTTPResponse - Class in net.nowtryz.cafetapi.http
 

I

id - Variable in class net.nowtryz.cafetapi.datas.Payable
 
IllegalResultException - Exception in net.nowtryz.cafetapi.exceptions
 
IllegalResultException(String) - Constructor for exception net.nowtryz.cafetapi.exceptions.IllegalResultException
 
IllegalResultException(String, Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.IllegalResultException
 
IllegalStatusException - Exception in net.nowtryz.cafetapi.exceptions
 
IllegalStatusException(String) - Constructor for exception net.nowtryz.cafetapi.exceptions.IllegalStatusException
 
image - Variable in class net.nowtryz.cafetapi.datas.Payable
 
ImageDeserializer - Class in net.nowtryz.cafetapi.deserializers
 
ImageDeserializer() - Constructor for class net.nowtryz.cafetapi.deserializers.ImageDeserializer
 
isMember() - Method in class net.nowtryz.cafetapi.datas.Client
Return the member
isViewable() - Method in class net.nowtryz.cafetapi.datas.Payable
Return the viewable

L

Lang - Class in net.nowtryz.cafetapi.utils
 
login(String, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
LoginParser - Class in net.nowtryz.cafetapi.parsers
 
LoginParser() - Constructor for class net.nowtryz.cafetapi.parsers.LoginParser
 
LoginResult - Class in net.nowtryz.cafetapi.results
 
LoginResult(Status, float, String, User) - Constructor for class net.nowtryz.cafetapi.results.LoginResult
 

M

MissingResultElementException - Exception in net.nowtryz.cafetapi.exceptions
 
MissingResultElementException(String) - Constructor for exception net.nowtryz.cafetapi.exceptions.MissingResultElementException
 

N

NAME - Static variable in class net.nowtryz.cafetapi.CafetAPI
 
name - Variable in class net.nowtryz.cafetapi.datas.ExpenseDetail
 
name - Variable in class net.nowtryz.cafetapi.datas.Payable
 
net.nowtryz.cafetapi - package net.nowtryz.cafetapi
Main package for the Cafet API, the API that connect the application to the server
net.nowtryz.cafetapi.datas - package net.nowtryz.cafetapi.datas
Data managing classes package
net.nowtryz.cafetapi.deserializers - package net.nowtryz.cafetapi.deserializers
 
net.nowtryz.cafetapi.exceptions - package net.nowtryz.cafetapi.exceptions
API exceptions
net.nowtryz.cafetapi.http - package net.nowtryz.cafetapi.http
Fetching data package
net.nowtryz.cafetapi.lang - package net.nowtryz.cafetapi.lang
Languages files
net.nowtryz.cafetapi.parsers - package net.nowtryz.cafetapi.parsers
Parsers collection
net.nowtryz.cafetapi.results - package net.nowtryz.cafetapi.results
Results managing system
net.nowtryz.cafetapi.user - package net.nowtryz.cafetapi.user
User infos and permessions package
net.nowtryz.cafetapi.utils - package net.nowtryz.cafetapi.utils
Static objects package used to manipulate data
newArray(Class<T[]>, int) - Static method in class net.nowtryz.cafetapi.parsers.ArrayParser
 
newInstance(URL) - Static method in class net.nowtryz.cafetapi.http.HttpManager
 

O

OrderBuilder - Class in net.nowtryz.cafetapi.datas
 
OrderBuilder() - Constructor for class net.nowtryz.cafetapi.datas.OrderBuilder
 
OrderBuilder.FormulaBuilder - Class in net.nowtryz.cafetapi.datas
 
orderProduct(Product) - Method in class net.nowtryz.cafetapi.datas.OrderBuilder
 

P

parse(HTTPResponse) - Method in class net.nowtryz.cafetapi.parsers.AbstractParser
 
parse(HTTPResponse) - Method in class net.nowtryz.cafetapi.parsers.ArrayParser
 
parse(HTTPResponse) - Method in class net.nowtryz.cafetapi.parsers.DataParser
 
parse(HTTPResponse) - Method in class net.nowtryz.cafetapi.parsers.DefaultParser
 
parse(HTTPResponse) - Method in class net.nowtryz.cafetapi.parsers.ErrorParser
 
parse(HTTPResponse) - Method in class net.nowtryz.cafetapi.parsers.LoginParser
 
parseJson(String) - Method in class net.nowtryz.cafetapi.parsers.AbstractParser
 
parseResponse(HTTPResponse, Class<T>, Class<T[]>) - Static method in class net.nowtryz.cafetapi.parsers.ArrayParser
 
parseResponse(HTTPResponse, Class<T>) - Static method in class net.nowtryz.cafetapi.parsers.DataParser
 
parseResponse(HTTPResponse) - Static method in class net.nowtryz.cafetapi.parsers.DefaultParser
 
parseResponse(HTTPResponse) - Static method in class net.nowtryz.cafetapi.parsers.ErrorParser
 
parseResponse(HTTPResponse) - Static method in class net.nowtryz.cafetapi.parsers.LoginParser
 
Payable - Class in net.nowtryz.cafetapi.datas
 
Permissible - Interface in net.nowtryz.cafetapi.user
 
PermissionException - Exception in net.nowtryz.cafetapi.exceptions
 
PermissionException(ErrorResult) - Constructor for exception net.nowtryz.cafetapi.exceptions.PermissionException
 
PermissionException(ServerErrorException) - Constructor for exception net.nowtryz.cafetapi.exceptions.PermissionException
 
Permissions - Enum in net.nowtryz.cafetapi.user
 
price - Variable in class net.nowtryz.cafetapi.datas.ExpenseDetail
 
price - Variable in class net.nowtryz.cafetapi.datas.Payable
 
Product - Class in net.nowtryz.cafetapi.datas
 
Product(int, String, float, int, Image, boolean, Calendar) - Constructor for class net.nowtryz.cafetapi.datas.Product
 
Product() - Constructor for class net.nowtryz.cafetapi.datas.Product
 
ProductBought - Class in net.nowtryz.cafetapi.datas
 
ProductBought(int, String, int, float, int, Calendar) - Constructor for class net.nowtryz.cafetapi.datas.ProductBought
 
ProductBought() - Constructor for class net.nowtryz.cafetapi.datas.ProductBought
 
ProductGroup - Class in net.nowtryz.cafetapi.datas
 
ProductGroup(int, String, String) - Constructor for class net.nowtryz.cafetapi.datas.ProductGroup
 

Q

quantity - Variable in class net.nowtryz.cafetapi.datas.ExpenseDetail
 
query(HttpManager.HttpMethod, String, JsonElement) - Method in class net.nowtryz.cafetapi.http.HttpManager
Perform an http rest query to the server with a body
query(HttpManager.HttpMethod, String) - Method in class net.nowtryz.cafetapi.http.HttpManager
Perform an http rest query to the server
query(HttpManager.HttpMethod, String, JsonElement, Map<String, String>) - Method in class net.nowtryz.cafetapi.http.HttpManager
Perform an http rest query to the server with a body and additionnal headers
QueryException - Exception in net.nowtryz.cafetapi.exceptions
 
QueryException(String) - Constructor for exception net.nowtryz.cafetapi.exceptions.QueryException
 
QueryException(String, Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.QueryException
 
QueryException(Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.QueryException
 

R

RELEASE_DATE - Static variable in class net.nowtryz.cafetapi.CafetAPI
 
Reload - Class in net.nowtryz.cafetapi.datas
 
Reload(int, int, String, Calendar, float, float) - Constructor for class net.nowtryz.cafetapi.datas.Reload
The Reloas object is the one that stores reload information for later use, it's generaly generated by the Client's method getReloads or even directly whith the Data static method getClientReloads().
Reload() - Constructor for class net.nowtryz.cafetapi.datas.Reload
The Reloas object is the one that stores reload information for later use, it's generaly generated by the Client's method getReloads or even directly whith the Data static method getClientReloads().
remove(Product) - Method in class net.nowtryz.cafetapi.datas.Choice
 
removeFormula(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
removeFormulaChoice(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
removeProduct(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
removeProduct(Product) - Method in class net.nowtryz.cafetapi.datas.OrderBuilder
 
removeProductFromChoice(int, int...) - Method in class net.nowtryz.cafetapi.CafetAPI
 
removeProductGroup(int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
Result - Class in net.nowtryz.cafetapi.results
 
Result(Status, float) - Constructor for class net.nowtryz.cafetapi.results.Result
 
ResultException - Exception in net.nowtryz.cafetapi.exceptions
 
ResultException(String) - Constructor for exception net.nowtryz.cafetapi.exceptions.ResultException
 
ResultException(String, Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.ResultException
 
ResultException(Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.ResultException
 
ResultSemanticException - Exception in net.nowtryz.cafetapi.exceptions
 
ResultSemanticException(String) - Constructor for exception net.nowtryz.cafetapi.exceptions.ResultSemanticException
 
ResultSemanticException(String, Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.ResultSemanticException
 
ResultSemanticException(Throwable) - Constructor for exception net.nowtryz.cafetapi.exceptions.ResultSemanticException
 
RUNTIME - Static variable in class net.nowtryz.cafetapi.http.ApiHeaders
Header provided by the server to now the computation duration

S

save(CafetAPI, int) - Method in class net.nowtryz.cafetapi.datas.OrderBuilder
 
saveOrder(int, Map<Product, Integer>, Map<OrderBuilder.FormulaBuilder, Product[]>) - Method in class net.nowtryz.cafetapi.CafetAPI
 
saveReload(int, float) - Method in class net.nowtryz.cafetapi.CafetAPI
 
searchClient(String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
ServerErrorException - Exception in net.nowtryz.cafetapi.exceptions
 
ServerErrorException(ErrorResult) - Constructor for exception net.nowtryz.cafetapi.exceptions.ServerErrorException
 
ServerExceptionsManager - Class in net.nowtryz.cafetapi
 
ServerExceptionsManager() - Constructor for class net.nowtryz.cafetapi.ServerExceptionsManager
 
SESSION - Static variable in class net.nowtryz.cafetapi.http.ApiHeaders
Session header to send to the server in order to identify the user
setChoice(Choice, Product) - Method in class net.nowtryz.cafetapi.datas.OrderBuilder.FormulaBuilder
 
setChoiceName(int, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setDisplayName(String) - Method in class net.nowtryz.cafetapi.datas.ProductGroup
Sets displayName
setFormulaImage(int, Image, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setFormulaName(int, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setFormulaPrice(int, float) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setFormulaVisibility(int, boolean) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setGroup(ProductGroup) - Method in class net.nowtryz.cafetapi.datas.Product
Sets group
setGroup(Group) - Method in class net.nowtryz.cafetapi.user.User
Sets the group
setId() - Method in class net.nowtryz.cafetapi.datas.Payable
Id cannot be set!
setId() - Method in class net.nowtryz.cafetapi.datas.ProductGroup
ID cannot be reset!
setImage(Image, String) - Method in class net.nowtryz.cafetapi.datas.Formula
 
setImage(Image, String) - Method in class net.nowtryz.cafetapi.datas.Payable
Sets image
setImage(Image, String) - Method in class net.nowtryz.cafetapi.datas.Product
Sets image
setInstance(CafetAPI) - Static method in class net.nowtryz.cafetapi.CafetAPI
 
setName(String) - Method in class net.nowtryz.cafetapi.datas.Choice
Sets name
setName(String) - Method in class net.nowtryz.cafetapi.datas.Formula
 
setName(String) - Method in class net.nowtryz.cafetapi.datas.Payable
Sets name
setName(String) - Method in class net.nowtryz.cafetapi.datas.Product
Sets name
setName(String) - Method in class net.nowtryz.cafetapi.datas.ProductGroup
Sets name
setPrice(float) - Method in class net.nowtryz.cafetapi.datas.Formula
 
setPrice(float) - Method in class net.nowtryz.cafetapi.datas.Payable
Sets price
setPrice(float) - Method in class net.nowtryz.cafetapi.datas.Product
Sets price
setProductGroup(int, int) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setProductGroupDisplayName(int, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setProductGroupName(int, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setProductImage(int, Image, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setProductName(int, String) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setProductPrice(int, float) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setProductVisibility(int, boolean) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setSessionId(String) - Method in class net.nowtryz.cafetapi.http.HttpManager
 
setUrl(URL) - Method in class net.nowtryz.cafetapi.CafetAPI
 
setUrl(URL) - Method in class net.nowtryz.cafetapi.http.HttpManager
 
setViewable(boolean) - Method in class net.nowtryz.cafetapi.datas.Formula
 
setViewable(boolean) - Method in class net.nowtryz.cafetapi.datas.Payable
Sets viewable
setViewable(boolean) - Method in class net.nowtryz.cafetapi.datas.Product
Sets viewable
Status - Enum in net.nowtryz.cafetapi.results
 

T

toString() - Method in class net.nowtryz.cafetapi.datas.Client
 
toString() - Method in class net.nowtryz.cafetapi.datas.Expense
 
toString() - Method in class net.nowtryz.cafetapi.datas.Product
 
toString() - Method in class net.nowtryz.cafetapi.datas.ProductGroup
 
toString() - Method in class net.nowtryz.cafetapi.http.HTTPResponse
 
toString() - Method in class net.nowtryz.cafetapi.results.LoginResult
 
toString() - Method in enum net.nowtryz.cafetapi.results.Status
 
toString() - Method in class net.nowtryz.cafetapi.user.Group
 
toString() - Method in class net.nowtryz.cafetapi.user.User
 
TYPE - Static variable in class net.nowtryz.cafetapi.parsers.AbstractParser
 

U

update() - Method in class net.nowtryz.cafetapi.datas.Client
Update information about the client
User - Class in net.nowtryz.cafetapi.user
 
User(int, String, String, String, String, String, Group, HashMap<String, Boolean>) - Constructor for class net.nowtryz.cafetapi.user.User
 
User() - Constructor for class net.nowtryz.cafetapi.user.User
 

V

value - Variable in enum net.nowtryz.cafetapi.results.Status
 
value() - Method in enum net.nowtryz.cafetapi.user.Permissions
Returns the permission of the Permissions
valueOf(String) - Static method in enum net.nowtryz.cafetapi.http.HttpManager.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.nowtryz.cafetapi.results.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.nowtryz.cafetapi.user.Permissions
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.nowtryz.cafetapi.http.HttpManager.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.nowtryz.cafetapi.results.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.nowtryz.cafetapi.user.Permissions
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class net.nowtryz.cafetapi.CafetAPI
 
viewable - Variable in class net.nowtryz.cafetapi.datas.Payable
 

W

WordUtils - Class in net.nowtryz.cafetapi.utils
 
WordUtils() - Constructor for class net.nowtryz.cafetapi.utils.WordUtils
 
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2019 Nowtryz. All rights reserved.