|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.Publication.PstatusSelector
public static class Publication.PstatusSelector
PstatusSelector selects all the publications with a given pstatus.
| Field Summary | |
|---|---|
protected int |
greater
|
protected int |
pstatus
|
| Fields inherited from interface com.jalios.jcms.DataSelector |
|---|
REVISION |
| Constructor Summary | |
|---|---|
Publication.PstatusSelector(int pstatus)
Build a new PstatusSelector to select publications having the same pstatus as the pstatus specified in this constructor. |
|
Publication.PstatusSelector(int pstatus,
int greater)
Build a new PstatusSelector to select publications according to their pstatus. |
|
| Method Summary | |
|---|---|
boolean |
isSelected(Data data)
Evaluates if a data must be selected or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int pstatus
protected int greater
| Constructor Detail |
|---|
public Publication.PstatusSelector(int pstatus,
int greater)
pstatus - the reference pstatus to be used during comparisongreater - an integer indicating the comparison to be performed :
-1 : to select publications with a pstatus lower than or equals to the reference pstatus1 : to select publications with a pstatus greater than or equals to the reference pstatusany other value : to select publications with a pstatus equals to the reference pstatuspublic Publication.PstatusSelector(int pstatus)
pstatus - the pstatus value the publications must equals in order to be selected| Method Detail |
|---|
public boolean isSelected(Data data)
DataSelector
isSelected in interface DataSelectordata - the data to evaluate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||