Package sk.iway.iwcm.doc
Class GroupPublisher
java.lang.Object
sk.iway.iwcm.doc.GroupPublisher
GroupPublisher.java
Encapsulates operations over groups_scheduler SQL table.
Publishes scheduled changes made to the
GroupDetails
instance-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
addRecord
(GroupDetails group, Date publishDate) static boolean
addRecord
(GroupDetails group, Date publishDate, int userId) static void
deleteRecord
(int scheduleId) static GroupDetails
getGroupFromGroupsHistory
(int scheduleId) static List<GroupSchedulerDetails>
getGroupsFromGroupsHistory
(int groupId) static List<GroupDetails>
Returns list of publicable directoriesgetScheduledChangesForGroupWithId
(int groupId) static void
Publishes scheduled changes inGroupDetails
attributes Called main because of Cron's naming restrictions, @seeCronFacade
static void
markAsPublished
(int scheduleId)
-
Constructor Details
-
GroupPublisher
public GroupPublisher()
-
-
Method Details
-
addRecord
-
addRecord
-
deleteRecord
public static void deleteRecord(int scheduleId) -
markAsPublished
public static void markAsPublished(int scheduleId) -
main
Publishes scheduled changes inGroupDetails
attributes Called main because of Cron's naming restrictions, @seeCronFacade
-
getScheduledChangesForGroupWithId
-
getGroupsFromGroupsHistory
-
getGroupFromGroupsHistory
-
getPublicableDirs
Returns list of publicable directories- Returns:
- list of publicable directories
-