CREATE PACKAGE "RELEASE_MANAGER"."PK_BUILDAPI" 
IS
/*
------------------------------
||  Last Modified:  Rupesh Solanki
||  Modified Date:  26/Jun/2007
||  Spec Version:   3.0
------------------------------
*/

   /*================================================================================================*/
   PROCEDURE add_product_component (
      npvid           IN   NUMBER,
      sosname         IN   VARCHAR2,
      sorigfilepath   IN   VARCHAR2,
      sfilename       IN   VARCHAR2,
      sdestfilepath   IN   VARCHAR2,
      nbytesize       IN   NUMBER,
      scrccksum       IN   VARCHAR2
   );

   PROCEDURE remove_all_product_components (
      npvid     IN   NUMBER,
      sosname   IN   VARCHAR2
   );

/*================================================================================================*/
   FUNCTION get_osid (sosname IN VARCHAR2)
      RETURN NUMBER;

/*================================================================================================*/
   PROCEDURE update_build_service (
      sdatabaseserver   IN   VARCHAR2,
      swebserver        IN   VARCHAR2,
      smailserver       IN   VARCHAR2,
      smailsender       IN   VARCHAR2,
      sdiskspace        IN   VARCHAR2,
      ssbommanagement   IN   VARCHAR2
   );

/*================================================================================================*/
   PROCEDURE add_gbe_machtype (sgbevalue IN VARCHAR2);

/*================================================================================================*/
   PROCEDURE remove_gbe_machtype (ngbe_id IN NUMBER);

/*================================================================================================*/
   PROCEDURE update_gbe_machtype (ngbe_id IN NUMBER, sgbevalue IN VARCHAR2);

/*================================================================================================*/
   PROCEDURE add_daemon (
      sdaemonhostname   IN   VARCHAR2,
      nrtagid           IN   NUMBER,
      ngbeid            IN   NUMBER,
      sgbebuildfilter   IN   VARCHAR2
   );

/*================================================================================================*/
   PROCEDURE delete_daemon (srconidlist IN VARCHAR2);

/*================================================================================================*/
   PROCEDURE update_daemon (
      sdaemonhostname   IN   VARCHAR2,
      nrconid           IN   NUMBER,
      ngbeid            IN   NUMBER,
      sgbebuildfilter   IN   VARCHAR2
   );

/*================================================================================================*/
   PROCEDURE insert_schedule_info (
      dschedulepause     IN   DATE,
      dscheduleresume    IN   DATE,
      crepeat            IN   VARCHAR2,
      cindefinitepause   IN   VARCHAR2
   );

/*================================================================================================*/
   PROCEDURE delete_schedule (nscheduleid IN NUMBER);

/*================================================================================================*/
   PROCEDURE set_infinite_pause;

/*================================================================================================*/
   PROCEDURE set_resume;

/*================================================================================================*/
   PROCEDURE delete_out_of_date_schedule;

/*================================================================================================*/
   PROCEDURE set_daemon_resume (nrconid IN NUMBER);

/*================================================================================================*/
   PROCEDURE set_daemon_pause (nrconid IN NUMBER);
/*================================================================================================*/
END pk_buildapi;
/
