.filter("attachedCharacterInfo.corporationID", mainCharacterInfo.getCorporationID())
.filter("id", priceSetID).get();
}
public PriceSet getForAllianceByPriceSetID(Long priceSetID, Key<User> userKey) {
User user = objectifyFactory.begin().get(userKey);
CharacterInfo mainCharacterInfo = user.getMainCharacterInfo();
return objectifyFactory.begin().query(PriceSet.class)
.filter("attachedCharacterInfo.allianceID", mainCharacterInfo.getAllianceID())
.filter("id", priceSetID).get();
}