recordtimeworkflowint.java

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

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

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

/**
 * The RecordTimeWorkflowInt is the interface that ties the Bean with the Remote interface
 * to provide compile time type checking.
 */
public interface RecordTimeWorkflowInt
{
  /** Answers the current timecard. */
  public TimecardDTO getCurrentTimecard() throws DataCreateException,
                                    FatalApplicationException, RemoteException;

  /** Marks the current timecard as closed and create a new one. */
  public void submitTimecard() throws DataCreateException,
                                     FatalApplicationException,RemoteException;

  /** Adds/Updates/modifies the entries of the current timecard. */
  public void updateTimecard(TimecardDTO currentTimecard) throws DataUpdateException,
                  DataNotFoundException, FatalApplicationException, RemoteException;

  /**
   * Answers a ClientDTO with client related information- projects and
   * charge codes.
   */
  public ClientDTO getClient(String clientName) throws DataNotFoundException,
                                    FatalApplicationException, RemoteException;

  /**
   * Answers a Collection of ClientDTOs with client related information-
   * projects and charge codes.
   */
  public Collection getAllClients() throws DataNotFoundException,
                                    FatalApplicationException, RemoteException;

}

⌨️ 快捷键说明

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