|
||||||||||
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 | |
---|---|
private static RDBMDistributedLayoutStore |
dls
|
static java.lang.String |
RCS_ID
|
Constructor Summary | |
---|---|
EditManager()
|
Method Summary | |
---|---|
private static void |
addDirective(org.w3c.dom.Element plfNode,
java.lang.String attributeName,
java.lang.String type,
IPerson person)
Create and append an edit directive to the edit set if not there. |
(package private) static void |
addEditDirective(org.w3c.dom.Element plfNode,
java.lang.String attributeName,
IPerson person)
Create and append an edit directive to the edit set if not there. |
static void |
addPrefsDirective(org.w3c.dom.Element plfNode,
java.lang.String attributeName,
IPerson person)
Create and append a user preferences edit directive to the edit set if not there. |
static boolean |
applyEditSet(org.w3c.dom.Element plfChild,
org.w3c.dom.Element original)
Evaluate whether attribute changes exist in the ilfChild and if so apply them. |
private static RDBMDistributedLayoutStore |
getDLS()
Hands back the single instance of RDBMDistributedLayoutStore. |
private static org.w3c.dom.Element |
getEditSet(org.w3c.dom.Element node,
org.w3c.dom.Document plf,
IPerson person,
boolean create)
Get the edit set if any stored in the passed in node. |
static void |
removePreferenceDirective(IPerson person,
java.lang.String elementId,
java.lang.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 java.lang.String RCS_ID
private static RDBMDistributedLayoutStore dls
Constructor Detail |
---|
public EditManager()
Method Detail |
---|
private static RDBMDistributedLayoutStore getDLS()
private static org.w3c.dom.Element getEditSet(org.w3c.dom.Element node, org.w3c.dom.Document plf, IPerson person, boolean create) throws PortalException
PortalException
static void addEditDirective(org.w3c.dom.Element plfNode, java.lang.String attributeName, IPerson person) throws PortalException
PortalException
public static void addPrefsDirective(org.w3c.dom.Element plfNode, java.lang.String attributeName, IPerson person) throws PortalException
PortalException
private static void addDirective(org.w3c.dom.Element plfNode, java.lang.String attributeName, java.lang.String type, IPerson person) throws PortalException
PortalException
public static boolean applyEditSet(org.w3c.dom.Element plfChild, org.w3c.dom.Element original)
public static void removePreferenceDirective(IPerson person, java.lang.String elementId, java.lang.String attributeName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |