org.mycore.services.acl
Class MCRACLXMLProcessing

java.lang.Object
  extended by org.mycore.services.acl.MCRACLXMLProcessing

public class MCRACLXMLProcessing
extends Object


Field Summary
(package private)  String uid
           
 
Constructor Summary
MCRACLXMLProcessing()
           
 
Method Summary
 Element access2XML(List accessList, boolean withPos)
           
 Element accessFilter2XML(String objid, String acpool)
           
 MCRRuleMapping createRuleMapping(String rid, String acpool, String objid)
           
 Map findAccessDiff(Document editedAcces, Document origAccess)
           
 Element findDiffAsXML(Document editedAcces, Document origAccess)
           
 Map findRulesDiff(Document editedRules, Document origRules)
           
 Element ruleSet2Items(List ruleList)
           
 Element ruleSet2XML(List ruleList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uid

String uid
Constructor Detail

MCRACLXMLProcessing

public MCRACLXMLProcessing()
Method Detail

accessFilter2XML

public Element accessFilter2XML(String objid,
                                String acpool)

access2XML

public Element access2XML(List accessList,
                          boolean withPos)

ruleSet2Items

public Element ruleSet2Items(List ruleList)

ruleSet2XML

public Element ruleSet2XML(List ruleList)

findRulesDiff

public Map findRulesDiff(Document editedRules,
                         Document origRules)
                  throws Exception
Throws:
Exception

findAccessDiff

public Map findAccessDiff(Document editedAcces,
                          Document origAccess)
                   throws Exception
Throws:
Exception

findDiffAsXML

public Element findDiffAsXML(Document editedAcces,
                             Document origAccess)
                      throws Exception
Throws:
Exception

createRuleMapping

public MCRRuleMapping createRuleMapping(String rid,
                                        String acpool,
                                        String objid)