@Name(value="annotationsActions") @Scope(value=STATELESS) @Install(precedence=10) public class AnnotationsActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Principal |
currentUser |
static String |
TEXT_ANNOTATIONS_KEY |
Constructor and Description |
---|
AnnotationsActions() |
Modifier and Type | Method and Description |
---|---|
long |
getAnnotationsCount(DocumentModel doc) |
boolean |
isAnnotationsEnabled(DocumentModel doc) |
protected boolean |
isTextAnnotationsEnabled() |
public static final String TEXT_ANNOTATIONS_KEY
@In(create=true) protected transient Principal currentUser
public AnnotationsActions()
public long getAnnotationsCount(DocumentModel doc)
public boolean isAnnotationsEnabled(DocumentModel doc)
protected boolean isTextAnnotationsEnabled()
Copyright © 2018 Nuxeo. All rights reserved.