1 16 package org.apache.cocoon.portal.profile.impl; 17 18 import org.apache.avalon.framework.logger.AbstractLogEnabled; 19 import org.apache.avalon.framework.service.ServiceException; 20 import org.apache.avalon.framework.service.ServiceManager; 21 import org.apache.avalon.framework.service.Serviceable; 22 import org.apache.avalon.framework.thread.ThreadSafe; 23 import org.apache.cocoon.portal.coplet.CopletInstanceData; 24 import org.apache.cocoon.portal.layout.Layout; 25 import org.apache.cocoon.portal.profile.ProfileManager; 26 27 34 public abstract class AbstractProfileManager 35 extends AbstractLogEnabled 36 implements Serviceable, ProfileManager, ThreadSafe { 37 38 protected ServiceManager manager; 39 40 43 public void service(ServiceManager manager) throws ServiceException { 44 this.manager = manager; 45 } 46 47 50 public void register(CopletInstanceData coplet) { 51 } 53 54 57 public void register(Layout layout) { 58 } 60 61 64 public void saveUserProfiles(String layoutKey) { 65 this.saveUserCopletInstanceDatas(layoutKey); 66 this.saveUserLayout(layoutKey); 67 } 68 69 72 public void saveUserCopletInstanceDatas(String layoutKey) { 73 } 75 76 79 public void saveUserLayout(String layoutKey) { 80 } 82 83 86 public void unregister(CopletInstanceData coplet) { 87 } 89 90 93 public void unregister(Layout layout) { 94 } 96 97 100 public void login() { 101 } 103 104 107 public void logout() { 108 } 110 111 } 112 | Popular Tags |