public abstract class AbstractPublishActions extends Object
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
documentManager |
protected Map<String,String> |
messages |
protected NavigationContext |
navigationContext |
Constructor and Description |
---|
AbstractPublishActions() |
Modifier and Type | Method and Description |
---|---|
protected static String |
formatPathFragments(List<String> pathFragments) |
String |
getFormattedPath(DocumentModel documentModel) |
protected DocumentModel |
getParentDocument(DocumentModel documentModel) |
protected void |
getPathFragments(DocumentModel documentModel,
List<String> pathFragments) |
protected boolean |
isDomain(DocumentModel documentModel) |
@In(create=true) protected transient NavigationContext navigationContext
@In(create=true, required=false) protected transient CoreSession documentManager
public AbstractPublishActions()
public String getFormattedPath(DocumentModel documentModel)
protected static String formatPathFragments(List<String> pathFragments)
protected void getPathFragments(DocumentModel documentModel, List<String> pathFragments)
protected DocumentModel getParentDocument(DocumentModel documentModel)
protected boolean isDomain(DocumentModel documentModel)
Copyright © 2018 Nuxeo. All rights reserved.