Examples of BIObject


Examples of it.eng.spagobi.analiticalmodel.document.bo.BIObject

    }
   
    IBIObjectDAO biObjectDAO = DAOFactory.getBIObjectDAO();
    String biobjectIdStr = (String) eventParams.get("biobjectId");
    Integer biObjectId = new Integer(biobjectIdStr);
    BIObject biObject = biObjectDAO.loadBIObjectById(biObjectId);

    response.setAttribute("biobject", biObject);
    SubreportDAOHibImpl subreportDAOHibImpl = new SubreportDAOHibImpl();
    List list = subreportDAOHibImpl.loadSubreportsByMasterRptId(biObject.getId());
    List biObjectList = new ArrayList();
    for(int i = 0; i < list.size(); i++) {
      Subreport subreport = (Subreport)list.get(i);
      BIObject biobj = biObjectDAO.loadBIObjectForDetail(subreport.getSub_rpt_id());
      biObjectList.add(biobj);
    }
    response.setAttribute("linkedBIObjects", biObjectList);
    response.setAttribute("PUBLISHER_NAME", "TalendExecutionEventLogDetailPublisher");
  }
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.bo.BIObject

      return getParameterMap(object, profile, roleName);
  }

  Map map = new Hashtable();
  try {
      BIObject biobj = (BIObject) object;
      map = getMap(biobj);
      SubObject subObjectDetail = (SubObject) subObject;

      Integer id = subObjectDetail.getId();
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.bo.BIObject

   
  }
 
  private String getFileName() {
    String filename = "";
    BIObject analyticalDoc;
    List analyticalDrivers; // questi sono i parametri associati al doc
    BIObjectParameter analyticalDriver;
    String extension = "pdf";
   
    analyticalDoc = getBiObj();
    analyticalDrivers = analyticalDoc.getBiObjectParameters();
    for(int i = 0; i < analyticalDrivers.size(); i++) {
      analyticalDriver = (BIObjectParameter)analyticalDrivers.get(i);
     
      String parameterUrlName = analyticalDriver.getParameterUrlName();
      List values = analyticalDriver.getParameterValues();
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.bo.BIObject

   */
  public Map getParameterMap(Object biobject, IEngUserProfile profile, String roleName) {
    logger.debug("IN");
    Map map = new Hashtable();
    try{
      BIObject biobj = (BIObject)biobject;
      map = getMap(biobj, profile);
    } catch (ClassCastException cce) {
      logger.error("The parameter is not a BIObject type",cce);
    }
    map = applySecurity(map, profile);
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.bo.BIObject

     */
  public Map getParameterMap(Object object, Object subObject, IEngUserProfile profile, String roleName) {
    logger.debug("IN");
    Map map = new Hashtable();
    try{
      BIObject biobj = (BIObject)object;
      map = getMap(biobj, profile);
    } catch (ClassCastException e) {
      logger.error("The parameter is not a BIObject type",e);
    }
    map = applySecurity(map, profile);
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.bo.BIObject

   * @throws InvalidOperationRequest the invalid operation request
   */
  public EngineURL getEditDocumentTemplateBuildUrl(Object biobject, IEngUserProfile profile)
  throws InvalidOperationRequest {
    logger.debug("IN");
    BIObject obj = null;
    try {
      obj = (BIObject) biobject;
    } catch (ClassCastException cce) {
      logger.error("The input object is not a BIObject type", cce);
      return null;
    }
    Engine engine = obj.getEngine();
    String url = engine.getUrl();
    HashMap parameters = new HashMap();
    String documentId = obj.getId().toString();
    parameters.put("document", documentId);
    parameters.put("isSpagoBIDev", "true");
    applyLocale(parameters);
    applySecurity(parameters, profile);
    EngineURL engineURL = new EngineURL(url, parameters);
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.bo.BIObject

   * @throws InvalidOperationRequest the invalid operation request
   */
  public EngineURL getNewDocumentTemplateBuildUrl(Object biobject, IEngUserProfile profile)
  throws InvalidOperationRequest {
    logger.debug("IN");
    BIObject obj = null;
    try {
      obj = (BIObject) biobject;
    } catch (ClassCastException cce) {
      logger.error("The input object is not a BIObject type", cce);
      return null;
    }
    Engine engine = obj.getEngine();
    String url = engine.getUrl();
    HashMap parameters = new HashMap();
    String documentId = obj.getId().toString();
    parameters.put("document", documentId);
    parameters.put("isSpagoBIDev", "true");
    parameters.put("isNewDocument", "true");
    applyLocale(parameters);
    applySecurity(parameters, profile);
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.bo.BIObject

   */
  public Map getParameterMap(Object biobject, IEngUserProfile profile, String roleName) {
    logger.debug("IN");
    Map map = new Hashtable();
    try{
      BIObject biobj = (BIObject)biobject;
      map = getMap(biobj);
      //map.put("user", profile.getUserUniqueIdentifier());
    } catch (ClassCastException cce) {
      logger.error("The parameter is not a BIObject type", cce);
    }
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.bo.BIObject

   *
   * @return Map The map of the execution call parameters
   */
  public Map getParameterMap(Object analyticalDocument, IEngUserProfile profile, String roleName) {
    Map parameters;
    BIObject biObject;
   
    logger.debug("IN");
   
    try {
      Assert.assertNotNull(analyticalDocument, "Input parameter [analyticalDocument] cannot be null");
View Full Code Here

Examples of it.eng.spagobi.analiticalmodel.document.bo.BIObject

   * @return Map The map of the execution call parameters
   */
  public Map getParameterMap(Object analyticalDocument, Object analyticalDocumentSubObject, IEngUserProfile profile, String roleName) {
   
    Map parameters;
    BIObject biObject;
    SubObject subObject;
   
    logger.debug("IN");
   
    try{
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.