Class GetSimBrief

java.lang.Object
org.deltava.dao.http.DAO
org.deltava.dao.http.GetSimBrief

public class GetSimBrief extends DAO
A Data Access Object to fetch SimBrief packages.
Since:
10.3
Version:
11.2
Author:
Luke
  • Constructor Details

    • GetSimBrief

      public GetSimBrief()
  • Method Details

    • load

      public BriefingPackage load(String id) throws DAOException
      Loads a SimBrief briefing package.
      Parameters:
      id - the briefing ID
      Returns:
      the raw XML string
      Throws:
      DAOException - if an I/O error occurs
    • refresh

      public String refresh(String userID, String staticID) throws DAOException
      Refreshes an existing SimBrief briefing package.
      Parameters:
      userID - the SimBrief user ID that generated the package
      staticID - the static ID
      Returns:
      the raw XML string
      Throws:
      DAOException - if an I/O error occurs