public abstract class AbstractSkinAction extends ServiceableAction
| Modifier and Type | Field and Description |
|---|---|
protected Context |
_cocoonContext
The cocoon context
|
protected SkinLockManager |
_lockManager
The lock manager
|
protected SkinModelsManager |
_modelsManager
The models manager
|
protected SiteManager |
_siteManager
The sites manager
|
protected SkinFactoryComponent |
_skinFactoryManager
The skin factory component
|
protected SkinEditionHelper |
_skinHelper
The skin edition helper
|
protected SkinsManager |
_skinsManager
The skin manager
|
protected UserManager |
_userManager
The users manager
|
protected CurrentUserProvider |
_userProvider
The user provider
|
static String |
SKIN_FACTORY_TOOL_ID
Constant for skin editor tool id
|
managerEMPTY_MAP| Constructor and Description |
|---|
AbstractSkinAction() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkLock(Request request,
File skinDir)
Determines the skin directory is locked.
|
protected boolean |
checkModelExists(Request request,
String modelName)
Determines if the model still exists
|
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic static final String SKIN_FACTORY_TOOL_ID
protected Context _cocoonContext
protected CurrentUserProvider _userProvider
protected SiteManager _siteManager
protected SkinFactoryComponent _skinFactoryManager
protected SkinModelsManager _modelsManager
protected SkinLockManager _lockManager
protected SkinEditionHelper _skinHelper
protected SkinsManager _skinsManager
protected UserManager _userManager
public AbstractSkinAction()
public void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class ServiceableActionServiceExceptionprotected boolean checkLock(Request request, File skinDir) throws IOException
request - The requestskinDir - The skin directoryIOException - if an exception occurs while manipulating the skin directoryprotected boolean checkModelExists(Request request, String modelName)
request - The requestmodelName - The model nametrue if the model still exists.