Пример #1
0
 /**
  * Get the named design element from the current application.
  *
  * @param sDesignName
  * @param iDesignType
  * @param sAppGroup
  * @param sAppName
  * @return null if not found or a Design element object
  */
 public DesignElement getDesignObject(
     String sDesignName, int iDesignType, String sAppGroup, String sAppName) {
   TornadoServerInstance tsi = TornadoServer.getInstance(m_SysCtx);
   return tsi.getDesignElement(sAppGroup, sAppName, sDesignName, iDesignType);
 }
Пример #2
0
 /**
  * Get the named design element from the current application.
  *
  * @param sDesignName The name of the design element as it appears in the design list eg
  *     "HomePage"
  * @param iDesignType Use DesignElement.DESIGN_TYPE_XXXXX eg DesignElement.DESIGN_TYPE_PAGE. the
  *     puakma.addin.http.document.DesignElement object for a list of types
  * @return null if not found
  */
 public DesignElement getDesignObject(String sDesignName, int iDesignType) {
   TornadoServerInstance tsi = TornadoServer.getInstance(m_SysCtx);
   return tsi.getDesignElement(m_rPath.Group, m_rPath.Application, sDesignName, iDesignType);
 }