Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --------------------------------------------------------------- - Preferences design considerations. --------------------------------------------------------------- java.util.prefs.Preferences implementation. The preferences implementation has been designed to be able to persist the following preferences structure: ----- etc. ----- ----- etc. ----- The idea is to be able to persist group or user principals properties where properties are logically grouped into property sets. Therefore, we could have preferences nodes of type user such as: 1. /user/userprincipal1/propertyset1 where propertyset1 contains properties according to a property set definition. 2. /group/groupprincipal1/propertyset2 where propertyset1 contains properties according to a property set definition. Good preferences article: http://www.onjava.com/pub/a/onjava/synd/2001/10/17/j2se.html --------------------------------------------------------------- - Implementation notes. --------------------------------------------------------------- - Added the following method to the OJB persistence plugin: In org.apache.jetspeed.services.perisistence LookUpCriteria: add(String, java.util.Collection) PersistencePlugin: deleteByQuery(java.lang.Object) In org.apache.jetspeed.services.perisistence.impl OjbLookUpCriteria: add(String, java.util.Collection) AbstractOJBPersistencePlugin: deleteByQuery(java.lang.Object) The test were modified to test deleteByQuery. - Documentation and javadoc can be found under design-docs and docs. - Implemented java.util.prefs.Preferences spi. - Updated to checkstyle 3.0.