net.ontopia.topicmaps.webed.impl.actions.occurrence
Class SetValueUnique

java.lang.Object
  extended by net.ontopia.topicmaps.webed.impl.actions.occurrence.SetValue
      extended by net.ontopia.topicmaps.webed.impl.actions.occurrence.SetValueUnique
All Implemented Interfaces:
ActionIF

public class SetValueUnique
extends SetValue

PUBLIC: Action for setting the string value of an occurrence. Creates a new occurrence if none already exists. Also checks whether or not there already is another occurrence with the same scope and value, and if there is it logs the fact.

Since:
2.0

Constructor Summary
SetValueUnique()
           
 
Method Summary
protected  boolean isUnique(ActionParametersIF params, ActionResponseIF response, int typeParamIx)
           
 void perform(ActionParametersIF params, ActionResponseIF response)
          PUBLIC: Performs the action using the values provided by the params parameter.
 
Methods inherited from class net.ontopia.topicmaps.webed.impl.actions.occurrence.SetValue
setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetValueUnique

public SetValueUnique()
Method Detail

perform

public void perform(ActionParametersIF params,
                    ActionResponseIF response)
Description copied from interface: ActionIF
PUBLIC: Performs the action using the values provided by the params parameter.

The whole set of available parameters and attributes are summarized in the request object, to allow the action access to further relevant information.

Specified by:
perform in interface ActionIF
Overrides:
perform in class SetValue

isUnique

protected boolean isUnique(ActionParametersIF params,
                           ActionResponseIF response,
                           int typeParamIx)
Overrides:
isUnique in class SetValue


Copyright © 2000-2012 Ontopia.