public interface IServiceInterfaceInContextEdit
Modifier and Type | Field and Description |
---|---|
static String |
LUMIS_INTERFACE_IN_CONTEXT_EDIT_ATTRIBUTE_NAME
The interface instance in context edit attribute name;
|
Modifier and Type | Method and Description |
---|---|
String |
getInContextEditMenu(SessionConfig sessionConfig,
IURLFactory urlFactory,
ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig,
String detailsLumItemId,
ITransaction transaction)
Returns in context edit menu XML string for the given service interface
instance.
|
String |
getInContextEditMenu(SessionConfig sessionConfig,
IURLFactory urlFactory,
String itemId,
String sourcePageId,
ITransaction transaction)
Returns in context edit menu XML string for the given content
(represented by a version's item id).
|
String |
processInContextEditContent(ServiceContainerRenderRequest renderRequest,
ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig,
String outputHTML,
ITransaction transaction)
Process in context edit content related attributes.
|
boolean |
removeInContextEditInterfaceInstance(SessionConfig sessionConfig,
IPortalMode portalMode,
ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig,
String html,
org.apache.wicket.util.string.AppendingStringBuffer sb,
String detailsLumItemId,
ITransaction transaction)
Removes in context editing interface instance related attributes if
needed.
|
static final String LUMIS_INTERFACE_IN_CONTEXT_EDIT_ATTRIBUTE_NAME
String getInContextEditMenu(SessionConfig sessionConfig, IURLFactory urlFactory, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, String detailsLumItemId, ITransaction transaction) throws PortalException
sessionConfig
- the session config.urlFactory
- the URL factory to be used during menu generation.serviceInterfaceInstanceConfig
- the interface instance config.detailsLumItemId
- the lumItemId passed to the source page.transaction
- the transaction.PortalException
String getInContextEditMenu(SessionConfig sessionConfig, IURLFactory urlFactory, String itemId, String sourcePageId, ITransaction transaction) throws PortalException
sessionConfig
- the session config.urlFactory
- the URL factory to be used during menu generation.itemId
- the item id.sourcePageId
- the source page identifier.transaction
- the transaction.PortalException
String processInContextEditContent(ServiceContainerRenderRequest renderRequest, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, String outputHTML, ITransaction transaction) throws PortalException
renderRequest
- the request.serviceInterfaceInstanceConfig
- the service interface instance.outputHTML
- the HTML to be processed.transaction
- the transaction.PortalException
boolean removeInContextEditInterfaceInstance(SessionConfig sessionConfig, IPortalMode portalMode, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, String html, org.apache.wicket.util.string.AppendingStringBuffer sb, String detailsLumItemId, ITransaction transaction) throws PortalException
sessionConfig
- the session config.portalMode
- the portal mode.serviceInterfaceInstanceConfig
- the interface instance.html
- the HTML to be processed.sb
- the String Buffer to store processed version of HTML.detailsLumItemId
- the lumItemId passed to the details interface (if the
interface is details).transaction
- the transaction.PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.