public class ApiKeyRepository extends tigase.db.comp.UserRepoRepository<ApiKeyItem>
| Modifier and Type | Field and Description |
|---|---|
static String |
API_KEYS_KEY |
| Constructor and Description |
|---|
ApiKeyRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
String |
getConfigKey() |
String[] |
getDefaultPropetyItems() |
ApiKeyItem |
getItemInstance() |
String |
getItemsListPKey() |
String |
getPropertyKey() |
tigase.xmpp.BareJID |
getRepoUser() |
protected void |
initItemsMap() |
void |
initRepository(String resource_uri,
Map<String,String> params) |
boolean |
isAllowed(String key,
String domain,
String path) |
void |
setProperties(Map<String,Object> props) |
void |
setRepoUser(tigase.xmpp.BareJID repoUserJid) |
public static final String API_KEYS_KEY
public tigase.xmpp.BareJID getRepoUser()
getRepoUser in class tigase.db.comp.UserRepoRepository<ApiKeyItem>public void setRepoUser(tigase.xmpp.BareJID repoUserJid)
public String getConfigKey()
getConfigKey in class tigase.db.comp.ConfigRepository<ApiKeyItem>public String[] getDefaultPropetyItems()
getDefaultPropetyItems in class tigase.db.comp.ConfigRepository<ApiKeyItem>public String getItemsListPKey()
getItemsListPKey in class tigase.db.comp.UserRepoRepository<ApiKeyItem>public String getPropertyKey()
getPropertyKey in class tigase.db.comp.ConfigRepository<ApiKeyItem>public ApiKeyItem getItemInstance()
protected void initItemsMap()
initItemsMap in class tigase.db.comp.ConfigRepository<ApiKeyItem>public void setProperties(Map<String,Object> props)
setProperties in interface tigase.db.comp.ComponentRepository<ApiKeyItem>setProperties in class tigase.db.comp.UserRepoRepository<ApiKeyItem>public void destroy()
Copyright © 2015 Tigase. All rights reserved.