[
https://issues.apache.org/jira/browse/ROL-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037063#comment-14037063
]
Greg Huber commented on ROL-1997:
---------------------------------
OK, I can see what you mean now by the mods done to the EntriesBean. Its
"real" value is its toString().
{code:xml}
private WeblogEntrySearchCriteria.SortBy sortBy =
WeblogEntrySearchCriteria.SortBy.UPDATE_TIME;
public void setSortBy(WeblogEntrySearchCriteria.SortBy sortBy) {
this.sortBy = sortBy;
}
public WeblogEntrySearchCriteria.SortBy getSortBy() {
return sortBy;
}
{code}
a simple use case mind.....
> Switch WeblogEntry's pub status fields (DRAFT, PUBLISHED, PENDING, SCHEDULED)
> to an enum type
> ---------------------------------------------------------------------------------------------
>
> Key: ROL-1997
> URL: https://issues.apache.org/jira/browse/ROL-1997
> Project: Apache Roller
> Issue Type: Task
> Reporter: Glen Mazza
> Assignee: Roller Unassigned
> Priority: Minor
>
> ...and have that enum type used for the get/setStatus() in
> WeblogEntrySearchCriteria.
--
This message was sent by Atlassian JIRA
(v6.2#6252)