loginworkflowint.java

来自「考勤管理系统源码」· Java 代码 · 共 24 行

JAVA
24
字号
package com.wiley.compBooks.EJwithUML.TimeCardWorkflow;

import java.rmi.*;
import javax.ejb.*;
import com.wiley.compBooks.EJwithUML.Base.ApplicationExceptions.*;

/**
 * The LoginWorkflowInt is the interface that ties the Bean with the Remote interface
 * to provide compile time type checking.
 */
public interface LoginWorkflowInt
{
  /** Answers true if the password is correct for the specified user. */
  public boolean isUserValid(String username, String password) throws
                                        DataNotFoundException, RemoteException;

  /** Answers true if the password is due to be changed. */
  public boolean isPasswordChangeRequired(String username) throws
                                        DataNotFoundException, RemoteException;

  /** Sets the password, if the old password is valid. */
  public void setPassword(String username, String oldPassword, String newPassword)
           throws InvalidDataException, DataNotFoundException, RemoteException;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?