1 package org.infoglue.common.settings.controllers; 2 3 import java.util.List ; 4 5 import org.exolab.castor.jdo.Database; 6 import org.infoglue.cms.entities.management.InfoGlueProperty; 7 8 public interface CastorSettingsPersister 9 { 10 15 16 public InfoGlueProperty getProperty(Long id, Database database) throws Exception ; 17 18 19 24 25 public InfoGlueProperty getProperty(String nameSpace, String name, Database database) throws Exception ; 26 27 28 31 32 public InfoGlueProperty createProperty(String nameSpace, String name, String value, Database database) throws Exception ; 33 34 35 40 41 public void updateProperty(String nameSpace, String name, String value, Database database) throws Exception ; 42 43 44 49 50 public void updateProperty(InfoGlueProperty property, String value, Database database) throws Exception ; 51 52 } 53 | Popular Tags |