KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > tigris > scarab > om > ScopePeer


1 package org.tigris.scarab.om;
2
3 import java.util.List JavaDoc;
4 import org.apache.torque.util.Criteria;
5
6
7 /**
8  * You should add additional methods to this class to meet the
9  * application requirements. This class will only be generated as
10  * long as it does not already exist in the output directory.
11  */

12 public class ScopePeer
13     extends org.tigris.scarab.om.BaseScopePeer
14 {
15
16     /**
17      * Gets a List of all of the scopes.
18      */

19     public static List JavaDoc getAllScopes()
20         throws Exception JavaDoc
21     {
22         return doSelect(new Criteria(0));
23     }
24 }
25
Popular Tags