@Name(value="reportActions") @Scope(value=PAGE) @Install(precedence=10) public class ReportActions extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
class |
ReportActions.UnrestrictedReportModelsContainerCreator |
Modifier and Type | Field and Description |
---|---|
protected DocumentActions |
documentActions |
protected CoreSession |
documentManager |
protected static org.apache.commons.logging.Log |
log |
protected DocumentModel |
newReportModel |
protected String |
reportsContainerPath |
protected boolean |
showForm |
protected UserManager |
userManager |
Constructor and Description |
---|
ReportActions() |
Modifier and Type | Method and Description |
---|---|
protected void |
createReportsModelContainer(String path) |
protected void |
createReportsModelContainerIfNeeded() |
List<ReportModel> |
getAvailableModels() |
DocumentModel |
getBareReportModel() |
DocumentModel |
getNewReportModel() |
ReportModel |
getReportModel(String docId) |
String |
getReportModelsContainerPath() |
boolean |
isShowForm() |
protected void |
resetDocument() |
String |
saveDocument() |
void |
toggleAndReset() |
void |
toggleForm() |
void |
validateReportExtension(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value) |
protected static final org.apache.commons.logging.Log log
@In(create=true) protected transient CoreSession documentManager
@In(create=true) protected transient DocumentActions documentActions
@In(create=true) protected transient UserManager userManager
protected String reportsContainerPath
protected DocumentModel newReportModel
protected boolean showForm
public ReportActions()
@Factory(value="reportModels", scope=EVENT, autoCreate=true) public List<ReportModel> getAvailableModels()
public ReportModel getReportModel(String docId)
public DocumentModel getBareReportModel()
public DocumentModel getNewReportModel()
public String saveDocument()
protected void createReportsModelContainerIfNeeded()
protected void createReportsModelContainer(String path)
protected void resetDocument()
public String getReportModelsContainerPath()
public boolean isShowForm()
public void toggleForm()
public void toggleAndReset()
public void validateReportExtension(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
Copyright © 2015 Nuxeo SA. All rights reserved.