public class WIPService extends Object
| Constructor and Description |
|---|
WIPService() |
| Modifier and Type | Method and Description |
|---|---|
void |
createWipPropertiesOnNewNode(JCRNodeWrapper node,
WIPInfo wipInfo)
Add work in progress properties on a created node.
|
WIPInfo |
getDefaultWipInfo()
Read "wip.checkbox.checked" system property value to get default WIP status.
|
WIPInfo |
getWipInfo(JCRNodeWrapper node)
Return work in progress information for the given node
|
void |
saveWipPropertiesIfNeeded(JCRNodeWrapper node,
WIPInfo wipInfo)
Set the WIP status on the given node according to the given WIPInfo.
|
void |
setPublicationService(JCRPublicationService publicationService) |
public void setPublicationService(JCRPublicationService publicationService)
public WIPInfo getWipInfo(JCRNodeWrapper node) throws javax.jcr.RepositoryException
node - to on witch to get WIP Informationjavax.jcr.RepositoryExceptionpublic WIPInfo getDefaultWipInfo()
public void createWipPropertiesOnNewNode(JCRNodeWrapper node, WIPInfo wipInfo) throws javax.jcr.RepositoryException
node - wipInfo - javax.jcr.RepositoryExceptionpublic void saveWipPropertiesIfNeeded(JCRNodeWrapper node, WIPInfo wipInfo) throws javax.jcr.RepositoryException
node - where to set the propertywipInfo - javax.jcr.RepositoryExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.