Class ClassSite
- java.lang.Object
- 
- com.inductiveautomation.rm.base.RMListenerList
- 
- com.inductiveautomation.rm.base.RMObject
- 
- com.inductiveautomation.snap.web.WebSite
- 
- com.inductiveautomation.snap.websites.ClassSite
 
 
 
 
- 
- All Implemented Interfaces:
- RMJSONArchiver.GetKeys,- RMPropertyChanger,- java.beans.PropertyChangeListener,- java.lang.Cloneable,- java.util.EventListener
 
 public class ClassSite extends WebSite A data source that pulls from the class path.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.inductiveautomation.snap.web.WebSiteWebSite.Servlet
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.snap.web.WebSiteRefresh_Prop
 
- 
 - 
Constructor SummaryConstructors Constructor Description ClassSite()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeleteFileImpl(WebFile aFile)Deletes a file.protected voiddeleteRowImpl(Row aRow)Deletes a given row.protected byte[]getFileBytesImpl(WebFile aFile)Returns file bytes.protected WebFilegetFileImpl(java.lang.String aPath)Returns a WebFile for given path (if file exists).protected java.util.List<WebFile>getFilesImpl(WebFile aFile)Returns a list of files at path.java.lang.StringgetName()Override to return name for ClassSite.protected java.util.List<Row>getRowsImpl(Entity anEntity, Query aQuery)Returns a set of rows for the given properties and condition.java.lang.StringgetURLScheme()Override to return Protocol for ClassSite.protected voidsaveFileImpl(WebFile aFile)Saves a file.protected voidsaveRowImpl(Row aRow)Inserts or updates a given row.- 
Methods inherited from class com.inductiveautomation.snap.web.WebSiteaddDeepChangeListener, bulkImport, createClassLoader, createDataTable, createDataTableImpl, createEntity, createEntityImpl, createFile, createFileImpl, createRow, createRow, createRowImpl, createSandbox, createSandboxURL, createSandboxURLS, createSchema, createSite, createURL, deleteEntity, deleteEntityImpl, deleteFile, deleteRow, deleteSite, flush, flushImpl, getClassLoader, getDataTable, getDataTables, getEntity, getEntityImpl, getExists, getFile, getHostName, getJSONKeys, getModifiedTime, getPassword, getPath, getProp, getRequest, getResponse, getRootDirectory, getRow, getRow, getRowImpl, getRows, getSandbox, getSchema, getServlet, getStandardFile, getURL, getURL, getURLString, getUserName, handleDelete, handleGet, handleHead, handlePut, isRunning, propertyChange, refresh, refreshFile, refreshFileImpl, removeDeepChangeListener, saveEntity, saveEntityImpl, saveFile, saveRow, setClassLoader, setExists, setModifiedTime, setModifiedTimeImpl, setPassword, setProp, setSandbox, setServlet, setURL, setUserName, toString
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
getNamepublic java.lang.String getName() Override to return name for ClassSite.
 - 
getURLSchemepublic java.lang.String getURLScheme() Override to return Protocol for ClassSite.
 - 
getFileImplprotected WebFile getFileImpl(java.lang.String aPath) Returns a WebFile for given path (if file exists).- Overrides:
- getFileImplin class- WebSite
 
 - 
getFilesImplprotected java.util.List<WebFile> getFilesImpl(WebFile aFile) Description copied from class:WebSiteReturns a list of files at path.- Overrides:
- getFilesImplin class- WebSite
 
 - 
getFileBytesImplprotected byte[] getFileBytesImpl(WebFile aFile) throws java.io.IOException Description copied from class:WebSiteReturns file bytes.- Overrides:
- getFileBytesImplin class- WebSite
- Throws:
- java.io.IOException
 
 - 
saveFileImplprotected void saveFileImpl(WebFile aFile) throws java.lang.Exception Description copied from class:WebSiteSaves a file.- Overrides:
- saveFileImplin class- WebSite
- Throws:
- java.lang.Exception
 
 - 
deleteFileImplprotected void deleteFileImpl(WebFile aFile) throws java.lang.Exception Description copied from class:WebSiteDeletes a file.- Overrides:
- deleteFileImplin class- WebSite
- Throws:
- java.lang.Exception
 
 - 
getRowsImplprotected java.util.List<Row> getRowsImpl(Entity anEntity, Query aQuery) Description copied from class:WebSiteReturns a set of rows for the given properties and condition.- Specified by:
- getRowsImplin class- WebSite
 
 - 
saveRowImplprotected void saveRowImpl(Row aRow) Description copied from class:WebSiteInserts or updates a given row.- Specified by:
- saveRowImplin class- WebSite
 
 - 
deleteRowImplprotected void deleteRowImpl(Row aRow) Description copied from class:WebSiteDeletes a given row.- Specified by:
- deleteRowImplin class- WebSite
 
 
- 
 
-