com.liferay.portal.mirage.custom
Class VersioningServiceImpl<VersionableContent>
java.lang.Object
com.liferay.portal.mirage.custom.VersioningServiceImpl<VersionableContent>
- All Implemented Interfaces:
- com.sun.portal.cms.mirage.service.custom.VersioningService<VersionableContent>
public class VersioningServiceImpl<VersionableContent>
- extends java.lang.Object
- implements com.sun.portal.cms.mirage.service.custom.VersioningService<VersionableContent>
View Source
- Author:
- Jorge Ferrer
Method Summary |
void |
checkinNode(javax.jcr.Node node,
com.sun.portal.cms.mirage.model.core.User user,
java.lang.Object obj)
|
void |
checkoutNode(javax.jcr.Node node,
com.sun.portal.cms.mirage.model.core.User user)
|
java.util.Collection<VersionableContent> |
getAllVersions(javax.jcr.Node node)
|
void |
uncheckoutNode(javax.jcr.Node node,
com.sun.portal.cms.mirage.model.core.User user)
|
void |
updateNode(javax.jcr.Node node,
com.sun.portal.cms.mirage.model.core.User user,
java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersioningServiceImpl
public VersioningServiceImpl()
checkoutNode
public void checkoutNode(javax.jcr.Node node,
com.sun.portal.cms.mirage.model.core.User user)
throws com.sun.portal.cms.mirage.exception.CMSException
- Specified by:
checkoutNode
in interface com.sun.portal.cms.mirage.service.custom.VersioningService<VersionableContent>
- Throws:
com.sun.portal.cms.mirage.exception.CMSException
checkinNode
public void checkinNode(javax.jcr.Node node,
com.sun.portal.cms.mirage.model.core.User user,
java.lang.Object obj)
throws com.sun.portal.cms.mirage.exception.CMSException
- Specified by:
checkinNode
in interface com.sun.portal.cms.mirage.service.custom.VersioningService<VersionableContent>
- Throws:
com.sun.portal.cms.mirage.exception.CMSException
getAllVersions
public java.util.Collection<VersionableContent> getAllVersions(javax.jcr.Node node)
throws com.sun.portal.cms.mirage.exception.CMSException
- Specified by:
getAllVersions
in interface com.sun.portal.cms.mirage.service.custom.VersioningService<VersionableContent>
- Throws:
com.sun.portal.cms.mirage.exception.CMSException
uncheckoutNode
public void uncheckoutNode(javax.jcr.Node node,
com.sun.portal.cms.mirage.model.core.User user)
throws com.sun.portal.cms.mirage.exception.CMSException
- Specified by:
uncheckoutNode
in interface com.sun.portal.cms.mirage.service.custom.VersioningService<VersionableContent>
- Throws:
com.sun.portal.cms.mirage.exception.CMSException
updateNode
public void updateNode(javax.jcr.Node node,
com.sun.portal.cms.mirage.model.core.User user,
java.lang.Object obj)
throws com.sun.portal.cms.mirage.exception.CMSException
- Specified by:
updateNode
in interface com.sun.portal.cms.mirage.service.custom.VersioningService<VersionableContent>
- Throws:
com.sun.portal.cms.mirage.exception.CMSException