|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.module.A_CmsModuleAction
org.opencms.workplace.CmsWorkplaceAction
public class CmsWorkplaceAction
The workplace manager class to get the admin CmsObject.
Field Summary |
---|
Constructor Summary | |
---|---|
CmsWorkplaceAction()
Constructor for a photo album manager object. |
Method Summary | |
---|---|
CmsObject |
getCmsAdminObject()
Gets the admin cmsObject. |
static CmsWorkplaceAction |
getInstance()
Returns the instance of the login manager to use. |
void |
initialize(CmsObject adminCms,
CmsConfigurationManager configurationManager,
CmsModule module)
Will be called by the OpenCms system during server startup. |
Methods inherited from class org.opencms.module.A_CmsModuleAction |
---|
cmsEvent, moduleUninstall, moduleUpdate, publishProject, shutDown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsWorkplaceAction()
Method Detail |
---|
public static CmsWorkplaceAction getInstance()
public CmsObject getCmsAdminObject() throws CmsException
CmsException
- is something goes wrongpublic void initialize(CmsObject adminCms, CmsConfigurationManager configurationManager, CmsModule module)
I_CmsModuleAction
If a module requires special initialization code, this is a good place to to implement this functions.
Moreover, if the module requires special "one time" setup code, this should also be implemented here. For example if the module requires special DB tables to be created, you should implement a check if theses tables exist in this method, and if they don't exist create them as needed.
initialize
in interface I_CmsModuleAction
initialize
in class A_CmsModuleAction
adminCms
- an initialized CmsObject with "Admin" permissionsconfigurationManager
- the initialized OpenCms configuration managermodule
- the module of this action instanceA_CmsModuleAction.initialize(org.opencms.file.CmsObject, org.opencms.configuration.CmsConfigurationManager, org.opencms.module.CmsModule)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |