| 
 | Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
   oracle.stellent.wcm.server.request.SiteRequestLogic<DataFileRequest>
oracle.stellent.wcm.server.request.SiteRequestLogic<DataFileRequest>
       oracle.stellent.wcm.server.request.dataFile.DataFileLogic
oracle.stellent.wcm.server.request.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(ClientApplication clientApplication) | |
| Method Summary | |
|---|---|
|  LazyLoadingContent | 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 | validateSiteRequest(DataFileRequest request)Verify the request parameters | 
| Methods inherited from class oracle.stellent.wcm.server.request.SiteRequestLogic | 
|---|
| checkSecurity, checkSecurity, getClientApplication, getProject, getProject, getSection, getSection, 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(ClientApplication clientApplication)
| Method Detail | 
|---|
public ExpressionParser getExpressionParser()
public void validateSiteRequest(DataFileRequest request)
                         throws SiteRequestException
SiteRequestLogicvalidateSiteRequest in class SiteRequestLogic<DataFileRequest>request - the requestSiteRequestException - if the parameters are not valid
public LazyLoadingContent getContent(DataFileRequest request)
                              throws SiteRequestException
request - the data file commandSiteRequestException
public ContentAdapter.DataFileParams getDataFileSpiParams(DataFileRequest request)
                                                   throws SiteRequestException
request - the data file commandSiteRequestException
public DataFile getDataFile(DataFileRequest request)
                     throws SiteRequestException
request - the data file commandSiteRequestException
public ConversionsDefinition getConversionDefinition(DataFileRequest request)
                                              throws SiteRequestException
request - the data file commandSiteRequestException
public java.lang.String getDCKey(DataFileRequest request,
                                 java.lang.String rulename)
                          throws SiteRequestException
request - the data file commandrulename - ConversionRuleSiteRequestException
protected void parseExpressions(DataFile dataFile)
                         throws DataFileException
dataFile - the data fileDataFileException
protected void parseExpressions(TextElement textElement)
                         throws DataFileException
textElement - the text elementSiteRequestExceptionDataFileException
protected DataFile getNonXmlDataFile(java.lang.String content)
                              throws java.io.IOException
content - the contentjava.io.IOException| 
 | Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||