Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/vrspace/server/Administrator.java


1   package org.vrspace.server;
2   
3   import org.vrspace.server.object.*;
4   import org.vrspace.attributes.*;
5   
6   /**
7   Administrator is no more than User which implements Admin interface.
8   Since it's in server package, also can access protected stuff.
9   Administrator owns everything.
10  */
11  public class Administrator extends User implements Admin {
12    /**
13    Interface Owner - Admin owns everything
14    */
15    public boolean isOwner( Owned o ) {
16      return true;
17    }
18    /**
19    Admin owns everything
20    */
21    public boolean owns( VRObject o ) {
22      return true;
23    }
24  }