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, PropertyChangeListener, Cloneable, EventListener
A data source that pulls from the class path.
-
Nested Class Summary
Nested classes/interfaces inherited from class WebSite
WebSite.Servlet -
Field Summary
Fields inherited from class WebSite
Refresh_Prop -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeleteFileImpl(WebFile aFile) Deletes a file.protected voiddeleteRowImpl(Row aRow) Deletes a given row.protected byte[]getFileBytesImpl(WebFile aFile) Returns file bytes.protected WebFilegetFileImpl(String aPath) Returns a WebFile for given path (if file exists).getFilesImpl(WebFile aFile) Returns a list of files at path.getName()Override to return name for ClassSite.getRowsImpl(Entity anEntity, Query aQuery) Returns a set of rows for the given properties and condition.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 WebSite
addDeepChangeListener, 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, toStringMethods inherited from class RMObject
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class RMListenerList
addListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
Constructor Details
-
ClassSite
public ClassSite()
-
-
Method Details
-
getName
-
getURLScheme
Override to return Protocol for ClassSite. -
getFileImpl
Returns a WebFile for given path (if file exists).- Overrides:
getFileImplin classWebSite
-
getFilesImpl
-
getFileBytesImpl
Description copied from class:WebSiteReturns file bytes.- Overrides:
getFileBytesImplin classWebSite- Throws:
IOException
-
saveFileImpl
-
deleteFileImpl
-
getRowsImpl
-
saveRowImpl
Description copied from class:WebSiteInserts or updates a given row.- Specified by:
saveRowImplin classWebSite
-
deleteRowImpl
Description copied from class:WebSiteDeletes a given row.- Specified by:
deleteRowImplin classWebSite
-