net.ontopia.topicmaps.webed.impl.actions.tmobject
Class SetScope
java.lang.Object
net.ontopia.topicmaps.webed.impl.actions.tmobject.SetScope
- All Implemented Interfaces:
- ActionIF
public class SetScope
- extends Object
- implements ActionIF
PUBLIC: Action for setting the scope of a tmobject. Takes the object to be scoped as first param,
the second is a collection of TopicIFs which the object should be scoped with. If the tmobject has
other scopes then the ones contained in the collection these will be removed. If the second
param is not given the action will check if there is a list of topics defined by the request
params.
If when building an array of requestparams a -1 value is send in with other topicobjectids
the -1 will be ignored. Do do a delete of all scopes the -1 needs to be alone.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetScope
public SetScope()
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
Copyright © 2000-2012 Ontopia.