Package com.jalios.jcms.portlet
Class AJAXPortalManager
- java.lang.Object
 - 
- com.jalios.jcms.portlet.AJAXPortalManager
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public class AJAXPortalManager extends java.lang.Object implements java.io.SerializableThis class is a JSON Bridge used to access PortalManager method using ajax.- Since:
 - jcms-5.5.0
 - Version:
 - $Revision: 107554 $
 - Author:
 - Jean-Philippe Encausse
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AJAXPortalManager() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringcheckPortlet(PortalElement elm, Member loggedMember, java.lang.String userLang)Common utility method to check argumentsjava.lang.StringcutPortlet(java.lang.String id, int childCount, boolean delete)Convenient methode to cut/delete a Portletprotected MembergetLoggedMember()protected java.lang.StringgetUserLang()java.lang.StringmovePortlet(java.lang.String id, int childCount, boolean up)Convenient methode to move a Portlet 
 - 
 
- 
- 
Method Detail
- 
getLoggedMember
protected Member getLoggedMember()
 
- 
getUserLang
protected java.lang.String getUserLang()
 
- 
checkPortlet
protected java.lang.String checkPortlet(PortalElement elm, Member loggedMember, java.lang.String userLang)
Common utility method to check arguments- Parameters:
 elm- the Portlet to check- Returns:
 - String the error message
 
 
- 
movePortlet
public java.lang.String movePortlet(java.lang.String id, int childCount, boolean up)Convenient methode to move a Portlet- Parameters:
 id- the parent idchildCount- the child positionup- move up or down- Returns:
 - String the error message
 
 
- 
cutPortlet
public java.lang.String cutPortlet(java.lang.String id, int childCount, boolean delete)Convenient methode to cut/delete a Portlet- Parameters:
 id- the parent idchildCount- the child positiondelete- should delete also the portlet- Returns:
 - String the error message
 
 
 - 
 
 -