|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.portlet.AJAXPortalManager
public class AJAXPortalManager
This class is a JSON Bridge used to access PortalManager method using ajax.
Constructor Summary | |
---|---|
AJAXPortalManager()
|
Method Summary | |
---|---|
protected String |
checkPortlet(PortalElement elm,
Member loggedMember,
String userLang)
Common utility method to check arguments |
String |
cutPortlet(String id,
int childCount,
boolean delete)
Convenient methode to cut/delete a Portlet |
protected Member |
getLoggedMember()
|
protected String |
getUserLang()
|
String |
movePortlet(String id,
int childCount,
boolean up)
Convenient methode to move a Portlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AJAXPortalManager()
Method Detail |
---|
protected Member getLoggedMember()
protected String getUserLang()
protected String checkPortlet(PortalElement elm, Member loggedMember, String userLang)
elm
- the Portlet to check
public String movePortlet(String id, int childCount, boolean up)
id
- the parent idchildCount
- the child positionup
- move up or down
public String cutPortlet(String id, int childCount, boolean delete)
id
- the parent idchildCount
- the child positiondelete
- should delete also the portlet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |