|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.common.searchservice.searchlibrary.resultset.elements.ResultSetRef
public class ResultSetRef
Placeholder for information on a ResultSet
chain
Constructor Summary | |
---|---|
ResultSetRef()
Creates a new ResultSetRef |
Method Summary | |
---|---|
boolean |
addResult(java.lang.String result)
Adds a new result in the results buffer |
boolean |
addText(java.lang.String result)
Adds a new result in the results buffer bypassing the validation |
void |
clear()
Clears the underying structures |
void |
clearResults()
Clears the underlying results buffer |
int |
getAccess()
Get the access leasing |
HeaderRef |
getCurrentHeader()
Retrieves info of the current header |
java.lang.String |
getCurrentHeaderName()
Retrieves the name of the current header |
java.util.Date |
getExpire_date()
Get the time leasing |
java.lang.String |
getHead()
Retrives the head part |
org.gcube.common.searchservice.searchlibrary.resultset.security.HeadMnemonic |
getHmnemonic()
Get security properties |
java.lang.String |
getInWrap()
Retrieves the file that shouldbe wrapped |
org.gcube.common.searchservice.searchlibrary.resultset.security.Mnemonic |
getMnemonic()
Get security properties |
java.util.Vector<java.lang.String> |
getResults()
Retrieves the results heald in the underlying buffer |
boolean |
inWrap()
Checks if there is a file o wrap |
boolean |
isDataFlow()
Returns whether or not this RS offeres on demand production of results |
boolean |
isForward()
Get the forward property |
void |
resetInWrap()
Sets that there is no file to wrap |
void |
setAccess(int a)
Sets whether or not this RS offeres erasure of parts |
void |
setCurrentHeader(HeaderRef header)
Sets the header info that is current |
void |
setCurrentHeaderName(java.lang.String header)
Sets the current header file name |
void |
setDataFlow(boolean dataFlow)
Sets whether or not this RS offeres on demand production of results |
void |
setExpire_date(java.util.Date expire_date)
Set the time leasing |
void |
setForward(boolean forward)
Set the forward property |
void |
setHead(java.lang.String head)
Sets the head file part of the chain |
void |
setHmnemonic(org.gcube.common.searchservice.searchlibrary.resultset.security.HeadMnemonic hmnemonic)
Set security properties |
void |
setInWrap(java.lang.String inwrap)
Set that the payload to be persisted should be done wrapping the provided file |
void |
setMnemonic(org.gcube.common.searchservice.searchlibrary.resultset.security.Mnemonic mnemonic)
Set security properties |
void |
setResults(java.util.Vector<java.lang.String> results)
Sets the underlying buffer to hold the provided records |
void |
updateHeaderNext(java.lang.String next)
Udates the next property of the current header |
void |
updateHeaderPrev(java.lang.String prev)
Udates the prev property of the current header |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultSetRef()
ResultSetRef
Method Detail |
---|
public void setHead(java.lang.String head)
head
- the head of the RSpublic void setCurrentHeader(HeaderRef header)
header
- The current headerpublic void setCurrentHeaderName(java.lang.String header)
header
- The current header file namepublic java.lang.String getHead()
public HeaderRef getCurrentHeader()
public java.lang.String getCurrentHeaderName()
public boolean addResult(java.lang.String result)
result
- The record to add
true
if the result was valid and was added,false
otherwisepublic boolean addText(java.lang.String result)
result
- The record to add
true
public java.util.Vector<java.lang.String> getResults()
public void setResults(java.util.Vector<java.lang.String> results)
results
- The records to holdpublic void updateHeaderNext(java.lang.String next) throws java.lang.Exception
next
- The value to be set
java.lang.Exception
- An unrecoverable for the operation error occuredpublic void updateHeaderPrev(java.lang.String prev) throws java.lang.Exception
prev
- The value to be set
java.lang.Exception
- An unrecoverable for the operation error occuredpublic void clearResults()
public void clear()
public void setInWrap(java.lang.String inwrap)
inwrap
- The file to wrappublic java.lang.String getInWrap()
public boolean inWrap()
true
if a file should be wrapped, false
otherwisepublic void resetInWrap()
public boolean isDataFlow()
true
if the RS offeres on demand production, false
otherwisepublic void setDataFlow(boolean dataFlow)
dataFlow
- true
if the RS offeres on demand production, false
otherwisepublic void setAccess(int a)
a
- tha access leasingpublic int getAccess()
public boolean isForward()
public void setForward(boolean forward)
forward
- true if forward property is to be enabledpublic java.util.Date getExpire_date()
public void setExpire_date(java.util.Date expire_date)
expire_date
- for how longpublic org.gcube.common.searchservice.searchlibrary.resultset.security.Mnemonic getMnemonic()
public void setMnemonic(org.gcube.common.searchservice.searchlibrary.resultset.security.Mnemonic mnemonic)
mnemonic
- the security related classpublic org.gcube.common.searchservice.searchlibrary.resultset.security.HeadMnemonic getHmnemonic()
public void setHmnemonic(org.gcube.common.searchservice.searchlibrary.resultset.security.HeadMnemonic hmnemonic)
hmnemonic
- the security related class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |