pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.core.accesscontrol
Class UserSelfEditControllerResult

java.lang.Object
  extended by org.torweg.pulse.component.core.accesscontrol.UserSelfEditControllerResult
All Implemented Interfaces:
JDOMable, Result

public class UserSelfEditControllerResult
extends java.lang.Object
implements Result

the Result of the UserSelfEditController.

Version:
$Revision: 1448 $
Author:
Daniel Dietz

Constructor Summary
UserSelfEditControllerResult()
           
 
Method Summary
 void addAddedTriggeredRole(Role role)
          Adds the passed Role to the added triggered Roles for the result.
 void addAttribute(java.lang.String attributeName, java.lang.String attributeValue)
          adds a attribute to the root-container of this result.
 void addError(java.lang.String e)
          adds a new error-identifier to the errors of the result.
 void addRemovedTriggeredRole(Role role)
          Adds the passed Role to the removed triggered Roles for the result.
 org.jdom.Element deserializeToJDOM()
          returns the result-Element of the UserSelfEditController.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSelfEditControllerResult

public UserSelfEditControllerResult()
Method Detail

deserializeToJDOM

public org.jdom.Element deserializeToJDOM()
returns the result-Element of the UserSelfEditController.

Specified by:
deserializeToJDOM in interface JDOMable
Returns:
the result-Element of the UserSelfEditController
See Also:
JDOMable.deserializeToJDOM()

addAttribute

public final void addAttribute(java.lang.String attributeName,
                               java.lang.String attributeValue)
adds a attribute to the root-container of this result.

Parameters:
attributeName - the name of the attribute
attributeValue - the value of the attribute

addError

public final void addError(java.lang.String e)
adds a new error-identifier to the errors of the result.

Parameters:
e - the error-identifier

addAddedTriggeredRole

public final void addAddedTriggeredRole(Role role)
Adds the passed Role to the added triggered Roles for the result.

Parameters:
role - the Role to add

addRemovedTriggeredRole

public final void addRemovedTriggeredRole(Role role)
Adds the passed Role to the removed triggered Roles for the result.

Parameters:
role - the Role to add