|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.content.incontextedit.ContentServiceInterfaceInContextEdit
public class ContentServiceInterfaceInContextEdit
Content implementation for IServiceInterfaceInContextEdit
.
Field Summary |
---|
Fields inherited from interface lumis.portal.incontextedit.IServiceInterfaceInContextEdit |
---|
LUMIS_INTERFACE_IN_CONTEXT_EDIT_ATTRIBUTE_NAME |
Constructor Summary | |
---|---|
ContentServiceInterfaceInContextEdit()
|
Method Summary | |
---|---|
String |
getInContextEditMenu(SessionConfig sessionConfig,
ServiceInterfaceInstanceConfig interfaceInstance,
String detailsLumItemId,
ITransaction transaction)
Returns in context edit menu XML string for the given service interface instance. |
String |
getInContextEditMenu(SessionConfig sessionConfig,
String lumItemId,
String sourcePageId,
ITransaction transaction)
Returns in context edit menu XML string for the given content (represented by a version's item id). |
boolean |
isInContextEditEnabled(SessionConfig sessionConfig,
ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig,
ITransaction transaction)
Returns whether or not in context edit is enabled for the given service interface instance. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentServiceInterfaceInContextEdit()
Method Detail |
---|
public boolean isInContextEditEnabled(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ITransaction transaction) throws PortalException
sessionConfig
- the session config.serviceInterfaceInstanceConfig
- the service interface isntance config.transaction
- the transaction.
PortalException
public String getInContextEditMenu(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig interfaceInstance, String detailsLumItemId, ITransaction transaction) throws PortalException
IServiceInterfaceInContextEdit
getInContextEditMenu
in interface IServiceInterfaceInContextEdit
sessionConfig
- the session config.interfaceInstance
- the interface instance config.detailsLumItemId
- the lumItemId passed to the source page.transaction
- the transaction.
PortalException
public String getInContextEditMenu(SessionConfig sessionConfig, String lumItemId, String sourcePageId, ITransaction transaction) throws PortalException
IServiceInterfaceInContextEdit
getInContextEditMenu
in interface IServiceInterfaceInContextEdit
sessionConfig
- the session config.lumItemId
- the item id.sourcePageId
- the source page identifier.transaction
- the transaction.
PortalException
public String processInContextEditContent(ServiceContainerRenderRequest renderRequest, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, String outputHTML, ITransaction transaction) throws PortalException
IServiceInterfaceInContextEdit
processInContextEditContent
in interface IServiceInterfaceInContextEdit
renderRequest
- the request.serviceInterfaceInstanceConfig
- the service interface instance.outputHTML
- the HTML to be processed.transaction
- the transaction.
PortalException
public boolean removeInContextEditInterfaceInstance(SessionConfig sessionConfig, IPortalMode portalMode, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, String html, org.apache.wicket.util.string.AppendingStringBuffer sb, String detailsLumItemId, ITransaction transaction) throws PortalException
IServiceInterfaceInContextEdit
removeInContextEditInterfaceInstance
in interface IServiceInterfaceInContextEdit
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |