org.vrspace.server.filter
Class AdminFilter

java.lang.Object
  extended byorg.vrspace.server.filter.VRObjectFilter
      extended byorg.vrspace.server.filter.AdminFilter
All Implemented Interfaces:
ObjectFilter

public class AdminFilter
extends VRObjectFilter

This filter changes URL's to provide extra info to administrator.


Constructor Summary
AdminFilter()
          No arguments
AdminFilter(java.lang.String s)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          returns true if tested filter is of this class
 VRObject process(VRObject o)
          Rewrites url to new one with additional admin info, if client owns this object.
 boolean testVRObject(VRObject o, Client c)
          admin sees everything
 java.lang.String toString()
           
 
Methods inherited from class org.vrspace.server.filter.VRObjectFilter
test
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdminFilter

public AdminFilter()
No arguments


AdminFilter

public AdminFilter(java.lang.String s)
Method Detail

testVRObject

public boolean testVRObject(VRObject o,
                            Client c)
admin sees everything

Specified by:
testVRObject in class VRObjectFilter

equals

public boolean equals(java.lang.Object o)
returns true if tested filter is of this class

Specified by:
equals in class VRObjectFilter

process

public VRObject process(VRObject o)
Rewrites url to new one with additional admin info, if client owns this object. Administrator owns everything.

Overrides:
process in class VRObjectFilter

toString

public java.lang.String toString()
Overrides:
toString in class VRObjectFilter