public class ContentTypeACLImportHandler extends ACLImportHandler<neo.xredsys.content.type.ArticleType>
AbstractImportHandler.ProviderStub
ImportHandler.State
mDefaultSection, mDefaultUser, mImportConfiguration, mLogger, mProvider, mSAXConfiguration
DEFAULT_NAMESPACE, UNKNOWN_FIELD_NAMESPACE
Constructor and Description |
---|
ContentTypeACLImportHandler(ImportHandlerSpi pProvider,
XMLImportConfiguration pImportConfiguration,
SAXConfiguration pSAXConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected ProtectionDomain |
getProtectionDomain(neo.xredsys.content.type.ArticleType pArticleType,
neo.xredsys.acl.Role pRole) |
protected neo.xredsys.content.type.ArticleType |
resolveACLObject(Attributes pAttributes) |
protected String |
rewriteRole(String pRoleName)
Makes it possible to rewrite the role before asking the database for the given role.
|
createChildHandlers, handleEndElement, handleStartElement
characters, cleanup, endElement, endElement, error, fatalError, getAPI, getMessageHandler, getState, getSystemId, handleCharacters, info, isAborted, onChildHandlerCompleted, rollback, setState, startElement, startElement, subclassAcceptsChildElements, supportsCharacters, supportsElement, toTimestamp, warning
endDocument, endPrefixMapping, getLocator, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
public ContentTypeACLImportHandler(ImportHandlerSpi pProvider, XMLImportConfiguration pImportConfiguration, SAXConfiguration pSAXConfiguration)
protected ProtectionDomain getProtectionDomain(neo.xredsys.content.type.ArticleType pArticleType, neo.xredsys.acl.Role pRole)
getProtectionDomain
in class ACLImportHandler<neo.xredsys.content.type.ArticleType>
protected String rewriteRole(String pRoleName)
ACLImportHandler
rewriteRole
in class ACLImportHandler<neo.xredsys.content.type.ArticleType>
pRoleName
- the name of the roleprotected neo.xredsys.content.type.ArticleType resolveACLObject(Attributes pAttributes) throws SAXException
resolveACLObject
in class ACLImportHandler<neo.xredsys.content.type.ArticleType>
SAXException
© 1998- 2018 Stibo DX