public class FolderClassCache extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
WEB_APP_ATTR
Name of the webapp attribute for the FolderClassCache.
|
| Constructor and Description |
|---|
FolderClassCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClass(FolderClass folderClass)
Adds a new class to the cache or overwrites an existing class.
|
void |
changeClass(FolderClass folderClass,
int eventId,
String sysRowId,
int mandant)
Adapt the given class.
|
FolderClass |
getClassByName(String className)
Returns the class matching the specified name or null if no such class can be found in the
cache.
|
static FolderClassCache |
getInstance() |
public static final String WEB_APP_ATTR
public static FolderClassCache getInstance()
public void addClass(FolderClass folderClass)
folderClass - class to add/updatepublic FolderClass getClassByName(String className)
className - name of the classpublic void changeClass(FolderClass folderClass, int eventId, String sysRowId, int mandant)
folderClass - New folder classeventId - Event IDsysRowId - SysRowIdmandant - MandantCopyright © 2016 SAPERION AG. All rights reserved.