|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aol.acc.AccBase
com.aol.acc.AccCommand
public class AccCommand
The IAccCommand interface is for enumerating commands on a plugin.
| Method Summary | |
|---|---|
void |
exec(AccVariant usernames)
Executes the command on the specified users. |
int |
getFlags()
The flags for the Command, from AccCommandFlags |
int |
getId()
Gets command id. |
int |
getParentId()
Associated in UI with its parent command (e.g., in a submenu). |
java.lang.String |
getSmallIconUrl()
The URL for an icon to display with the command |
java.lang.String |
getText()
The text for the command |
boolean |
queryStatus(AccVariant usernames)
Indicates whether this command could be executed on certain user(s). If an error is returned, or "enabled" is false, the command would not be allowed, so it should be disabled in the user interface. |
void |
setFlags(int Flags)
The flags for the Command, from AccCommandFlags |
void |
setParentId(int ParentId)
Associated in UI with its parent command (e.g., in a submenu). |
void |
setSmallIconUrl(java.lang.String SmallIconUrl)
The URL for an icon to display with the command |
void |
setText(java.lang.String Text)
The text for the command |
| Methods inherited from class com.aol.acc.AccBase |
|---|
compareHandle, equals |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getId()
throws AccException
AccException
public boolean queryStatus(AccVariant usernames)
throws AccException
AccException
public void exec(AccVariant usernames)
throws AccException
AccException
public java.lang.String getText()
throws AccException
AccException
public void setText(java.lang.String Text)
throws AccException
AccException
public java.lang.String getSmallIconUrl()
throws AccException
AccException
public void setSmallIconUrl(java.lang.String SmallIconUrl)
throws AccException
AccException
public int getFlags()
throws AccException
AccException
public void setFlags(int Flags)
throws AccException
AccException
public int getParentId()
throws AccException
AccException
public void setParentId(int ParentId)
throws AccException
AccException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||