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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) booleanisAllowedFor(tigase.xmpp.jid.JID jid) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
executein interfacetigase.component.adhoc.AdHocCommand- Throws:
tigase.component.adhoc.AdHocCommandException
-
isAllowedFor
public boolean isAllowedFor(tigase.xmpp.jid.JID jid) - Specified by:
isAllowedForin interfacetigase.component.adhoc.AdHocCommand
-