@Override public ApiKeyList getApiKeys(Map<String, Object> queryParams) { ApiKeyList list = getApiKeys(); //safe to get the href: does not execute a query until iteration occurs return getDataStore().getResource(list.getHref(), ApiKeyList.class, queryParams); }
@Override public ApiKeyList getApiKeys(ApiKeyCriteria criteria) { ApiKeyList list = getApiKeys(); //safe to get the href: does not execute a query until iteration occurs return getDataStore().getResource(list.getHref(), ApiKeyList.class, (Criteria<ApiKeyCriteria>) criteria); }
@Override public ApiKeyList getApiKeys(Map<String, Object> queryParams) { ApiKeyList list = getApiKeys(); //safe to get the href: does not execute a query until iteration occurs return getDataStore().getResource(list.getHref(), ApiKeyList.class, queryParams); }
@Override public ApiKeyList getApiKeys(ApiKeyCriteria criteria) { ApiKeyList list = getApiKeys(); //safe to get the href: does not execute a query until iteration occurs return getDataStore().getResource(list.getHref(), ApiKeyList.class, (Criteria<ApiKeyCriteria>) criteria); }
/** * @since 1.0.RC */ @Override public ApiKey createApiKey(ApiKeyOptions options) { Assert.notNull(options, "options argument cannot be null."); String href = getApiKeys().getHref(); return getDataStore().create(href, new DefaultApiKey(getDataStore()), options); }
/** * @since 1.0.RC */ @Override public ApiKey createApiKey(ApiKeyOptions options) { Assert.notNull(options, "options argument cannot be null."); String href = getApiKeys().getHref(); return getDataStore().create(href, new DefaultApiKey(getDataStore()), options); }