1 90 package com.ivata.groupware.business.addressbook.person.group; 91 92 99 public class GroupConstants { 100 101 104 public final static Integer GROUP_ADMINISTRATOR = new Integer (1); 105 108 public final static Integer USER_GROUP = new Integer (2); 109 110 113 public final static Integer USER_GROUP_PRIVATE = new Integer (3); 114 115 118 public final static Integer ADDRESS_BOOK = new Integer (4); 119 122 public final static Integer ADDRESS_BOOK_PRIVATE = new Integer (5); 123 126 public final static Integer ADDRESS_BOOK_PUBLIC = new Integer (6); 127 131 public final static Integer ADDRESS_BOOK_DEFAULT = new Integer (7); 132 public static boolean equals( 133 final Integer compareID, 134 final Integer constantGroupID) { 135 assert (constantGroupID != null); 137 if (compareID == null) { 138 return false; 139 } 140 return constantGroupID.equals(compareID); 141 } 142 } 143 | Popular Tags |