public class PopulateOdfTableRef extends AbstractLogEnabled implements Init, Serviceable, Contextualizable
Modifier and Type | Field and Description |
---|---|
private Context |
_cocoonContext |
private ContentTypeExtensionPoint |
_cTypeExtensionPoint |
private I18nUtils |
_i18nUtils |
private ServiceManager |
_manager |
private AmetysObjectResolver |
_resolver |
private ContentWorkflowHelper |
_workflowHelper |
Constructor and Description |
---|
PopulateOdfTableRef() |
Modifier and Type | Method and Description |
---|---|
private int |
_createEntryIfNotExists(String cTypeId,
Configuration itemConfig,
String parentCategoryId) |
private String |
_transform2ContentTypeId(String filename) |
void |
contextualize(Context context) |
void |
init()
Method to be implemented by user Init class.
|
void |
service(ServiceManager manager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private AmetysObjectResolver _resolver
private Context _cocoonContext
private I18nUtils _i18nUtils
private ContentTypeExtensionPoint _cTypeExtensionPoint
private ServiceManager _manager
private ContentWorkflowHelper _workflowHelper
public PopulateOdfTableRef()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
public void init() throws Exception
Init
private String _transform2ContentTypeId(String filename)
private int _createEntryIfNotExists(String cTypeId, Configuration itemConfig, String parentCategoryId) throws com.opensymphony.workflow.WorkflowException, ConfigurationException
com.opensymphony.workflow.WorkflowException
ConfigurationException