Interface cern.lhcias.csgui.interfaces.TagArrays

public interface TagArrays


A TagArray handles a set of Tags. The objects (typically the TagsView or the DataServer)
willing to modify the value of a tag are requested to do so using a TagArrays object.
By doing so, the correct events will be send.
TagsView objects should use the method setValue. This method will send it, if necessary,
to the related DataServer.
DataServer objects should use the method updateValue which doesn't send it back
to the network.
It it possible to set a default DataServer which will be used by all
the remote tags which don't have a link to a specific DataServer.

If the value of a tag has been changed, a TagArray sends the TagChangeEvent.


Method Index

 o AcquisitionError()
Returns true if there is at least one acquisition error
 o addAlarmListener(AlarmListener)
 
 o addConfig(String)
 
 o addTag(String)
Add a tag
 o addTagChangeListener(TagChangeListener)
 
 o afterRefreshData()
 
 o beforeRefreshData()
 
 o cleanDataBase(Vector)
Delete all Tags which are not in TagList
 o clear()
Remove all tags
 o deleteTag(String)
Remove a tag
 o getDefinitionDate()
Date of last modification in tags list
 o getNamesOfTagsOnError()
 
 o getNumberOfRemoteTags()
 
 o getNumberOfRemoteTags(DataServer)
 
 o getNumberOfTags()
 
 o getRemoteTagNames()
Returns a vector of string containing the names of all the Tags updated by DataServers
 o getRemoteTagNames(DataServer)
Returns a vector of string containing the names of all the Tags updated by the DataServer ta
 o getRemoteTags(DataServer)
 
 o getTag(String)
 
 o getTagNames()
Returns a vector of string containing the names of all the Tags
 o getTags()
Returns a Vector of Tags
 o init(String)
 
 o onRefreshError(String)
 
 o removeAlarmListener(AlarmListener)
 
 o removeTagChangeListener(TagChangeListener)
 
 o setDataServerInTags(String)
Set the DataServer of Tag which processName is ProcessName
 o setDataServerManager(DataServerManager)
Set the default DataServer
 o setDataServerofTag(String, String)
 
 o setValue(String, String)
 
 o setValue(String, String, long)
 
 o tagExist(String)
 
 o toString()
 
 o updateInvalidValue(String)
 
 o updateInvalidValue(String, long)
 
 o updateValue(String, String)
 
 o updateValue(String, String, long)
 

Methods

 o init

 public abstract void init(String config)

 o addConfig

 public abstract void addConfig(String config)

 o toString

 public abstract String toString()
Overrides:
toString in class Object

 o beforeRefreshData

 public abstract boolean beforeRefreshData()

 o afterRefreshData

 public abstract boolean afterRefreshData()

 o onRefreshError

 public abstract boolean onRefreshError(String ErrorMsg)

 o AcquisitionError

 public abstract boolean AcquisitionError()
Returns true if there is at least one acquisition error

 o getNamesOfTagsOnError

 public abstract String getNamesOfTagsOnError()

 o addTagChangeListener

 public abstract void addTagChangeListener(TagChangeListener listener)

 o removeTagChangeListener

 public abstract void removeTagChangeListener(TagChangeListener listener)

 o addAlarmListener

 public abstract void addAlarmListener(AlarmListener listener)

 o removeAlarmListener

 public abstract void removeAlarmListener(AlarmListener listener)

 o setDataServerManager

 public abstract void setDataServerManager(DataServerManager ta)
Set the default DataServer

 o setDataServerInTags

 public abstract void setDataServerInTags(String ProcessName)
Set the DataServer of Tag which processName is ProcessName

 o setDataServerofTag

 public abstract void setDataServerofTag(String tagName,
                                         String ProcessName)

 o addTag

 public abstract void addTag(String tagName)
Add a tag

 o deleteTag

 public abstract void deleteTag(String tagName)
Remove a tag

 o clear

 public abstract void clear()
Remove all tags

 o cleanDataBase

 public abstract void cleanDataBase(Vector TagList)
Delete all Tags which are not in TagList

 o getTagNames

 public abstract Vector getTagNames()
Returns a vector of string containing the names of all the Tags

 o getRemoteTagNames

 public abstract Vector getRemoteTagNames()
Returns a vector of string containing the names of all the Tags updated by DataServers

 o getRemoteTagNames

 public abstract Vector getRemoteTagNames(DataServer ta)
Returns a vector of string containing the names of all the Tags updated by the DataServer ta

 o getTags

 public abstract Vector getTags()
Returns a Vector of Tags

 o getRemoteTags

 public abstract Vector getRemoteTags(DataServer ta)

 o getNumberOfTags

 public abstract int getNumberOfTags()

 o getNumberOfRemoteTags

 public abstract int getNumberOfRemoteTags()

 o getNumberOfRemoteTags

 public abstract int getNumberOfRemoteTags(DataServer ta)

 o getDefinitionDate

 public abstract long getDefinitionDate()
Date of last modification in tags list

 o tagExist

 public abstract boolean tagExist(String tagName)

 o getTag

 public abstract Tag getTag(String tagName)

 o updateValue

 public abstract void updateValue(String tagName,
                                  String value)

 o updateValue

 public abstract void updateValue(String tagName,
                                  String value,
                                  long date)

 o updateInvalidValue

 public abstract void updateInvalidValue(String tagName)

 o updateInvalidValue

 public abstract void updateInvalidValue(String tagName,
                                         long date)

 o setValue

 public abstract void setValue(String tagName,
                               String value)

 o setValue

 public abstract void setValue(String tagName,
                               String value,
                               long date)