|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.application.reporting.ReportSequence
public class ReportSequence
Constructor Summary | |
---|---|
ReportSequence()
|
Method Summary | |
---|---|
boolean |
addAttributeComponent(String attrName,
ArrayList<org.gcube.portlets.d4sreporting.common.shared.Attribute> values,
boolean allowMultiselection)
Add a attribute component to the model instance, allow to specify if is editable or not |
boolean |
addHeading(int level)
add an empty fillable heading |
boolean |
addHeading(int level,
String content)
add an heading with a non editable content |
boolean |
addHeading(int level,
String content,
boolean isReadonly)
|
boolean |
addReference(ReferenceReport ref)
add the references of a given type |
boolean |
addTextInput(org.gcube.portlets.d4sreporting.common.shared.Metadata... properties)
add an empty fillable text input |
boolean |
addTextInput(String content,
boolean isReadonly,
org.gcube.portlets.d4sreporting.common.shared.Metadata... properties)
add text input |
boolean |
addTextInput(String content,
org.gcube.portlets.d4sreporting.common.shared.Metadata... properties)
add a text input with some pre entered text |
List<org.gcube.portlets.d4sreporting.common.shared.BasicComponent> |
getSequence()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportSequence()
Method Detail |
---|
public boolean addHeading(int level) throws IllegalArgumentException
Sequentiable
addHeading
in interface Sequentiable
level
- of the heading
IllegalArgumentException
- if the heading is not [1, 5]public boolean addHeading(int level, String content) throws IllegalArgumentException
Sequentiable
addHeading
in interface Sequentiable
level
- of the headingcontent
- the content you want to show in the heading
IllegalArgumentException
- if the heading is not [1, 5]public boolean addHeading(int level, String content, boolean isReadonly) throws IllegalArgumentException
addHeading
in interface Sequentiable
level
- of the headingcontent
- the content you want to show in the headingisReadonly
- tells wether the user can edit the content ot not
IllegalArgumentException
- if the heading is not [1, 5]public boolean addTextInput(org.gcube.portlets.d4sreporting.common.shared.Metadata... properties)
Sequentiable
addTextInput
in interface Sequentiable
properties
- additional properties that one may need, optional
public boolean addTextInput(String content, org.gcube.portlets.d4sreporting.common.shared.Metadata... properties)
Sequentiable
addTextInput
in interface Sequentiable
content
- the content you want to show in the textboxproperties
- additional properties that one may need, optional
public boolean addTextInput(String content, boolean isReadonly, org.gcube.portlets.d4sreporting.common.shared.Metadata... properties)
Sequentiable
addTextInput
in interface Sequentiable
content
- the content you want to show in the textboxisReadonly
- tells wether the user can edit the content ot notproperties
- additional properties that one may need, optional
public boolean addAttributeComponent(String attrName, ArrayList<org.gcube.portlets.d4sreporting.common.shared.Attribute> values, boolean allowMultiselection)
Sequentiable
addAttributeComponent
in interface Sequentiable
public boolean addReference(ReferenceReport ref)
addReference
in interface Sequentiable
ref
- @see ReferenceReport
public List<org.gcube.portlets.d4sreporting.common.shared.BasicComponent> getSequence()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |