public class UnlockGenerator extends AbstractCurrentUserProviderServiceableGenerator
Modifier and Type | Field and Description |
---|---|
protected ContentHelper |
_contentHelper
The content helper
|
protected RightManager |
_rightManager
The rights manager
|
protected UnlockHelper |
_unlockHelper
The unlock helper
|
protected UserManager |
_userManager
The users manager
|
_currentUserProvider
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
UnlockGenerator() |
Modifier and Type | Method and Description |
---|---|
protected Map<LockableAmetysObject,LocalDateTime> |
_getLockedObjects()
Get the locked objects.
|
protected void |
_saxLockedContents(Map<LockableAmetysObject,LocalDateTime> lockedObjects)
SAX the locked objects.
|
void |
generate() |
void |
service(ServiceManager sManager) |
_getCurrentUser
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected UnlockHelper _unlockHelper
protected RightManager _rightManager
protected UserManager _userManager
protected ContentHelper _contentHelper
public UnlockGenerator()
public void service(ServiceManager sManager) throws ServiceException
service
in interface Serviceable
service
in class AbstractCurrentUserProviderServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
protected Map<LockableAmetysObject,LocalDateTime> _getLockedObjects()
protected void _saxLockedContents(Map<LockableAmetysObject,LocalDateTime> lockedObjects) throws SAXException
lockedObjects
- the locked objects.SAXException
- if an error occurs generating the XML data.