Package tigase.http.upload.commands
Class DeleteFileCommandAbstract
java.lang.Object
tigase.http.upload.commands.DeleteFileCommandAbstract
- All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand
- Direct Known Subclasses:
DeleteFileCommandAdmin
,DeleteFileCommandUser
public abstract class DeleteFileCommandAbstract
extends Object
implements tigase.component.adhoc.AdHocCommand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) boolean
isAllowedFor
(tigase.xmpp.jid.JID jid) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tigase.component.adhoc.AdHocCommand
execute, getGroup, getName, getNode
-
Constructor Details
-
DeleteFileCommandAbstract
protected DeleteFileCommandAbstract(boolean isAdmin)
-
-
Method Details
-
execute
public void execute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException - Specified by:
execute
in interfacetigase.component.adhoc.AdHocCommand
- Throws:
tigase.component.adhoc.AdHocCommandException
-
isAllowedFor
public boolean isAllowedFor(tigase.xmpp.jid.JID jid) - Specified by:
isAllowedFor
in interfacetigase.component.adhoc.AdHocCommand
-