|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.layout.dlm.DeleteManager
public class DeleteManager
Looks for, applies against the ilf, and updates accordingly the delete set within a plf.
Field Summary | |
---|---|
private static RDBMDistributedLayoutStore |
dls
|
private static org.apache.commons.logging.Log |
LOG
|
static java.lang.String |
RCS_ID
|
Constructor Summary | |
---|---|
DeleteManager()
|
Method Summary | |
---|---|
static void |
addDeleteDirective(org.w3c.dom.Element compViewNode,
java.lang.String elementID,
IPerson person)
Create and append a delete directive to delete the node identified by the passed in element id. |
private static void |
addDeleteDirective(org.w3c.dom.Element compViewNode,
java.lang.String elementID,
IPerson person,
org.w3c.dom.Document plf,
org.w3c.dom.Element delSet)
This method does the actual work of adding a delete directive and then recursively calling itself for any incoporated children that need to be deleted as well. |
(package private) static void |
applyAndUpdateDeleteSet(org.w3c.dom.Document plf,
org.w3c.dom.Document ilf,
IntegrationResult result)
Get the delete set if any from the plf and process each delete command removing any that fail from the delete set so that the delete set is self cleaning. |
private static boolean |
applyDelete(org.w3c.dom.Element delete,
org.w3c.dom.Document ilf)
Attempt to apply a single delete command and return true if it succeeds or false otherwise. |
private static org.w3c.dom.Element |
getDeleteSet(org.w3c.dom.Document plf,
IPerson person,
boolean create)
Get the delete set if any stored in the root of the document or create it is passed in create flag is true. |
private static RDBMDistributedLayoutStore |
getDLS()
Hands back the single instance of RDBMDistributedLayoutStore. |
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 final org.apache.commons.logging.Log LOG
private static RDBMDistributedLayoutStore dls
Constructor Detail |
---|
public DeleteManager()
Method Detail |
---|
private static RDBMDistributedLayoutStore getDLS()
static void applyAndUpdateDeleteSet(org.w3c.dom.Document plf, org.w3c.dom.Document ilf, IntegrationResult result)
private static boolean applyDelete(org.w3c.dom.Element delete, org.w3c.dom.Document ilf)
private static org.w3c.dom.Element getDeleteSet(org.w3c.dom.Document plf, IPerson person, boolean create) throws PortalException
PortalException
public static void addDeleteDirective(org.w3c.dom.Element compViewNode, java.lang.String elementID, IPerson person) throws PortalException
PortalException
private static void addDeleteDirective(org.w3c.dom.Element compViewNode, java.lang.String elementID, IPerson person, org.w3c.dom.Document plf, org.w3c.dom.Element delSet) throws PortalException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |