|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.wcm.server.request.logic.RequestLogic<DataFileRequest>
oracle.stellent.wcm.server.request.logic.dataFile.DataFileLogic
public class DataFileLogic
Data file business methods.
| Field Summary | |
|---|---|
static java.lang.String |
DATAFILE_EXPRESIONS_KEY |
static java.lang.String |
DEFAULT_ELEMENT_NAME |
| Constructor Summary | |
|---|---|
DataFileLogic(ServerContext serverContext) |
|
| Method Summary | |
|---|---|
ProviderContent |
getContent(DataFileRequest request) |
ConversionsDefinition |
getConversionDefinition(DataFileRequest request)Retrieve the conversion definition for the project on this site request |
DataFile |
getDataFile(DataFileRequest request) |
ContentAdapter.DataFileParams |
getDataFileSpiParams(DataFileRequest request) |
java.lang.String |
getDCKey(DataFileRequest request, java.lang.String rulename)get the location where the conversion is stored |
ExpressionParser |
getExpressionParser() |
protected DataFile |
getNonXmlDataFile(java.lang.String content)Create a ManagedDataFile wrapper around the content; used for wrapping non-XML data files (i.e. |
protected void |
parseExpressions(DataFile dataFile)Parse the data file expressions |
protected void |
parseExpressions(TextElement textElement)Parse the expressions in the text element and set the expression value |
void |
validateRequest(DataFileRequest request)Verify the request parameters |
| Methods inherited from class oracle.stellent.wcm.server.request.logic.RequestLogic |
|---|
checkSecurity, checkSecurity, getProject, getProject, getSection, getSection, getServerContext, getStructure, isSectionAvailable, setRequestSiteID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_ELEMENT_NAME
public static final java.lang.String DATAFILE_EXPRESIONS_KEY
| Constructor Detail |
|---|
public DataFileLogic(ServerContext serverContext)
| Method Detail |
|---|
public ExpressionParser getExpressionParser()
public void validateRequest(DataFileRequest request)
throws RequestException
RequestLogicvalidateRequest in class RequestLogic<DataFileRequest>request - the requestRequestException - if the parameters are not valid
public ProviderContent getContent(DataFileRequest request)
throws RequestException
request - the data file commandRequestException
public ContentAdapter.DataFileParams getDataFileSpiParams(DataFileRequest request)
throws RequestException
request - the data file commandRequestException
public DataFile getDataFile(DataFileRequest request)
throws RequestException
request - the data file commandRequestException
public ConversionsDefinition getConversionDefinition(DataFileRequest request)
throws RequestException
request - the data file commandRequestException
public java.lang.String getDCKey(DataFileRequest request,
java.lang.String rulename)
throws RequestException
request - the data file commandrulename - ConversionRuleRequestException
protected void parseExpressions(DataFile dataFile)
throws DataFileException
dataFile - the data fileDataFileException
protected void parseExpressions(TextElement textElement)
throws DataFileException
textElement - the text elementRequestExceptionDataFileException
protected DataFile getNonXmlDataFile(java.lang.String content)
throws java.io.IOException
content - the contentjava.io.IOException
|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||