Package tigase.http.modules.rest
Class AbstractApiKeyCmd
java.lang.Object
tigase.stats.CounterValue
tigase.stats.Counter
tigase.stats.StatisticHolderImpl
tigase.http.modules.rest.AbstractApiKeyCmd
- All Implemented Interfaces:
tigase.server.script.CommandIfc,tigase.stats.StatisticHolder
- Direct Known Subclasses:
ApiKeyAddCmd,ApiKeyRemoveCmd,ApiKeyUpdateCmd
public abstract class AbstractApiKeyCmd
extends tigase.stats.StatisticHolderImpl
implements tigase.server.script.CommandIfc
-
Field Summary
FieldsFields inherited from class tigase.stats.CounterValue
counter, level, nameFields inherited from interface tigase.server.script.CommandIfc
ADD_SCRIPT_CMD, ADMINS_SET, ADMN_CMDS, ADMN_DISC, AUTH_REPO, COMMAND_ID, COMMANDS_ACL, COMPONENT, COMPONENT_NAME, CONNECTED_NODES, CONNECTED_NODES_WITH_LOCAL, DEL_SCRIPT_CMD, DESCRIPT, EVENTBUS, GROUP, LANGUAGE, PACKET, REMOVE_FROM_DISK, SAVE_TO_DISK, SCRI_MANA, SCRIPT_BASE_DIR, SCRIPT_CLASS, SCRIPT_COMP_DIR, SCRIPT_COMPONENT, SCRIPT_DESCRIPTION, SCRIPT_GROUP, SCRIPT_ID, SCRIPT_RESULT, SCRIPT_TEXT, SERVICES_MAP, USER_CONN, USER_REPO, USER_SESS, VHOST_MANAGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckIsFromAdmin(tigase.server.Iq packet, Consumer<tigase.server.Packet> writer) voidbooleanvoidsetAdminOnly(boolean adminOnly) Methods inherited from class tigase.stats.StatisticHolderImpl
getStatistics, setStatisticsPrefix, statisticExecutedInMethods inherited from class tigase.stats.Counter
everyHour, everyMinute, everySecond, getPerHour, getPerMinute, getPerSecondMethods inherited from class tigase.stats.CounterValue
getLevel, getName, getValue, inc, setName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface tigase.server.script.CommandIfc
getCommandId, getDescription, getGroup, runCommandMethods inherited from interface tigase.stats.StatisticHolder
everyHour, everyMinute, everySecond, getStatistics, setStatisticsPrefix, statisticExecutedIn
-
Field Details
-
MARKER
- See Also:
-
module
-
-
Constructor Details
-
AbstractApiKeyCmd
-
-
Method Details
-
getBindings
- Specified by:
getBindingsin interfacetigase.server.script.CommandIfc
-
init
- Specified by:
initin interfacetigase.server.script.CommandIfc
-
isAdminOnly
public boolean isAdminOnly()- Specified by:
isAdminOnlyin interfacetigase.server.script.CommandIfc
-
setAdminOnly
public void setAdminOnly(boolean adminOnly) - Specified by:
setAdminOnlyin interfacetigase.server.script.CommandIfc
-
checkIsFromAdmin
-