com.basecmp.taglibs.core
Class SAEPopupTag

java.lang.Object
  extended byTagSupport
      extended bycom.basecmp.taglibs.core.AbstractTag
          extended bycom.basecmp.taglibs.core.SAEPopupTag

public class SAEPopupTag
extends com.basecmp.taglibs.core.AbstractTag

For usage-description see Taglib-Docs. Created on 11.08.2004

See Also:
Serialized Form
Author:
Wolfgang Schröder

Constructor Summary
SAEPopupTag()
           
 
Method Summary
protected  java.lang.Long clientIdBySession()
          Returns the client-id (CID) from the session-attribute DOMAIN_CLIENT_ID.
protected  java.lang.String determineTagVarName(java.lang.String var)
           
protected  java.lang.String determineTagVarName(java.lang.String var, java.lang.String defaultName)
           
 int doEndTag()
           
protected  java.lang.Long domainIdByHttpHeader()
          Returns the domain-id (CID) using the Http-HOST-Header.
protected  java.lang.Long domainIdBySession()
          Returns the domain-id (CID) from the session-attribute USER_VIEWING_DOMAIN_ID.
protected  java.lang.String domainNameByHttpHeader()
          Returns the domain-name from the current request-header (HOST-header).
protected  java.lang.String domainNameBySession()
          Returns the domain-name from the session-attribute USER_VIEWING_DOMAIN.
 int doStartTag()
           
static java.util.List getAssetListForPage(int currentPageNo, PersistentAsset listDefinition, java.util.List listAssets)
          Extrahiert die Assets einer "Seite" aus einer Assetliste (ArrayList mit PersistentAssets) die Assets der aktuell darzustellenden Seite.
 java.lang.String getBindingtype()
           
static java.lang.String getErrorMsg(java.lang.String header, java.lang.String message)
           
 java.lang.String getMaxbindings()
           
 java.lang.String getMinbindings()
           
 java.lang.String getPassingattributes()
           
 java.lang.String getReftype()
           
 java.lang.String getReturntoassettype()
           
 java.lang.String getReturntocid()
           
 java.lang.String getReturntostartnode()
           
 java.lang.String getReturntotarget()
           
 java.lang.String getReturntourl()
           
 java.lang.String getReturntousecase()
           
 java.lang.String getSearchconfig()
           
 java.lang.String getSourcecid()
           
protected static java.util.Map getWrappedAsset(java.lang.Object asset, java.lang.String index)
           
protected  PersistentAsset retrievePersistentAsset(java.lang.Object requestedAsset)
           
 void setBindingtype(java.lang.String bindingtype)
           
 void setMaxbindings(java.lang.String maxbindings)
           
 void setMinbindings(java.lang.String minbindings)
           
 void setPassingattributes(java.lang.String passingattributes)
           
 void setReftype(java.lang.String reftype)
           
 void setReturntoassettype(java.lang.String returntoassettype)
           
 void setReturntocid(java.lang.String returntocid)
           
 void setReturntostartnode(java.lang.String returntostartnode)
           
 void setReturntotarget(java.lang.String returntotarget)
           
 void setReturntourl(java.lang.String returntourl)
           
 void setReturntousecase(java.lang.String returntousecase)
           
 void setSearchconfig(java.lang.String searchconfig)
           
 void setSourcecid(java.lang.String sourcecid)
           
protected  void write(java.lang.String jspout)
          Helper-Method to simplify writing content into th current page-delivery.
protected  void writeErrorMsg(java.lang.String header, java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAEPopupTag

public SAEPopupTag()
Method Detail

doEndTag

public int doEndTag()
             throws JspException
Throws:
JspException

doStartTag

public int doStartTag()
               throws JspException
Throws:
JspException

getBindingtype

public java.lang.String getBindingtype()
Returns:
Returns the bindingtype.

getMaxbindings

public java.lang.String getMaxbindings()
Returns:
Returns the maxbindings.

getMinbindings

public java.lang.String getMinbindings()
Returns:
Returns the minbindings.

getPassingattributes

public java.lang.String getPassingattributes()
Returns:
Returns the passingattributes.

getReftype

public java.lang.String getReftype()
Returns:
Returns the reftype.

getReturntoassettype

public java.lang.String getReturntoassettype()
Returns:
Returns the returntoassettype.

getReturntocid

public java.lang.String getReturntocid()
Returns:
Returns the returntocid.

getReturntostartnode

public java.lang.String getReturntostartnode()
Returns:
Returns the returntostartnode.

getReturntotarget

public java.lang.String getReturntotarget()
Returns:
Returns the returntotarget.

getReturntourl

public java.lang.String getReturntourl()
Returns:
Returns the returntourl.

getReturntousecase

public java.lang.String getReturntousecase()
Returns:
Returns the returntousecase.

getSearchconfig

public java.lang.String getSearchconfig()
Returns:
Returns the searchconfig.

getSourcecid

public java.lang.String getSourcecid()
Returns:
Returns the sourcecid.

setBindingtype

public void setBindingtype(java.lang.String bindingtype)
Parameters:
bindingtype - The bindingtype to set.

setMaxbindings

public void setMaxbindings(java.lang.String maxbindings)
Parameters:
maxbindings - The maxbindings to set.

setMinbindings

public void setMinbindings(java.lang.String minbindings)
Parameters:
minbindings - The minbindings to set.

setPassingattributes

public void setPassingattributes(java.lang.String passingattributes)
Parameters:
passingattributes - The passingattributes to set.

setReftype

public void setReftype(java.lang.String reftype)
Parameters:
reftype - The reftype to set.

setReturntoassettype

public void setReturntoassettype(java.lang.String returntoassettype)
Parameters:
returntoassettype - The returntoassettype to set.

setReturntocid

public void setReturntocid(java.lang.String returntocid)
Parameters:
returntocid - The returntocid to set.

setReturntostartnode

public void setReturntostartnode(java.lang.String returntostartnode)
Parameters:
returntostartnode - The returntostartnode to set.

setReturntotarget

public void setReturntotarget(java.lang.String returntotarget)
Parameters:
returntotarget - The returntotarget to set.

setReturntourl

public void setReturntourl(java.lang.String returntourl)
Parameters:
returntourl - The returntourl to set.

setReturntousecase

public void setReturntousecase(java.lang.String returntousecase)
Parameters:
returntousecase - The returntousecase to set.

setSearchconfig

public void setSearchconfig(java.lang.String searchconfig)
Parameters:
searchconfig - The searchconfig to set.

setSourcecid

public void setSourcecid(java.lang.String sourcecid)
Parameters:
sourcecid - The sourcecid to set.

clientIdBySession

protected java.lang.Long clientIdBySession()
Returns the client-id (CID) from the session-attribute DOMAIN_CLIENT_ID.

See Also:
SessionConstants#DOMAIN_CLIENT_ID

determineTagVarName

protected java.lang.String determineTagVarName(java.lang.String var)

determineTagVarName

protected java.lang.String determineTagVarName(java.lang.String var,
                                               java.lang.String defaultName)

domainIdByHttpHeader

protected java.lang.Long domainIdByHttpHeader()
Returns the domain-id (CID) using the Http-HOST-Header.


domainIdBySession

protected java.lang.Long domainIdBySession()
Returns the domain-id (CID) from the session-attribute USER_VIEWING_DOMAIN_ID.

See Also:
SessionConstants#USER_VIEWING_DOMAIN_ID

domainNameByHttpHeader

protected java.lang.String domainNameByHttpHeader()
Returns the domain-name from the current request-header (HOST-header). In case the header contains an http-port, the port is striped off.


domainNameBySession

protected java.lang.String domainNameBySession()
Returns the domain-name from the session-attribute USER_VIEWING_DOMAIN.

See Also:
SessionConstants#USER_VIEWING_DOMAIN

getAssetListForPage

public static java.util.List getAssetListForPage(int currentPageNo,
                                                 PersistentAsset listDefinition,
                                                 java.util.List listAssets)
Extrahiert die Assets einer "Seite" aus einer Assetliste (ArrayList mit PersistentAssets) die Assets der aktuell darzustellenden Seite.

Eine leere Liste wird zurückgegeben, wenn...

Parameters:
currentPageNo - aktuelle Seitennummer (Seiten-Zählung beginnt mit 0)
listDefinition - Metadaten-Listasset
listAssets - alle Assets einer Liste

getErrorMsg

public static java.lang.String getErrorMsg(java.lang.String header,
                                           java.lang.String message)

getWrappedAsset

protected static java.util.Map getWrappedAsset(java.lang.Object asset,
                                               java.lang.String index)

retrievePersistentAsset

protected PersistentAsset retrievePersistentAsset(java.lang.Object requestedAsset)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

write

protected void write(java.lang.String jspout)
Helper-Method to simplify writing content into th current page-delivery.

Parameters:
jspout - the content to write.

writeErrorMsg

protected void writeErrorMsg(java.lang.String header,
                             java.lang.String message)


Copyright © 2004 by basecmp® - Professional Web Solutions