Ejemplo n.º 1
0
 public dtoDisplayTimelineActivity(dtoTimelineActivity dto, String url)
 {
     Quantity       = dto.Quantity;
     Status         = dto.Status;
     TimeLine       = dto.TimeLine;
     DestinationUrl = url;
     DisplayAs      = lm.Comol.Core.DomainModel.ItemDisplayOrder.item;
 }
Ejemplo n.º 2
0
 private String GenerateUrl(dtoTimelineActivity activity, dtoDisplayTimelineContext context)
 {
     return(RootObject.Dashboard(context, context.IdProject, GetDashboardPageByContainer(context.Container, activity.DashboardPage), activity.Status, activity.TimeLine));
     //switch(display){
     //    case SummaryDisplay.All:
     //        return RootObject.Dashboard(context,fromPage,idContainerCommunity, activity.DashboardPage, timeline, activity.IdProject, ItemsGroupBy.Plain, ProjectFilterBy.All, ItemListStatus.Late, display);
     //    case SummaryDisplay.Filtered:
     //        return RootObject.Dashboard(context, fromPage, idContainerCommunity, activity.DashboardPage, timeline, activity.IdProject, ItemsGroupBy.Plain, ProjectFilterBy.All, activity.Status , display);
     //    case SummaryDisplay.Project:
     //        return null;
     //}
 }