[cvs] expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/services/dbobj RegistrationObjectMap.java

Larry Hamel lhamel at jcorp2.servlets.net
Wed May 5 22:20:26 PDT 2004


Update of /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/services/dbobj
In directory jcorp2.servlets.net:/tmp/cvs-serv12471/expresso-web/WEB-INF/src/com/jcorporate/expresso/services/dbobj

Modified Files:
	RegistrationObjectMap.java 
Log Message:
add string constant; cosmetic


Index: RegistrationObjectMap.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/services/dbobj/RegistrationObjectMap.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** RegistrationObjectMap.java	18 Feb 2004 23:12:02 -0000	1.9
--- RegistrationObjectMap.java	6 May 2004 05:20:24 -0000	1.10
***************
*** 85,88 ****
--- 85,91 ----
  public class RegistrationObjectMap
          extends SecuredDBObject {
+     public static final String REG_DOMAIN_ID = "RegDomId";
+     public static final String REG_OBJ_CLASS = "RegObj";
+ 
      /**
       * Default constructor
***************
*** 123,127 ****
       * @throws    DBException If the next number could not be allocated
       *            or the add fails
!      * @see        com.jcorporate.expresso.core.dbobj.SecuredDBObj#add
       */
      public void add()
--- 126,130 ----
       * @throws    DBException If the next number could not be allocated
       *            or the add fails
!      * @see        com.jcorporate.expresso.core.dbobj.SecuredDBObject#add
       */
      public void add()
***************
*** 198,203 ****
          setDescription("DBregObjMap");
          setCharset("ISO-8859-1");
!         addField("RegDomId", "int", 0, false, "regDomId");
!         addField("RegObj", "varchar", 128, false, "regObjClass");
          addField("UidField", "char", 10, false, "uidFieldName");
          addField("RecMin", "int", 0, true, "minRecords");
--- 201,206 ----
          setDescription("DBregObjMap");
          setCharset("ISO-8859-1");
!         addField(REG_DOMAIN_ID, "int", 0, false, "regDomId");
!         addField(REG_OBJ_CLASS, "varchar", 128, false, "regObjClass");
          addField("UidField", "char", 10, false, "uidFieldName");
          addField("RecMin", "int", 0, true, "minRecords");
***************
*** 207,218 ****
          addField("AllowEdit", "char", 1, true, "userCanEdit");
          addField("AllowDel", "char", 1, true, "userCanDelete");
!         setStringFilter("RegObj", "stripFilter");
!         setMultiValued("RegDomId");
          setMultiValued("AllowEdit");
          setMultiValued("AllowDel");
!         setLookupObject("RegDomId",
!                 "com.jcorporate.expresso.services.dbobj.RegistrationDomain");
!         addKey("RegDomId");
!         addKey("RegObj");
      } /* setupFields() */
  
--- 210,220 ----
          addField("AllowEdit", "char", 1, true, "userCanEdit");
          addField("AllowDel", "char", 1, true, "userCanDelete");
!         setStringFilter(REG_OBJ_CLASS, "stripFilter");
!         setMultiValued(REG_DOMAIN_ID);
          setMultiValued("AllowEdit");
          setMultiValued("AllowDel");
!         setLookupObject(REG_DOMAIN_ID, RegistrationDomain.class.getName());
!         addKey(REG_DOMAIN_ID);
!         addKey(REG_OBJ_CLASS);
      } /* setupFields() */
  



More information about the cvs mailing list