UserLogModule.java :  » Content-Management-System » openedit » com » openedit » modules » userlog » Java Open Source

Java Open Source » Content Management System » openedit 
openedit » com » openedit » modules » userlog » UserLogModule.java
/*
 Copyright (c) 2003 eInnovation Inc. All rights reserved

 This library is free software; you can redistribute it and/or modify it under the terms
 of the GNU Lesser General Public License as published by the Free Software Foundation;
 either version 2.1 of the License, or (at your option) any later version.

 This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 See the GNU Lesser General Public License for more details.
 */

package com.openedit.modules.userlog;

import java.util.Map;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.openedit.OpenEditException;
import com.openedit.WebPageRequest;
import com.openedit.modules.BaseModule;

/**
 */
public class UserLogModule extends BaseModule
{
  private static Log log = LogFactory.getLog(UserLogModule.class);
  protected UserLog fieldUserLog;
  protected Map fieldActions;
  protected boolean hasInit = false;

  

  public void setUserLog(UserLog inLog)
  {
    fieldUserLog = inLog;
  }

  public void getUserLog(WebPageRequest inContext) throws OpenEditException
  {
    inContext.putPageValue("userLog", getUserLog());
  }
  public void init() throws Exception
  {
    getUserLog().init();
  }
  
  /**
   * 
   */
  public UserLog getUserLog()
  {
    return fieldUserLog;
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.