|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.file.FileMonitorUtil
public class FileMonitorUtil
Contains file monitoring constants and utility methods.
Field Summary | |
---|---|
static String |
AGGREGATION_TYPE_FILE_ID
Key for file id aggregation type. |
static String |
AGGREGATION_TYPE_FILE_NAME
Key for file name aggregation type. |
static String |
EVENT_FILE_DOWNLOAD
Key for file download event. |
static String |
EVENT_FILE_UPLOAD
Key for file upload event. |
static String |
STRING_RESOURCE_PATH
The string resource path using for localizing file monitoring strings. |
Constructor Summary | |
---|---|
FileMonitorUtil()
|
Method Summary | |
---|---|
static IMonitor |
getFileDownloadMonitor(FileConfig fileConfig,
ITransaction transaction)
Returns a monitor for the "lumis.portal.file.ev.download" event. |
static IMonitor |
getFileUploadMonitor(FileConfig fileConfig,
ITransaction transaction)
Returns a monitor for the "lumis.portal.file.ev.upload" event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String STRING_RESOURCE_PATH
public static final String EVENT_FILE_DOWNLOAD
public static final String EVENT_FILE_UPLOAD
public static final String AGGREGATION_TYPE_FILE_ID
public static final String AGGREGATION_TYPE_FILE_NAME
Constructor Detail |
---|
public FileMonitorUtil()
Method Detail |
---|
public static IMonitor getFileDownloadMonitor(FileConfig fileConfig, ITransaction transaction) throws PortalException
fileConfig
- the FileConfig that is being downloaded.transaction
- the transaction for persistence access.
PortalException
public static IMonitor getFileUploadMonitor(FileConfig fileConfig, ITransaction transaction) throws PortalException
fileConfig
- the FileConfig that is being uploaded.transaction
- the transaction for persistence access.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |