org.objectweb.joram.mom.notifications
Class GetRightsReplyNot

java.lang.Object
  extended by fr.dyade.aaa.agent.Notification
      extended by org.objectweb.joram.mom.notifications.AbstractNotification
          extended by org.objectweb.joram.mom.notifications.AdminReplyNot
              extended by org.objectweb.joram.mom.notifications.GetRightsReplyNot
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class GetRightsReplyNot
extends AdminReplyNot

This notification is used by a destination for sending the identifiers of its readers and writers in response to a GetRightsRequest.

See Also:
Serialized Form

Field Summary
private  boolean isFreeReading
          True if all users can read this destination.
private  boolean isFreeWriting
          True if all users can write this destination.
private  java.util.Vector readers
          Vector of readers' identifiers.
private static long serialVersionUID
          define serialVersionUID for interoperability
private  java.util.Vector writers
          Vector of writers' identifiers.
 
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
 
Constructor Summary
GetRightsReplyNot(AdminRequestNot request, boolean isFreeReading, boolean isFreeWriting, java.util.Vector readers, java.util.Vector writers)
          Constructs a GetRightsReply instance.
 
Method Summary
 java.util.Vector getReaders()
          Returns the vector of readers' identifiers.
 java.util.Vector getWriters()
          Returns the vector of writers' identifiers.
 boolean isFreeReading()
           
 boolean isFreeWriting()
           
 
Methods inherited from class org.objectweb.joram.mom.notifications.AdminReplyNot
getInfo, getReplyObject, getRequestId, getSuccess
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification
getClientContext, setPersistent, toString
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
define serialVersionUID for interoperability

See Also:
Constant Field Values

isFreeReading

private boolean isFreeReading
True if all users can read this destination.


isFreeWriting

private boolean isFreeWriting
True if all users can write this destination.


readers

private java.util.Vector readers
Vector of readers' identifiers.


writers

private java.util.Vector writers
Vector of writers' identifiers.

Constructor Detail

GetRightsReplyNot

public GetRightsReplyNot(AdminRequestNot request,
                         boolean isFreeReading,
                         boolean isFreeWriting,
                         java.util.Vector readers,
                         java.util.Vector writers)
Constructs a GetRightsReply instance.

Parameters:
request - The request this reply replies to.
isFreeReading -
isFreeWriting -
readers - The vector or readers' or writers' identifiers.
writers - The vector or readers' or writers' identifiers.
Method Detail

isFreeReading

public boolean isFreeReading()
Returns:
the isFreeReading

isFreeWriting

public boolean isFreeWriting()
Returns:
the isFreeWriting

getReaders

public java.util.Vector getReaders()
Returns the vector of readers' identifiers.

Returns:
the vector of readers' identifiers.

getWriters

public java.util.Vector getWriters()
Returns the vector of writers' identifiers.

Returns:
the vector of writers' identifiers.


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.