net.ontopia.topicmaps.webed.impl.actions.association
Class AssignRolePlayer

java.lang.Object
  extended by net.ontopia.topicmaps.webed.impl.actions.topicmap.AbstractTopicMapAction
      extended by net.ontopia.topicmaps.webed.impl.actions.association.AssignRolePlayer
All Implemented Interfaces:
ActionIF, OSLSchemaAwareIF

public class AssignRolePlayer
extends AbstractTopicMapAction

PUBLIC: Action for setting a player of an association. If the association does not already exist it will be created, provided the user has selected a topic. If the association already exists it will be deleted if the user selects 'unspecified'. Request parameter name is encoded with the ID of the association Request parameter value contains the topic ID of player B Action Parameters are: - association - association type - topic (player A) - role type of A - role type of B - fixed player B (optional)


Field Summary
 
Fields inherited from class net.ontopia.topicmaps.webed.impl.actions.topicmap.AbstractTopicMapAction
schema
 
Constructor Summary
AssignRolePlayer()
           
 
Method Summary
 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.topicmap.AbstractTopicMapAction
getSchema, setSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignRolePlayer

public AssignRolePlayer()
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.



Copyright © 2000-2012 Ontopia.