Package com.saperion.ngc.util
Class FolderClassCache
java.lang.Object
com.saperion.ngc.util.FolderClassCache
Simple cache for folder classes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Name of the webapp attribute for the FolderClassCache. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.getClassByName
(String className) Returns the class matching the specified name or null if no such class can be found in the cache.static FolderClassCache
-
Field Details
-
WEB_APP_ATTR
Name of the webapp attribute for the FolderClassCache.- See Also:
-
-
Constructor Details
-
FolderClassCache
public FolderClassCache()
-
-
Method Details
-
getInstance
- Returns:
- The instance of the FolderClassCache for the current application context.
-
getClassByName
Returns the class matching the specified name or null if no such class can be found in the cache.- Parameters:
className
- name of the class- Returns:
- folder class
-