Friday, August 8, 2014
Customising generated endpoint class - DuplicateRestPathException
Was going build a list function derived from the generated one for a custom query. The GPE gave me a DuplicateRestPathException. The problem was the return object crashed with the generated function. To solve the problem, I declared another path for my list function.
@SuppressWarnings({ "unchecked", "unused" })
@ApiMethod(name = "listEntitiesWithCondition", path="list_entities_with_condition")
public CollectionResponse<Entity> listEntitiesWithCondition(@Named("para") String para)
{
String queryString = "select from Entity as Entity where blah blah blah";
return listEntities(para,null,null); //The generated function
}
Subscribe to:
Post Comments (Atom)
Applying SMA10/20, SMA20/50 as trading signals
This is the comparison for results before and after applying SMA10/20 and SMA20/50 in the stock trader. Background Trading 3 stock ma...
-
Snes9X is one of the best Android SNES emulators ever made. It is free, no ads, highly customisable. It helps bringing back tons of go...
-
I struggled with the error "The mobile device interface cannot be opened because either the display settings are not configured or the...
-
Background As a seasonal stock trader, it has been a dream for me to have a stock info system suggesting order price. Traditional tec...
No comments:
Post a Comment