Package com.jalios.jcms.portlet
Class AJAXPortalManager
java.lang.Object
com.jalios.jcms.portlet.AJAXPortalManager
- All Implemented Interfaces:
Serializable
This class is a JSON Bridge used to access PortalManager
method using ajax.
- Since:
- jcms-5.5.0
- Author:
- Jean-Philippe Encausse
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcheckPortlet(PortalElement elm, Member loggedMember, String userLang) Common utility method to check argumentscutPortlet(String id, int childCount, boolean delete) Convenient methode to cut/delete a Portletprotected Memberprotected StringmovePortlet(String id, int childCount, boolean up) Convenient methode to move a Portlet
-
Constructor Details
-
AJAXPortalManager
public AJAXPortalManager()
-
-
Method Details
-
getLoggedMember
-
getUserLang
-
checkPortlet
Common utility method to check arguments- Parameters:
elm- the Portlet to check- Returns:
- String the error message
-
movePortlet
Convenient methode to move a Portlet- Parameters:
id- the parent idchildCount- the child positionup- move up or down- Returns:
- String the error message
-
cutPortlet
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
-