|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hlcl.rql.as.Plugin
public class Plugin
Diese Klasse beschreibt ein Plugin.
Constructor Summary | |
---|---|
Plugin(CmsClient client,
java.lang.String pluginGuid,
java.lang.String active0or1,
java.lang.String name)
Vollständiger Konstruktor mit allen Attributen. |
Method Summary | |
---|---|
RQLNode |
callCms(java.lang.String rqlRequest)
Senden eine Anfrage an das CMS und liefert eine geparste Antwort zurueck. |
java.lang.String |
callCmsWithoutParsing(java.lang.String rqlRequest)
Senden eine Anfrage an das CMS und liefert eine ungeparste Antwort zurueck. |
void |
equalizeLabelsAccordingTo(UserInterfaceLanguage mainLanguage)
Kopiert den Bezeichner für die gegebene mainLanguage in alle anderen Oberflächensprachen. |
boolean |
equals(java.lang.Object obj)
Plugins mit der gleichen GUID werden als gleich betrachtet. |
CmsClient |
getCmsClient()
Liefert den CmsClient. |
java.lang.String |
getLabel(UserInterfaceLanguage language)
Liefert den in Menüs angezeigten Bezeichner dieses Plugins für die gegebene Sprache. |
java.lang.String |
getLogonGuid()
Liefert die RedDot logon GUID des users unter dem das script läuft. |
java.lang.String |
getName()
|
java.lang.String |
getPluginGuid()
|
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isActive()
|
void |
setIsActive(boolean isActive)
Ändert die Eigenschaft active dieses Plugins. |
java.lang.String |
toString()
For debugging only. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Plugin(CmsClient client, java.lang.String pluginGuid, java.lang.String active0or1, java.lang.String name)
client
- the cms client instancepluginGuid
- the GUID of this pluginactive
- =1, if this plugin is currently active, sonst 0name
- the name of this pluginMethod Detail |
---|
public RQLNode callCms(java.lang.String rqlRequest) throws RQLException
callCms
in interface CmsClientContainer
RQLException
public java.lang.String callCmsWithoutParsing(java.lang.String rqlRequest) throws RQLException
callCmsWithoutParsing
in interface CmsClientContainer
RQLException
public void equalizeLabelsAccordingTo(UserInterfaceLanguage mainLanguage) throws RQLException
ACHTUNG: Im save RQL müssen im Tag DESCRIPTIONS alle Sprachen vorkommen, sonst werden diese gelöscht! Weiterhin muss active mitgegeben werden, sonst werden aktive deaktiviert!
RQLException
public int hashCode()
java.util.Hashtable
.
The general contract of hashCode
is:
hashCode
method on each of the
two objects must produce the same integer result.
Object.equals(java.lang.Object)
method,
then calling the hashCode method on each of the two objects must produce distinct integer results. However, the programmer should be
aware that producing distinct integer results for unequal objects may improve the performance of hashtables.
As much as is reasonably practical, the hashCode method defined by class Object does return distinct integers for distinct objects. (This is typically implemented by converting the internal address of the object into an integer, but this implementation technique is not required by the JavaTM programming language.)
hashCode
in class java.lang.Object
Object.equals(java.lang.Object)
,
Hashtable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public CmsClient getCmsClient()
getCmsClient
in interface CmsClientContainer
public java.lang.String getLabel(UserInterfaceLanguage language) throws RQLException
Liefert einen leeren String, falls kein Bezeichner definiert ist.
RQLException
public java.lang.String getLogonGuid()
getLogonGuid
in interface CmsClientContainer
public java.lang.String getName()
public java.lang.String getPluginGuid()
public boolean isActive()
public void setIsActive(boolean isActive) throws RQLException
RQLException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |