Class SearchFilterContent
java.lang.Object
ch.tocco.nice2.infobox.impl.content.SearchFilterContent
- All Implemented Interfaces:
Content
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSearchFilterContent
(PrimaryKey searchFilterPk, String searchFilterUniqueId, String entityName, String orderBy) SearchFilterContent
(PrimaryKey searchFilterPk, String searchFilterUniqueId, String entityName, String orderBy, @Nullable String form, @Nullable Integer sorting, @Nullable Integer limit, @Nullable Long timerDuration, Boolean notify) -
Method Summary
Modifier and TypeMethodDescriptiongetForm()
int
getLimit()
int
Get the sorting property of this content.getType()
Return the unique type name of this content.boolean
isNotify()
void
setEntityName
(String entityName) void
void
setLimit
(int limit) void
void
setOrderBy
(String orderBy) void
setSearchFilterPk
(PrimaryKey searchFilterPk) void
setSearchFilterUniqueId
(String searchFilterUniqueId) void
setSorting
(int sorting) void
setTimerDuration
(Long timerDuration)
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
SearchFilterContent
-
SearchFilterContent
public SearchFilterContent(PrimaryKey searchFilterPk, String searchFilterUniqueId, String entityName, String orderBy)
-
-
Method Details
-
getType
Description copied from interface:Content
Return the unique type name of this content. The type is some arbitary but unique string, identifiying this content type. Back on the client this type name is used to obtain a factory for creating the visual component for the content.
-
getSearchFilterPk
-
setSearchFilterPk
-
getSearchFilterUniqueId
-
setSearchFilterUniqueId
-
getEntityName
-
setEntityName
-
setSorting
public void setSorting(int sorting) -
getSorting
public int getSorting()Description copied from interface:Content
Get the sorting property of this content. All content in the info box is sorted by this property.- Specified by:
getSorting
in interfaceContent
- Returns:
- the (absolute) position of this content
-
getLimit
public int getLimit() -
setLimit
public void setLimit(int limit) -
getTimerDuration
-
setTimerDuration
-
getForm
-
setForm
-
getNotify
-
setNotify
-
isNotify
public boolean isNotify() -
setOrderBy
-
getOrderBy
-