http://developertips.blogspot.com/2007/08/syntaxhighlighter-on-blogger.html
here's a live example! =)
package com.walgreens.sysconf.dao;
import java.util.List;
import com.walgreens.sysconf.domain.AbstractDomain;
import com.walgreens.sysconf.domain.AppEvent;
/**
* Standard DAO Interface for AppEvent Domain Object
*
* @author Edwin Quita
* @version 1.0
*/
public interface AppEventDAO {
/**
* Inserts an AppEvent Record
*
* @param ad AppEvent Domain Object
*/
public void insert(AbstractDomain ad);
/**
* Updates an AppEvent Record
*
* @param ad AppEvent Domain Object
*/
public void update(AbstractDomain ad);
/**
* Deletes an AppEvent Record
*
* @param id Record Id
*/
public void delete(long id);
/**
* Retrieves an AppEvent Record
*
* @param id Record Id
* @return AbstractDomain AppEvent domain object
*/
public AbstractDomain findById(long id);
/**
* Retrieves a List of AppEvent Records
*
* @return List A List of AppEvent domain objects
*/
public List<AppEvent> findAll();
/**
* Retrieves a List of AppEvent Records using AUTH_ID as filter
*
* @return List A List of AppEvent domain objects
*/
public List<AppEvent> findAllByAuthId(String authId);
}
No comments:
Post a Comment