Package lumis.content.wizard
Class ContentWizardManager
- java.lang.Object
-
- lumis.content.wizard.ContentWizardManager
-
- All Implemented Interfaces:
IContentWizardManager
public class ContentWizardManager extends java.lang.Object implements IContentWizardManager
Implements the content wizard back-end processing.- Since:
- 4.0.0
- Version:
- $Revision: 24854 $ $Date: 2022-02-16 15:45:57 -0300 (Wed, 16 Feb 2022) $
-
-
Constructor Summary
Constructors Constructor Description ContentWizardManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkCanEditSourceFields(SessionConfig sessionConfig, java.lang.String serviceId, ITransaction transaction)
Verifies if is possible to edit the first source fields of service.void
create(SessionConfig sessionConfig, ICreateParams createParams, ITransaction transaction)
boolean
delete(SessionConfig sessionConfig, java.lang.String id, ITransaction transaction)
Deletes a service created through the Content Wizard.void
editFields(SessionConfig sessionConfig, IEditFieldParams editFieldParams, ITransaction transaction)
Edit field of first service sourceContentWizardServiceConfig
findByServiceId(SessionConfig sessionConfig, java.lang.String serviceId, ITransaction transaction)
Returns a content wizard service information, given its service id.ContentWizardServiceConfig
get(SessionConfig sessionConfig, java.lang.String id, ITransaction transaction)
-
-
-
Method Detail
-
get
public ContentWizardServiceConfig get(SessionConfig sessionConfig, java.lang.String id, ITransaction transaction) throws ManagerException, PortalException
- Specified by:
get
in interfaceIContentWizardManager
- Throws:
ManagerException
PortalException
-
findByServiceId
public ContentWizardServiceConfig findByServiceId(SessionConfig sessionConfig, java.lang.String serviceId, ITransaction transaction) throws ManagerException, PortalException
Description copied from interface:IContentWizardManager
Returns a content wizard service information, given its service id.- Specified by:
findByServiceId
in interfaceIContentWizardManager
- Parameters:
sessionConfig
- the user session information.serviceId
- the serviceId.transaction
- the transaction for persistence access.- Returns:
- return the content wizard service config.
- Throws:
ManagerException
PortalException
-
delete
public boolean delete(SessionConfig sessionConfig, java.lang.String id, ITransaction transaction) throws ManagerException, PortalException
Description copied from interface:IContentWizardManager
Deletes a service created through the Content Wizard.- Specified by:
delete
in interfaceIContentWizardManager
- Returns:
- true if the service files were successfully excluded, false otherwise.
- Throws:
ManagerException
PortalException
-
create
public void create(SessionConfig sessionConfig, ICreateParams createParams, ITransaction transaction) throws PortalException
- Specified by:
create
in interfaceIContentWizardManager
- Throws:
PortalException
-
editFields
public void editFields(SessionConfig sessionConfig, IEditFieldParams editFieldParams, ITransaction transaction) throws PortalException
Description copied from interface:IContentWizardManager
Edit field of first service source- Specified by:
editFields
in interfaceIContentWizardManager
- Parameters:
sessionConfig
- the user session information.editFieldParams
- parameters to create and delete fields.transaction
- the transaction for persistence access.- Throws:
PortalException
-
checkCanEditSourceFields
public boolean checkCanEditSourceFields(SessionConfig sessionConfig, java.lang.String serviceId, ITransaction transaction) throws PortalException
Description copied from interface:IContentWizardManager
Verifies if is possible to edit the first source fields of service.- Specified by:
checkCanEditSourceFields
in interfaceIContentWizardManager
- Parameters:
sessionConfig
- the user session information.serviceId
- the serviceId.transaction
- the transaction for persistence access.- Returns:
- true whether the service is component in module.
- Throws:
PortalException
-
-