Package tigase.pubsub.modules.commands
Class RetrieveItemsCommand
- java.lang.Object
-
- tigase.pubsub.modules.commands.RetrieveItemsCommand
-
- All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand
@Bean(name="retrieveItemsCommand", parent=PubSubComponent.class, active=true) public class RetrieveItemsCommand extends java.lang.Object implements tigase.component.adhoc.AdHocCommand
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.logging.Loggerlogstatic java.lang.StringTIGASE_PUBSUB_INTERNAL_KEYstatic java.lang.StringTIGASE_PUBSUB_ITEMID_KEYstatic java.lang.StringTIGASE_PUBSUB_NODENAME_KEYstatic java.lang.StringTIGASE_PUBSUB_SERVICE_KEYstatic java.lang.StringTIGASE_PUBSUB_TIMESTAMP_KEY
-
Constructor Summary
Constructors Constructor Description RetrieveItemsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)java.lang.StringgetName()java.lang.StringgetNode()booleanisAllowedFor(tigase.xmpp.jid.JID jid)
-
-
-
Field Detail
-
log
public static final java.util.logging.Logger log
-
TIGASE_PUBSUB_INTERNAL_KEY
public static final java.lang.String TIGASE_PUBSUB_INTERNAL_KEY
- See Also:
- Constant Field Values
-
TIGASE_PUBSUB_ITEMID_KEY
public static final java.lang.String TIGASE_PUBSUB_ITEMID_KEY
- See Also:
- Constant Field Values
-
TIGASE_PUBSUB_NODENAME_KEY
public static final java.lang.String TIGASE_PUBSUB_NODENAME_KEY
- See Also:
- Constant Field Values
-
TIGASE_PUBSUB_SERVICE_KEY
public static final java.lang.String TIGASE_PUBSUB_SERVICE_KEY
- See Also:
- Constant Field Values
-
TIGASE_PUBSUB_TIMESTAMP_KEY
public static final java.lang.String TIGASE_PUBSUB_TIMESTAMP_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException- Specified by:
executein interfacetigase.component.adhoc.AdHocCommand- Throws:
tigase.component.adhoc.AdHocCommandException
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacetigase.component.adhoc.AdHocCommand
-
getNode
public java.lang.String getNode()
- Specified by:
getNodein interfacetigase.component.adhoc.AdHocCommand
-
isAllowedFor
public boolean isAllowedFor(tigase.xmpp.jid.JID jid)
- Specified by:
isAllowedForin interfacetigase.component.adhoc.AdHocCommand
-
-