Search in sources :

Example 1 with ListHolder

use of fr.lelouet.tools.holders.interfaces.collections.ListHolder in project JCELechat by guiguilechat.

the class Characters method contracts_bids.

/**
 * Lists bids on a particular auction contract
 *
 * cache over {@link Swagger#get_characters_contracts_bids}<br />
 *
 * @param character_id
 *     An EVE character ID
 * @param contract_id
 *     ID of a contract
 */
public ListHolder<M_get_contracts_contract_bids_4> contracts_bids(int character_id, int contract_id) {
    K_2_int_int param = new K_2_int_int(contract_id, character_id);
    ListHolderImpl<M_get_contracts_contract_bids_4> ret = get_characters_character_id_contracts_contract_id_bids_holder.get(param);
    if (ret == null) {
        LockWatchDog.BARKER.tak(get_characters_character_id_contracts_contract_id_bids_holder);
        try {
            synchronized (get_characters_character_id_contracts_contract_id_bids_holder) {
                LockWatchDog.BARKER.hld(get_characters_character_id_contracts_contract_id_bids_holder);
                {
                    ret = get_characters_character_id_contracts_contract_id_bids_holder.get(param);
                    if (ret == null) {
                        ret = new ListHolderImpl<M_get_contracts_contract_bids_4>();
                        get_characters_character_id_contracts_contract_id_bids_holder.put(param, ret);
                        ListHolderImpl<M_get_contracts_contract_bids_4> finalRet = ret;
                        (cache).addFetchCacheArray("get_characters_character_id_contracts_contract_id_bids", (page, properties) -> (cache.swagger).get_characters_contracts_bids(character_id, contract_id, properties), arr -> finalRet.set(arr));
                    }
                }
                LockWatchDog.BARKER.rel(get_characters_character_id_contracts_contract_id_bids_holder);
            }
        } finally {
            LockWatchDog.BARKER.rel(get_characters_character_id_contracts_contract_id_bids_holder);
        }
    }
    return ret;
}
Also used : K_4_Integer_int_Lint(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_4_Integer_int_Lint) R_get_characters_character_id_search(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_search) R_get_characters_character_id_titles(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_titles) R_get_characters_character_id_online(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_online) M_get_journal_13(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_journal_13) R_get_characters_character_id_mail(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_mail) R_get_characters_character_id_fw_stats(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_fw_stats) R_get_characters_character_id_industry_jobs(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_industry_jobs) R_get_characters_character_id_skillqueue(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_skillqueue) R_get_characters_character_id_clones(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_clones) R_get_characters_character_id_mail_labels(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_mail_labels) Map(java.util.Map) R_get_characters_character_id_calendar_event_id(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_calendar_event_id) ListHolder(fr.lelouet.tools.holders.interfaces.collections.ListHolder) R_get_characters_character_id_ship(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_ship) R_get_characters_character_id_calendar(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_calendar) K_2_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_2_int_int) M_get_contracts_22(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_22) ObjHolder(fr.lelouet.tools.holders.interfaces.ObjHolder) R_get_characters_character_id_planets_planet_id(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_planets_planet_id) M_get_bookmarks_9(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_bookmarks_9) R_get_characters_character_id_notifications(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_notifications) K_6_Long_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_6_Long_int) R_get_characters_character_id_fleet(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_fleet) K_0_int_Integer(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_0_int_Integer) R_get_characters_character_id_bookmarks_folders(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_bookmarks_folders) R_get_characters_character_id_medals(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_medals) R_get_characters_character_id_location(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_location) R_get_characters_character_id_loyalty_points(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_loyalty_points) M_get_standings_3(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_standings_3) ListHolderImpl(fr.lelouet.tools.holders.impl.collections.ListHolderImpl) R_get_characters_character_id_fittings(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_fittings) R_get_characters_character_id_notifications_contacts(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_notifications_contacts) R_get_characters_character_id_contacts(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_contacts) ObjHolderSimple(fr.lelouet.tools.holders.impl.ObjHolderSimple) R_get_characters_character_id_calendar_event_id_attendees(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_calendar_event_id_attendees) HashMap(java.util.HashMap) K_18_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_18_int_int) R_get_characters_character_id_assets(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_assets) SwaggerCOCache(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.SwaggerCOCache) R_get_characters_character_id_agents_research(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_agents_research) R_get_characters_character_id_skills(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_skills) R_get_characters_character_id_wallet_transactions(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_wallet_transactions) R_get_characters_character_id_orders_history(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_orders_history) R_get_characters_character_id_fatigue(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_fatigue) M_get_killmails_2(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_killmails_2) M_get_contracts_contract_items_6(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_items_6) R_get_characters_character_id_orders(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_orders) R_get_characters_character_id_planets(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_planets) R_get_characters_character_id_roles(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_roles) R_get_characters_character_id_opportunities(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_opportunities) M_get_contracts_contract_bids_4(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_bids_4) K_1_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_1_int_int) K_3_Boolean_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_3_Boolean_int) R_get_characters_character_id_mining(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_mining) K_19_String_LString_int_Boolean(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_19_String_LString_int_Boolean) LockWatchDog(fr.lelouet.tools.synchronization.LockWatchDog) R_get_characters_character_id_blueprints(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_blueprints) M_get_contacts_labels_2(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contacts_labels_2) K_5_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_5_int_int) R_get_characters_character_id_attributes(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_attributes) R_get_characters_character_id_mail_lists(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_mail_lists) R_get_characters_character_id_mail_mail_id(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_mail_mail_id) ListHolderImpl(fr.lelouet.tools.holders.impl.collections.ListHolderImpl) M_get_contracts_contract_bids_4(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_bids_4) K_2_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_2_int_int)

Example 2 with ListHolder

use of fr.lelouet.tools.holders.interfaces.collections.ListHolder in project JCELechat by guiguilechat.

the class Characters method wallet_transactions.

/**
 * Get wallet transactions of a character
 *
 * cache over {@link Swagger#get_characters_wallet_transactions}<br />
 *
 * @param character_id
 *     An EVE character ID
 * @param from_id
 *     Only show transactions happened before the one referenced by this id
 */
public ListHolder<R_get_characters_character_id_wallet_transactions> wallet_transactions(int character_id, Long from_id) {
    K_6_Long_int param = new K_6_Long_int(from_id, character_id);
    ListHolderImpl<R_get_characters_character_id_wallet_transactions> ret = get_characters_character_id_wallet_transactions_holder.get(param);
    if (ret == null) {
        LockWatchDog.BARKER.tak(get_characters_character_id_wallet_transactions_holder);
        try {
            synchronized (get_characters_character_id_wallet_transactions_holder) {
                LockWatchDog.BARKER.hld(get_characters_character_id_wallet_transactions_holder);
                {
                    ret = get_characters_character_id_wallet_transactions_holder.get(param);
                    if (ret == null) {
                        ret = new ListHolderImpl<R_get_characters_character_id_wallet_transactions>();
                        get_characters_character_id_wallet_transactions_holder.put(param, ret);
                        ListHolderImpl<R_get_characters_character_id_wallet_transactions> finalRet = ret;
                        (cache).addFetchCacheArray("get_characters_character_id_wallet_transactions", (page, properties) -> (cache.swagger).get_characters_wallet_transactions(character_id, from_id, properties), arr -> finalRet.set(arr));
                    }
                }
                LockWatchDog.BARKER.rel(get_characters_character_id_wallet_transactions_holder);
            }
        } finally {
            LockWatchDog.BARKER.rel(get_characters_character_id_wallet_transactions_holder);
        }
    }
    return ret;
}
Also used : K_4_Integer_int_Lint(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_4_Integer_int_Lint) R_get_characters_character_id_search(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_search) R_get_characters_character_id_titles(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_titles) R_get_characters_character_id_online(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_online) M_get_journal_13(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_journal_13) R_get_characters_character_id_mail(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_mail) R_get_characters_character_id_fw_stats(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_fw_stats) R_get_characters_character_id_industry_jobs(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_industry_jobs) R_get_characters_character_id_skillqueue(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_skillqueue) R_get_characters_character_id_clones(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_clones) R_get_characters_character_id_mail_labels(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_mail_labels) Map(java.util.Map) R_get_characters_character_id_calendar_event_id(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_calendar_event_id) ListHolder(fr.lelouet.tools.holders.interfaces.collections.ListHolder) R_get_characters_character_id_ship(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_ship) R_get_characters_character_id_calendar(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_calendar) K_2_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_2_int_int) M_get_contracts_22(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_22) ObjHolder(fr.lelouet.tools.holders.interfaces.ObjHolder) R_get_characters_character_id_planets_planet_id(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_planets_planet_id) M_get_bookmarks_9(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_bookmarks_9) R_get_characters_character_id_notifications(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_notifications) K_6_Long_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_6_Long_int) R_get_characters_character_id_fleet(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_fleet) K_0_int_Integer(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_0_int_Integer) R_get_characters_character_id_bookmarks_folders(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_bookmarks_folders) R_get_characters_character_id_medals(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_medals) R_get_characters_character_id_location(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_location) R_get_characters_character_id_loyalty_points(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_loyalty_points) M_get_standings_3(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_standings_3) ListHolderImpl(fr.lelouet.tools.holders.impl.collections.ListHolderImpl) R_get_characters_character_id_fittings(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_fittings) R_get_characters_character_id_notifications_contacts(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_notifications_contacts) R_get_characters_character_id_contacts(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_contacts) ObjHolderSimple(fr.lelouet.tools.holders.impl.ObjHolderSimple) R_get_characters_character_id_calendar_event_id_attendees(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_calendar_event_id_attendees) HashMap(java.util.HashMap) K_18_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_18_int_int) R_get_characters_character_id_assets(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_assets) SwaggerCOCache(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.SwaggerCOCache) R_get_characters_character_id_agents_research(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_agents_research) R_get_characters_character_id_skills(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_skills) R_get_characters_character_id_wallet_transactions(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_wallet_transactions) R_get_characters_character_id_orders_history(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_orders_history) R_get_characters_character_id_fatigue(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_fatigue) M_get_killmails_2(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_killmails_2) M_get_contracts_contract_items_6(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_items_6) R_get_characters_character_id_orders(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_orders) R_get_characters_character_id_planets(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_planets) R_get_characters_character_id_roles(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_roles) R_get_characters_character_id_opportunities(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_opportunities) M_get_contracts_contract_bids_4(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_bids_4) K_1_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_1_int_int) K_3_Boolean_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_3_Boolean_int) R_get_characters_character_id_mining(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_mining) K_19_String_LString_int_Boolean(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_19_String_LString_int_Boolean) LockWatchDog(fr.lelouet.tools.synchronization.LockWatchDog) R_get_characters_character_id_blueprints(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_blueprints) M_get_contacts_labels_2(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contacts_labels_2) K_5_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_5_int_int) R_get_characters_character_id_attributes(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_attributes) R_get_characters_character_id_mail_lists(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_mail_lists) R_get_characters_character_id_mail_mail_id(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_mail_mail_id) ListHolderImpl(fr.lelouet.tools.holders.impl.collections.ListHolderImpl) R_get_characters_character_id_wallet_transactions(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_wallet_transactions) K_6_Long_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_6_Long_int)

Example 3 with ListHolder

use of fr.lelouet.tools.holders.interfaces.collections.ListHolder in project JCELechat by guiguilechat.

the class Corporation method mining_observers.

/**
 * Paginated record of all mining seen by an observer
 *
 * cache over {@link Swagger#get_corporation_mining_observers}<br />
 *
 * @param corporation_id
 *     An EVE corporation ID
 * @param observer_id
 *     A mining observer id
 */
public ListHolder<R_get_corporation_corporation_id_mining_observers_observer_id> mining_observers(int corporation_id, long observer_id) {
    K_7_int_long param = new K_7_int_long(corporation_id, observer_id);
    ListHolderImpl<R_get_corporation_corporation_id_mining_observers_observer_id> ret = get_corporation_corporation_id_mining_observers_observer_id_holder.get(param);
    if (ret == null) {
        LockWatchDog.BARKER.tak(get_corporation_corporation_id_mining_observers_observer_id_holder);
        try {
            synchronized (get_corporation_corporation_id_mining_observers_observer_id_holder) {
                LockWatchDog.BARKER.hld(get_corporation_corporation_id_mining_observers_observer_id_holder);
                {
                    ret = get_corporation_corporation_id_mining_observers_observer_id_holder.get(param);
                    if (ret == null) {
                        ret = new ListHolderImpl<R_get_corporation_corporation_id_mining_observers_observer_id>();
                        get_corporation_corporation_id_mining_observers_observer_id_holder.put(param, ret);
                        ListHolderImpl<R_get_corporation_corporation_id_mining_observers_observer_id> finalRet = ret;
                        (cache).addFetchCacheArray("get_corporation_corporation_id_mining_observers_observer_id", (page, properties) -> (cache.swagger).get_corporation_mining_observers(corporation_id, observer_id, page, properties), arr -> finalRet.set(arr), new String[] { "Accountant" });
                    }
                }
                LockWatchDog.BARKER.rel(get_corporation_corporation_id_mining_observers_observer_id_holder);
            }
        } finally {
            LockWatchDog.BARKER.rel(get_corporation_corporation_id_mining_observers_observer_id_holder);
        }
    }
    return ret;
}
Also used : R_get_corporation_corporation_id_mining_extractions(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporation_corporation_id_mining_extractions) R_get_corporation_corporation_id_mining_observers_observer_id(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporation_corporation_id_mining_observers_observer_id) Map(java.util.Map) ListHolderImpl(fr.lelouet.tools.holders.impl.collections.ListHolderImpl) R_get_corporation_corporation_id_mining_observers(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporation_corporation_id_mining_observers) ListHolder(fr.lelouet.tools.holders.interfaces.collections.ListHolder) LockWatchDog(fr.lelouet.tools.synchronization.LockWatchDog) HashMap(java.util.HashMap) K_7_int_long(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_7_int_long) SwaggerCOCache(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.SwaggerCOCache) ListHolderImpl(fr.lelouet.tools.holders.impl.collections.ListHolderImpl) K_7_int_long(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_7_int_long) R_get_corporation_corporation_id_mining_observers_observer_id(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporation_corporation_id_mining_observers_observer_id)

Example 4 with ListHolder

use of fr.lelouet.tools.holders.interfaces.collections.ListHolder in project JCELechat by guiguilechat.

the class Corporations method wallets_transactions.

/**
 * Get wallet transactions of a corporation
 *
 * cache over {@link Swagger#get_corporations_wallets_transactions}<br />
 *
 * @param corporation_id
 *     An EVE corporation ID
 * @param division
 *     Wallet key of the division to fetch journals from
 * @param from_id
 *     Only show journal entries happened before the transaction referenced by this id
 */
public ListHolder<R_get_corporations_corporation_id_wallets_division_transactions> wallets_transactions(int corporation_id, int division, Long from_id) {
    K_10_int_int_Long param = new K_10_int_int_Long(division, corporation_id, from_id);
    ListHolderImpl<R_get_corporations_corporation_id_wallets_division_transactions> ret = get_corporations_corporation_id_wallets_division_transactions_holder.get(param);
    if (ret == null) {
        LockWatchDog.BARKER.tak(get_corporations_corporation_id_wallets_division_transactions_holder);
        try {
            synchronized (get_corporations_corporation_id_wallets_division_transactions_holder) {
                LockWatchDog.BARKER.hld(get_corporations_corporation_id_wallets_division_transactions_holder);
                {
                    ret = get_corporations_corporation_id_wallets_division_transactions_holder.get(param);
                    if (ret == null) {
                        ret = new ListHolderImpl<R_get_corporations_corporation_id_wallets_division_transactions>();
                        get_corporations_corporation_id_wallets_division_transactions_holder.put(param, ret);
                        ListHolderImpl<R_get_corporations_corporation_id_wallets_division_transactions> finalRet = ret;
                        (cache).addFetchCacheArray("get_corporations_corporation_id_wallets_division_transactions", (page, properties) -> (cache.swagger).get_corporations_wallets_transactions(corporation_id, division, from_id, properties), arr -> finalRet.set(arr), new String[] { "Accountant", "Junior_Accountant" });
                    }
                }
                LockWatchDog.BARKER.rel(get_corporations_corporation_id_wallets_division_transactions_holder);
            }
        } finally {
            LockWatchDog.BARKER.rel(get_corporations_corporation_id_wallets_division_transactions_holder);
        }
    }
    return ret;
}
Also used : R_get_corporations_corporation_id_titles(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_titles) R_get_corporations_corporation_id_fw_stats(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_fw_stats) K_20_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_20_int_int) M_get_journal_13(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_journal_13) R_get_corporations_corporation_id_facilities(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_facilities) R_get_corporations_corporation_id_starbases(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_starbases) ObjHolderSimple(fr.lelouet.tools.holders.impl.ObjHolderSimple) HashMap(java.util.HashMap) R_get_corporations_corporation_id_assets(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_assets) R_get_corporations_corporation_id_divisions(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_divisions) R_get_corporations_corporation_id_roles(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_roles) SwaggerCOCache(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.SwaggerCOCache) R_get_corporations_corporation_id_containers_logs(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_containers_logs) M_get_killmails_2(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_killmails_2) M_get_contracts_contract_items_6(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_items_6) Map(java.util.Map) R_get_corporations_corporation_id_orders(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_orders) ListHolder(fr.lelouet.tools.holders.interfaces.collections.ListHolder) K_8_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_8_int_int) R_get_corporations_corporation_id_structures(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_structures) K_10_int_int_Long(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_10_int_int_Long) R_get_corporations_corporation_id_contacts(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_contacts) R_get_corporations_corporation_id_industry_jobs(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_industry_jobs) R_get_corporations_corporation_id_blueprints(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_blueprints) M_get_contracts_contract_bids_4(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_bids_4) M_get_contracts_22(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_22) ObjHolder(fr.lelouet.tools.holders.interfaces.ObjHolder) M_get_bookmarks_9(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_bookmarks_9) R_get_corporations_corporation_id_wallets_division_transactions(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_wallets_division_transactions) R_get_corporations_corporation_id_customs_offices(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_customs_offices) LockWatchDog(fr.lelouet.tools.synchronization.LockWatchDog) R_get_corporations_corporation_id_orders_history(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_orders_history) R_get_corporations_corporation_id_roles_history(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_roles_history) R_get_corporations_corporation_id_wallets(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_wallets) R_get_corporations_corporation_id_starbases_starbase_id(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_starbases_starbase_id) M_get_contacts_labels_2(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contacts_labels_2) K_16_int_long_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_16_int_long_int) R_get_corporations_corporation_id_bookmarks_folders(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_bookmarks_folders) R_get_corporations_corporation_id_medals(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_medals) R_get_corporations_corporation_id_medals_issued(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_medals_issued) R_get_corporations_corporation_id_membertracking(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_membertracking) R_get_corporations_corporation_id_shareholders(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_shareholders) M_get_standings_3(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_standings_3) R_get_corporations_corporation_id_members_titles(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_members_titles) ListHolderImpl(fr.lelouet.tools.holders.impl.collections.ListHolderImpl) K_9_int_Boolean(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_9_int_Boolean) ListHolderImpl(fr.lelouet.tools.holders.impl.collections.ListHolderImpl) R_get_corporations_corporation_id_wallets_division_transactions(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_wallets_division_transactions) K_10_int_int_Long(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_10_int_int_Long)

Example 5 with ListHolder

use of fr.lelouet.tools.holders.interfaces.collections.ListHolder in project JCELechat by guiguilechat.

the class Corporations method contracts_bids.

/**
 * Lists bids on a particular auction contract
 *
 * cache over {@link Swagger#get_corporations_contracts_bids}<br />
 *
 * @param contract_id
 *     ID of a contract
 * @param corporation_id
 *     An EVE corporation ID
 */
public ListHolder<M_get_contracts_contract_bids_4> contracts_bids(int contract_id, int corporation_id) {
    K_8_int_int param = new K_8_int_int(corporation_id, contract_id);
    ListHolderImpl<M_get_contracts_contract_bids_4> ret = get_corporations_corporation_id_contracts_contract_id_bids_holder.get(param);
    if (ret == null) {
        LockWatchDog.BARKER.tak(get_corporations_corporation_id_contracts_contract_id_bids_holder);
        try {
            synchronized (get_corporations_corporation_id_contracts_contract_id_bids_holder) {
                LockWatchDog.BARKER.hld(get_corporations_corporation_id_contracts_contract_id_bids_holder);
                {
                    ret = get_corporations_corporation_id_contracts_contract_id_bids_holder.get(param);
                    if (ret == null) {
                        ret = new ListHolderImpl<M_get_contracts_contract_bids_4>();
                        get_corporations_corporation_id_contracts_contract_id_bids_holder.put(param, ret);
                        ListHolderImpl<M_get_contracts_contract_bids_4> finalRet = ret;
                        (cache).addFetchCacheArray("get_corporations_corporation_id_contracts_contract_id_bids", (page, properties) -> (cache.swagger).get_corporations_contracts_bids(contract_id, corporation_id, page, properties), arr -> finalRet.set(arr));
                    }
                }
                LockWatchDog.BARKER.rel(get_corporations_corporation_id_contracts_contract_id_bids_holder);
            }
        } finally {
            LockWatchDog.BARKER.rel(get_corporations_corporation_id_contracts_contract_id_bids_holder);
        }
    }
    return ret;
}
Also used : R_get_corporations_corporation_id_titles(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_titles) R_get_corporations_corporation_id_fw_stats(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_fw_stats) K_20_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_20_int_int) M_get_journal_13(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_journal_13) R_get_corporations_corporation_id_facilities(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_facilities) R_get_corporations_corporation_id_starbases(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_starbases) ObjHolderSimple(fr.lelouet.tools.holders.impl.ObjHolderSimple) HashMap(java.util.HashMap) R_get_corporations_corporation_id_assets(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_assets) R_get_corporations_corporation_id_divisions(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_divisions) R_get_corporations_corporation_id_roles(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_roles) SwaggerCOCache(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.SwaggerCOCache) R_get_corporations_corporation_id_containers_logs(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_containers_logs) M_get_killmails_2(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_killmails_2) M_get_contracts_contract_items_6(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_items_6) Map(java.util.Map) R_get_corporations_corporation_id_orders(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_orders) ListHolder(fr.lelouet.tools.holders.interfaces.collections.ListHolder) K_8_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_8_int_int) R_get_corporations_corporation_id_structures(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_structures) K_10_int_int_Long(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_10_int_int_Long) R_get_corporations_corporation_id_contacts(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_contacts) R_get_corporations_corporation_id_industry_jobs(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_industry_jobs) R_get_corporations_corporation_id_blueprints(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_blueprints) M_get_contracts_contract_bids_4(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_bids_4) M_get_contracts_22(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_22) ObjHolder(fr.lelouet.tools.holders.interfaces.ObjHolder) M_get_bookmarks_9(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_bookmarks_9) R_get_corporations_corporation_id_wallets_division_transactions(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_wallets_division_transactions) R_get_corporations_corporation_id_customs_offices(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_customs_offices) LockWatchDog(fr.lelouet.tools.synchronization.LockWatchDog) R_get_corporations_corporation_id_orders_history(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_orders_history) R_get_corporations_corporation_id_roles_history(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_roles_history) R_get_corporations_corporation_id_wallets(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_wallets) R_get_corporations_corporation_id_starbases_starbase_id(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_starbases_starbase_id) M_get_contacts_labels_2(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contacts_labels_2) K_16_int_long_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_16_int_long_int) R_get_corporations_corporation_id_bookmarks_folders(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_bookmarks_folders) R_get_corporations_corporation_id_medals(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_medals) R_get_corporations_corporation_id_medals_issued(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_medals_issued) R_get_corporations_corporation_id_membertracking(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_membertracking) R_get_corporations_corporation_id_shareholders(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_shareholders) M_get_standings_3(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_standings_3) R_get_corporations_corporation_id_members_titles(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_corporations_corporation_id_members_titles) ListHolderImpl(fr.lelouet.tools.holders.impl.collections.ListHolderImpl) K_9_int_Boolean(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_9_int_Boolean) ListHolderImpl(fr.lelouet.tools.holders.impl.collections.ListHolderImpl) K_8_int_int(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.keys.K_8_int_int) M_get_contracts_contract_bids_4(fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_bids_4)

Aggregations

ListHolder (fr.lelouet.tools.holders.interfaces.collections.ListHolder)26 HashMap (java.util.HashMap)23 Map (java.util.Map)21 ObjHolder (fr.lelouet.tools.holders.interfaces.ObjHolder)17 ListHolderImpl (fr.lelouet.tools.holders.impl.collections.ListHolderImpl)16 LockWatchDog (fr.lelouet.tools.synchronization.LockWatchDog)16 M_get_journal_13 (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_journal_13)15 M_get_standings_3 (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_standings_3)15 ObjHolderSimple (fr.lelouet.tools.holders.impl.ObjHolderSimple)14 SwaggerCOCache (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.SwaggerCOCache)13 M_get_bookmarks_9 (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_bookmarks_9)12 M_get_contacts_labels_2 (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contacts_labels_2)12 M_get_contracts_22 (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_22)12 M_get_contracts_contract_bids_4 (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_bids_4)12 M_get_contracts_contract_items_6 (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_contracts_contract_items_6)12 M_get_killmails_2 (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.M_get_killmails_2)12 R_get_characters_character_id_attributes (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_attributes)10 R_get_characters_character_id_industry_jobs (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_industry_jobs)10 R_get_characters_character_id_loyalty_points (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_loyalty_points)10 R_get_characters_character_id_online (fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses.R_get_characters_character_id_online)10