BannedUserFacadeRemote.java :  » Google-tech » dexter » ejb » Java Open Source

Java Open Source » Google tech » dexter 
dexter » ejb » BannedUserFacadeRemote.java
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ejb;

import entity.BannedUser;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author rahul
 */
@Remote
public interface BannedUserFacadeRemote {

    void create(BannedUser bannedUser);

    void edit(BannedUser bannedUser);

    void remove(BannedUser bannedUser);

    BannedUser find(Object id);

    List<BannedUser> findAll();

    public boolean ifBanned(entity.User user);

    public BannedUser findByUserId(Long userId);

}
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.