lumis.content.core
Class ContentUtil

Package class diagram package ContentUtil
java.lang.Object
  extended by lumis.content.core.ContentUtil

public class ContentUtil
extends Object

Content utility class.

Since:
4.2.0

Constructor Summary
ContentUtil()
           
 
Method Summary
static String getOldItemIdParameter(IServiceInterfaceRequest request)
          Gets the itemId parameter for a request, trying to be most backward compatible with the 4.1 implementation logic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentUtil

public ContentUtil()
Method Detail

getOldItemIdParameter

public static String getOldItemIdParameter(IServiceInterfaceRequest request)
                                    throws PortalException
Gets the itemId parameter for a request, trying to be most backward compatible with the 4.1 implementation logic.

Uses the value of PortalRequestParameters.PAGE_PARAMETER_ITEM_ID as contentId, tries to discover the most appropriated contentVersion.itemId (data primary key) and returns it.

Parameters:
request - the request.
Returns:
the itemId, or null if it could not be obtained.
Throws:
PortalException
Since:
4.2.0


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.