1 12 13 package com.openedit.modules.userlog; 14 15 import java.util.Map ; 16 17 import org.apache.commons.logging.Log; 18 import org.apache.commons.logging.LogFactory; 19 20 import com.openedit.OpenEditException; 21 import com.openedit.WebPageRequest; 22 import com.openedit.modules.BaseModule; 23 24 26 public class UserLogModule extends BaseModule 27 { 28 private static Log log = LogFactory.getLog(UserLogModule.class); 29 protected UserLog fieldUserLog; 30 protected Map fieldActions; 31 protected boolean hasInit = false; 32 33 34 35 public void setUserLog(UserLog inLog) 36 { 37 fieldUserLog = inLog; 38 } 39 40 public void getUserLog(WebPageRequest inContext) throws OpenEditException 41 { 42 inContext.putPageValue("userLog", getUserLog()); 43 } 44 public void init() throws Exception 45 { 46 getUserLog().init(); 47 } 48 49 52 public UserLog getUserLog() 53 { 54 return fieldUserLog; 55 } 56 57 } 58 | Popular Tags |