public class CaseManagementDocumentTypeServiceImpl extends DefaultComponent implements CaseManagementDocumentTypeService
Constructor and Description |
---|
CaseManagementDocumentTypeServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
String |
getCaseItemType() |
String |
getCaseLinkType()
Gets the core type of the Post
|
String |
getCaseType()
Gets the core type of the Post
|
String |
getMailboxType() |
void |
markDocumentAsCase(DocumentModel document)
Adds the needed facets to the given document in order to be used as a
case
|
void |
markDocumentAsCaseItem(DocumentModel document)
Adds the needed facets to the given document in order to be used as a
caseItem
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
applicationStarted, deactivate, getAdapter, registerExtension, unregisterExtension
public CaseManagementDocumentTypeServiceImpl()
public void activate(ComponentContext context) throws Exception
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime contextException
- if an error occurs during activationpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution
in class DefaultComponent
Exception
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public String getCaseType()
CaseManagementDocumentTypeService
getCaseType
in interface CaseManagementDocumentTypeService
public String getCaseLinkType()
CaseManagementDocumentTypeService
getCaseLinkType
in interface CaseManagementDocumentTypeService
public String getMailboxType()
getMailboxType
in interface CaseManagementDocumentTypeService
public String getCaseItemType()
getCaseItemType
in interface CaseManagementDocumentTypeService
public void markDocumentAsCase(DocumentModel document)
CaseManagementDocumentTypeService
markDocumentAsCase
in interface CaseManagementDocumentTypeService
public void markDocumentAsCaseItem(DocumentModel document)
CaseManagementDocumentTypeService
markDocumentAsCaseItem
in interface CaseManagementDocumentTypeService
Copyright © 2011 Nuxeo SA. All Rights Reserved.