1 16 package org.apache.cocoon.portal.profile; 17 18 import java.util.Map ; 19 20 import org.apache.excalibur.source.SourceValidity; 21 22 31 public interface ProfileLS { 32 33 34 String ROLE = ProfileLS.class.getName(); 35 36 37 String PARAMETER_OBJECTMAP = "objectmap"; 38 39 String PARAMETER_PROFILETYPE = "profiletype"; 40 41 String PROFILETYPE_LAYOUT = "layout"; 42 String PROFILETYPE_COPLETBASEDATA = "copletbasedata"; 43 String PROFILETYPE_COPLETDATA = "copletdata"; 44 String PROFILETYPE_COPLETINSTANCEDATA = "copletinstancedata"; 45 46 49 Object loadProfile(Object key, Map parameters) throws Exception ; 50 51 54 void saveProfile(Object key, Map parameters, Object profile) throws Exception ; 55 56 SourceValidity getValidity(Object key, Map parameters); 57 } 58 | Popular Tags |