1 16 17 package org.apache.jetspeed.services.profiler; 18 19 import org.apache.jetspeed.om.profile.*; 20 import org.apache.jetspeed.capability.CapabilityMap; 21 import org.apache.turbine.services.Service; 22 import org.apache.turbine.util.RunData; 23 import org.apache.turbine.util.DynamicURI; 24 import org.apache.jetspeed.util.MimeType; 25 import java.util.Iterator ; 26 27 35 36 public interface ProfilerService extends Service 37 { 38 39 40 public String SERVICE_NAME = "Profiler"; 41 42 50 public Profile getProfile(RunData rundata, CapabilityMap cm) 51 throws ProfileException; 52 53 60 public Profile getProfile(RunData rundata) 61 throws ProfileException; 62 63 71 public Profile getProfile(RunData data, MimeType mt) 72 throws ProfileException; 73 74 80 public Profile getProfile(ProfileLocator locator) 81 throws ProfileException; 82 83 90 public DynamicURI makeDynamicURI( RunData data, ProfileLocator locator ) 91 throws ProfileException; 92 93 99 public Profile createProfile(); 100 101 107 public Profile createProfile(ProfileLocator locator); 108 109 115 public ProfileLocator createLocator(); 116 117 124 public Profile createProfile( RunData data, Profile profile ) 125 throws ProfileException; 126 127 134 public Profile createProfile( RunData data, Profile profile, MimeType mt ) 135 throws ProfileException; 136 137 142 public Profile createProfile(ProfileLocator locator, Portlets portlets) 143 throws ProfileException; 144 145 150 public void removeProfile( ProfileLocator locator ) 151 throws ProfileException; 152 153 158 public Iterator query( QueryLocator locator ); 159 160 165 public boolean useRoleProfileMerging(); 166 167 } 168 | Popular Tags |