|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.layout.dlm.EditManager
public class EditManager
Handles ILF node edit directives recorded in the PLF.
| Field Summary | |
|---|---|
static String |
RCS_ID
|
| Constructor Summary | |
|---|---|
EditManager()
|
|
| Method Summary | |
|---|---|
static void |
addPrefsDirective(Element plfNode,
String attributeName,
IPerson person)
Create and append a user preferences edit directive to the edit set if not there. |
static boolean |
applyEditSet(Element plfChild,
Element original)
Evaluate whether attribute changes exist in the ilfChild and if so apply them. |
static void |
removeEditDirective(String elementId,
String attributeName,
IPerson person)
Searches for a dlm:edit command which indicates that a node attribute was reset to the value in the fragment and if found removes it from the user's PLF. |
static void |
removePreferenceDirective(IPerson person,
String elementId,
String attributeName)
Searches for a dlm:pref command which indicates that a user preference was change and if found removes it from the user's PLF. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RCS_ID
| Constructor Detail |
|---|
public EditManager()
| Method Detail |
|---|
public static void addPrefsDirective(Element plfNode,
String attributeName,
IPerson person)
throws PortalException
PortalException
public static boolean applyEditSet(Element plfChild,
Element original)
public static void removePreferenceDirective(IPerson person,
String elementId,
String attributeName)
public static void removeEditDirective(String elementId,
String attributeName,
IPerson person)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||