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 java.lang.Object implements tigase.component.adhoc.AdHocCommand
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DeleteFileCommandAbstract(boolean isAdmin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)
boolean
isAllowedFor(tigase.xmpp.jid.JID jid)
-
-
-
Method Detail
-
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
-
-