Package com.centraview.hr.timesheet

Examples of com.centraview.hr.timesheet.TimeSheetLocalHome


  {
    int  timesheetID = 0;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);


      timesheetID = remote.getTimeSheetID();
View Full Code Here


    int timesheetID = 0;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);


      timesheetID = remote.addTimeSheet(userId,tsvo);
View Full Code Here

  {
    TimeSheetVO tvo = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);


      tvo = remote.getTimeSheet(timesheetID);
View Full Code Here

  {
    int timesheetID = 0;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);

      remote.updateTimeSheet(individualID,tsvo);

    }catch(Exception e)
View Full Code Here

  public void deleteTimeSheet(int individualID , int timesheetID) throws AuthorizationFailedException
  {
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);


      remote.deleteTimeSheet(individualID,timesheetID);
View Full Code Here

  {
    Collection col = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);


      col = remote.getStatusInfo();
    }catch(Exception e)
View Full Code Here

  public void deleteTimeSlip(int individualID , String timeSlipIds) throws AuthorizationFailedException
  {
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      TimeSheetLocalHome home = (TimeSheetLocalHome)ic.lookup("local/TimeSheet");
      TimeSheetLocal remote = (TimeSheetLocal) home.create();
      remote.setDataSource(this.dataSource);
      remote.deleteTimeSlip(individualID,timeSlipIds);
    }catch(CreateException ce)
    {
      throw new EJBException(ce);
View Full Code Here

TOP

Related Classes of com.centraview.hr.timesheet.TimeSheetLocalHome

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.