public class GetAssetTag
extends atg.epub.pws.taglib.PWSResourceFileTagSupport
Modifier and Type | Class and Description |
---|---|
class |
GetAssetTag.Results
Results class for returning output for this tag
|
static class |
GetAssetTag.TEI
TagExtraInfo class to handle var/id processing.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
GetAssetTag()
Empty Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Returns a Results object which contains the asset of the given URI.
|
boolean |
getAllowFileRepositoryItems() |
java.lang.String |
geturi() |
boolean |
getUseWorkspaceInSession() |
java.lang.String |
getWorkspaceName() |
void |
release() |
void |
setAllowFileRepositoryItems(boolean pBool)
Instructs the tag to set the repositoryItem property in the results object,
even when the virtualFile property is also set.
|
void |
seturi(java.lang.String pURI)
Sets the asset uri string or version manager URI string to return an asset for
|
void |
setUseWorkspaceInSession(boolean pBool)
Instructs the tag to use the workspace in the session as the context.
|
void |
setWorkspaceName(java.lang.String pWorkspaceName)
Sets the optional workspaceName of the workspace to get the working version for
|
getCount, getCountAsInt, getIndex, getIndexAsInt, getTotalCountVar, setCount, setIndex, setTotalCount, setTotalCount, setTotalCountVar
getDynamoRequest, getId, getVar, isBlank, setId, setPageVariable, setScope, setVar
public void seturi(java.lang.String pURI)
pURI
- a version manager URI stringVersionManagerURI
public java.lang.String geturi()
public void setWorkspaceName(java.lang.String pWorkspaceName)
pWorkspaceName
- the name of the workspace to get the working version forpublic java.lang.String getWorkspaceName()
public void setUseWorkspaceInSession(boolean pBool)
public boolean getUseWorkspaceInSession()
public void setAllowFileRepositoryItems(boolean pBool)
public boolean getAllowFileRepositoryItems()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- if an empty or invalid URI is suppliedGetAssetTag.Results
,
CreateVersionManagerURITag
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class atg.web.tagsupport.CountTagSupport
Tag.release()