public abstract class Page extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
FALSE |
SoftReference<Struct> |
metaData |
static boolean |
TRUE |
UDFProperties[] |
udfs |
Constructor and Description |
---|
Page() |
Modifier and Type | Method and Description |
---|---|
Object |
call(PageContext pc)
method to invoke a page
|
long |
getCompileTime()
return the time when the file was compiled
|
ImportDefintion[] |
getImportDefintions() |
byte |
getLoadType() |
PageSource |
getPageSource() |
long |
getSourceLastModified()
return when the source file last time was modified
|
CIPage[] |
getSubPages() |
long |
getVersion()
return version definition of the page
|
void |
setLoadType(byte loadType) |
void |
setPageSource(PageSource pageSource) |
String |
str(PageContext pc,
int off,
int len) |
void |
threadCall(PageContext pageContext,
int threadIndex) |
Object |
udfCall(PageContext pageContext,
UDF udf,
int functionIndex) |
Object |
udfDefaultValue(PageContext pc,
int functionIndex,
int argumentIndex,
Object defaultValue) |
public static boolean FALSE
public static boolean TRUE
public SoftReference<Struct> metaData
public UDFProperties[] udfs
public long getVersion()
public Object call(PageContext pc) throws Throwable
pc
- PageContextThrowable
public long getSourceLastModified()
public long getCompileTime()
public String str(PageContext pc, int off, int len) throws IOException, PageException
IOException
PageException
public void setPageSource(PageSource pageSource)
pageSource
- public PageSource getPageSource()
public byte getLoadType()
public void setLoadType(byte loadType)
loadType
- sets the load typepublic Object udfCall(PageContext pageContext, UDF udf, int functionIndex) throws Throwable
Throwable
public void threadCall(PageContext pageContext, int threadIndex) throws Throwable
Throwable
public Object udfDefaultValue(PageContext pc, int functionIndex, int argumentIndex, Object defaultValue)
public ImportDefintion[] getImportDefintions()
public CIPage[] getSubPages()
Copyright © 2016. All rights reserved.