14 package cz.vutbr.fit.knot.annotations.web;
19 import java.io.Serializable;
20 import java.util.List;
21 import javax.faces.bean.ManagedBean;
22 import javax.faces.bean.SessionScoped;
23 import javax.faces.component.html.HtmlDataTable;
94 StoryScope editedStoryScope = SessionManager.getSession().getEditedStoryScope();
95 Object[] params = {
"storyScope",editedStoryScope.getId()};
97 @SuppressWarnings(
"unchecked")
98 List<SubscribedItem> retList = AppBean.getPersistenceManager().queryDB(
"SubscribedItem.findSubscriptions",params);
110 SessionManager.getSession().setComeFrom(
"editSubscriptions");
111 SessionManager.getSession().setEditedSubscription(
subscribedItem);
112 SessionManager.getSession().setFormBackup(null);
113 return "editSubscription";
123 SessionManager.getSession().setComeFrom(
"deleteSubscriptions");
124 SessionManager.getSession().setEditedSubscription(
subscribedItem);
125 return "deleteSubscription";
134 SessionManager.getSession().setFormBackup(null);
135 SessionManager.getSession().setEditedStoryScope(null);
136 return "StoryscopesMain";
SubscribedItem subscribedItem
Class representing StoryScope for needs of SEC Interface.
Singleton for storing global variables.
HtmlDataTable subscriptionsTable
Backbean for page with administration of subscriptions.
Class representing item of subscripted or unsubscripted sources list.
SubscribedItem getSubscribedITem()
HtmlDataTable getSubscriptionsTable()
void setSubscribedITem(SubscribedItem subscribedItem)
void setSubscriptionsTable(HtmlDataTable subscriptionsTable)
List< SubscribedItem > getSubscriptions()