Search in sources :

Example 1 with Activity

use of com.autentia.tnt.businessobject.Activity in project TNTConcept by autentia.

the class DynMenuBean method generateMenu.

/**
 * Generates a list of navigation items, representating entries of the dynamic menu bar
 *
 * @return
 */
private List<NavigationMenuItem> generateMenu() {
    if (navItems == null || !locale.equals(FacesUtils.getViewLocale())) {
        locale = FacesUtils.getViewLocale();
        if (log.isDebugEnabled()) {
            log.debug("generating dynamic menu");
        }
        Principal creds = null;
        boolean isAnonymous = true;
        try {
            creds = SpringUtils.getPrincipal();
            isAnonymous = false;
        } catch (ClassCastException e) {
            // veamos si es un usuario anonimo
            if ("anonymousUser".equals(SpringUtils.getPrincipalAsObject())) {
                isAnonymous = true;
            } else {
                throw new RuntimeException(e);
            }
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        navItems = new ArrayList<NavigationMenuItem>();
        NavigationMenuItem item = null;
        if (!isAnonymous) {
            if (log.isDebugEnabled()) {
                log.debug("user is NOT anonymous");
            }
            // file menu
            if ((item = createMenuItem(creds, null, "file", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Setting.class), "settings", "/img/configure.png")));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(User.class), "#{dynMenuBean.exit}", "/img/exit.png")));
                addItem2Items(navItems, item);
            }
            // administration menu
            if ((item = createMenuItem(creds, null, "admin", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(User.class), "users", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(UserCategory.class), "userCategorys", null)));
                addItem2Item(item, (createMenuItem(creds, null, "changePassword", "/img/key.png")));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Department.class), "departments", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(WorkingAgreement.class), "workingAgreements", null)));
                addItem2Items(navItems, item);
            }
            // master tables menu
            if ((item = createMenuItem(creds, null, "masterTables", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(AccountEntryType.class), "accountEntryTypes", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(OrganizationType.class), "organizationTypes", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(InteractionType.class), "interactionTypes", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(OrganizationISOCategory.class), "organizationISOCategorys", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(ContractType.class), "contractTypes", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Magazine.class), "magazines", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(OfferRejectReason.class), "offerRejectReasons", null)));
                addItem2Items(navItems, item);
            }
            // billing
            if ((item = createMenuItem(creds, null, "billing", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Bill.class), "sii", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Bill.class), "bills", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(CreditTitle.class), "creditTitles", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(AccountEntryType.class), "accounts", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(AccountEntry.class), "accountEntrys", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(PeriodicalAccountEntry.class), "periodicalAccountEntrys", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_NOF, "nof", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(FinancialRatio.class), "financialRatios", null)));
                addItem2Items(navItems, item);
            }
            // contacts
            if ((item = createMenuItem(creds, null, "contacts", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Organization.class), "organizations", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Position.class), "positions", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Interaction.class), "interactions", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Contact.class), "contacts", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Offer.class), "offers", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Project.class), "projects", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Tag.class), "tags", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Collaborator.class), "collaborators", null)));
                addItem2Items(navItems, item);
            }
            // commissionings
            if ((item = createMenuItem(creds, null, "commissionings", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Commissioning.class), "commissionings", null)));
                addItem2Items(navItems, item);
            }
            // quality
            if ((item = createMenuItem(creds, null, "quality", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Action_ListQualityDocuments, "qualityDocuments", null)));
                addItem2Items(navItems, item);
            }
            // bulletin
            if ((item = createMenuItem(creds, null, "bulletin", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(BulletinBoard.class), "bulletinBoards", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(CompanyState.class), "companyStates", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(BulletinBoardCategory.class), "bulletinBoardCategorys", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Idea.class), "ideas", null)));
                addItem2Items(navItems, item);
            }
            // activity
            if ((item = createMenuItem(creds, null, "activity", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Activity.class), "activitys", null)));
                // addItem2Item(item,(createMenuItem(creds, Permission.Entity_Menu(ExternalActivity.class),
                // "externalActivities", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Objective.class), "objectives", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_GlobalHoursReport, "globalHoursReport", null)));
                // addItem2Item(item,(createMenuItem(creds, Permission.Entity_Menu(Occupation.class), "jpivotTest", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Occupation.class), "availabilitys", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Occupation.class), "occupations", null)));
                addItem2Items(navItems, item);
            }
            // reports tables menu
            if ((item = createMenuItem(creds, null, "reports", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Action_GeneralReports, "generalReports", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_BitacoreReports, "bitacoreReports", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_BillReports, "billReports", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_ProjectReports, "projectReports", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_InteractionReports, "interactionReports", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_OrganizationReports, "organizationReports", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_OfferReports, "offerReports", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_CommissioningReports, "commissioningReports", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_OwnReports, "ownReports", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_PersonalReports, "personalReports", null)));
                addItem2Items(navItems, item);
            }
            // publish
            if ((item = createMenuItem(creds, null, "publish", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Tutorial.class), "tutorials", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Publication.class), "publications", null)));
                addItem2Items(navItems, item);
            }
            // holiday
            if ((item = createMenuItem(creds, null, "holiday", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Holiday.class), "holidays", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(RequestHoliday.class), "requestHolidays", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(AdminHoliday.class), "adminHolidays", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_UserHolidaysState, "userHolidayState", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Action_MyHolidays, "#{userHolidaysStateBean.myHolidays}", null)));
                addItem2Items(navItems, item);
            }
            // utils
            if ((item = createMenuItem(creds, null, "utils", null)) != null) {
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Book.class), "books", null)));
                addItem2Item(item, (createMenuItem(creds, Permission.Entity_Menu(Inventary.class), "inventarys", null)));
                addItem2Items(navItems, item);
            }
        } else {
            // menu items for anonymous users
            if (log.isDebugEnabled()) {
                log.debug("user is NOT anonymous");
            }
        }
    }
    return navItems;
}
Also used : InteractionType(com.autentia.tnt.businessobject.InteractionType) UserCategory(com.autentia.tnt.businessobject.UserCategory) User(com.autentia.tnt.businessobject.User) Organization(com.autentia.tnt.businessobject.Organization) BulletinBoardCategory(com.autentia.tnt.businessobject.BulletinBoardCategory) CreditTitle(com.autentia.tnt.businessobject.CreditTitle) Activity(com.autentia.tnt.businessobject.Activity) PeriodicalAccountEntry(com.autentia.tnt.businessobject.PeriodicalAccountEntry) AccountEntry(com.autentia.tnt.businessobject.AccountEntry) RequestHoliday(com.autentia.tnt.businessobject.RequestHoliday) Department(com.autentia.tnt.businessobject.Department) PeriodicalAccountEntry(com.autentia.tnt.businessobject.PeriodicalAccountEntry) Book(com.autentia.tnt.businessobject.Book) OrganizationISOCategory(com.autentia.tnt.businessobject.OrganizationISOCategory) FinancialRatio(com.autentia.tnt.businessobject.FinancialRatio) Tutorial(com.autentia.tnt.businessobject.Tutorial) Position(com.autentia.tnt.businessobject.Position) Interaction(com.autentia.tnt.businessobject.Interaction) Setting(com.autentia.tnt.businessobject.Setting) Publication(com.autentia.tnt.businessobject.Publication) AccountEntryType(com.autentia.tnt.businessobject.AccountEntryType) CompanyState(com.autentia.tnt.businessobject.CompanyState) OrganizationType(com.autentia.tnt.businessobject.OrganizationType) Inventary(com.autentia.tnt.businessobject.Inventary) MissingResourceException(java.util.MissingResourceException) Contact(com.autentia.tnt.businessobject.Contact) Commissioning(com.autentia.tnt.businessobject.Commissioning) BulletinBoard(com.autentia.tnt.businessobject.BulletinBoard) Project(com.autentia.tnt.businessobject.Project) Objective(com.autentia.tnt.businessobject.Objective) Occupation(com.autentia.tnt.businessobject.Occupation) Collaborator(com.autentia.tnt.businessobject.Collaborator) OfferRejectReason(com.autentia.tnt.businessobject.OfferRejectReason) Offer(com.autentia.tnt.businessobject.Offer) Idea(com.autentia.tnt.businessobject.Idea) Holiday(com.autentia.tnt.businessobject.Holiday) AdminHoliday(com.autentia.tnt.businessobject.AdminHoliday) RequestHoliday(com.autentia.tnt.businessobject.RequestHoliday) NavigationMenuItem(org.apache.myfaces.custom.navmenu.NavigationMenuItem) Bill(com.autentia.tnt.businessobject.Bill) ContractType(com.autentia.tnt.businessobject.ContractType) Tag(com.autentia.tnt.businessobject.Tag) Principal(com.autentia.tnt.manager.security.Principal) Magazine(com.autentia.tnt.businessobject.Magazine) WorkingAgreement(com.autentia.tnt.businessobject.WorkingAgreement) AdminHoliday(com.autentia.tnt.businessobject.AdminHoliday)

Example 2 with Activity

use of com.autentia.tnt.businessobject.Activity in project TNTConcept by autentia.

the class GlobalHoursReportBean method getAll.

public List<GlobalHourReport> getAll() {
    // Retrieve activities for every User during that period of time
    ActivitySearch search = new ActivitySearch();
    Calendar init = Calendar.getInstance();
    init.setTime(startDate);
    Calendar last = Calendar.getInstance();
    last.setTime(endDate);
    init.set(Calendar.HOUR_OF_DAY, init.getMinimum(Calendar.HOUR_OF_DAY));
    init.set(Calendar.MINUTE, init.getMinimum(Calendar.MINUTE));
    init.set(Calendar.SECOND, init.getMinimum(Calendar.SECOND));
    init.set(Calendar.MILLISECOND, init.getMinimum(Calendar.MILLISECOND));
    last.set(Calendar.HOUR_OF_DAY, last.getMaximum(Calendar.HOUR_OF_DAY));
    last.set(Calendar.MINUTE, last.getMaximum(Calendar.MINUTE));
    last.set(Calendar.SECOND, last.getMaximum(Calendar.SECOND));
    last.set(Calendar.MILLISECOND, last.getMaximum(Calendar.MILLISECOND));
    search.setStartStartDate(init.getTime());
    search.setEndStartDate(last.getTime());
    List<GlobalHourReport> listGlobal = new ArrayList<GlobalHourReport>();
    if (billable)
        search.setBillable(true);
    // Search activities during indicated dates
    List<Activity> activities = manager.getAllEntities(search, new SortCriteria("role.project.client.name"));
    for (Activity act : activities) {
        Project proj = act.getRole().getProject();
        GlobalHourReport unit = new GlobalHourReport();
        unit.setProject(proj);
        // an entry in the list represents a project
        if (!listGlobal.contains(unit))
            listGlobal.add(unit);
        // Retrieve the stored unit and save hours
        GlobalHourReport storedUnit = listGlobal.get(listGlobal.indexOf(unit));
        float horas = act.getDuration() / 60.0f;
        storedUnit.setUserHours(act.getUser(), horas);
        storedUnit.setIterator(usuarios.iterator());
    }
    return listGlobal;
}
Also used : SortCriteria(com.autentia.tnt.dao.SortCriteria) Project(com.autentia.tnt.businessobject.Project) GlobalHourReport(com.autentia.tnt.businessobject.GlobalHourReport) Calendar(java.util.Calendar) ArrayList(java.util.ArrayList) Activity(com.autentia.tnt.businessobject.Activity) ActivitySearch(com.autentia.tnt.dao.search.ActivitySearch)

Example 3 with Activity

use of com.autentia.tnt.businessobject.Activity in project TNTConcept by autentia.

the class ActivityBean method delete.

/**
 * Delete bean and go back to beans list
 *
 * @return forward to LIST page
 */
public String delete() {
    // activityDAO.delete(activity);
    Activity act = manager.getEntityById(activity.getId());
    ActivityImageUploader.remove(act);
    manager.deleteEntity(act);
    // manager.deleteEntity(activity);
    act = null;
    activity = null;
    scheduleModel.setSelectedEntry(null);
    reloadModel = true;
    scheduleModel.refresh();
    return NavigationResults.LIST;
}
Also used : Activity(com.autentia.tnt.businessobject.Activity) ExternalActivity(com.autentia.tnt.businessobject.ExternalActivity)

Example 4 with Activity

use of com.autentia.tnt.businessobject.Activity in project TNTConcept by autentia.

the class ActivityBean method getYearWorkHours.

private double getYearWorkHours() {
    ActivitySearch activitySearch = new ActivitySearch();
    Date startStartDate = new GregorianCalendar(getSelectedYear(), 0, 1).getTime();
    Date endStartDate = new GregorianCalendar(getSelectedYear(), 11, 31).getTime();
    activitySearch.setUser(authManager.getCurrentPrincipal().getUser());
    activitySearch.setStartStartDate(startStartDate);
    activitySearch.setEndStartDate(endStartDate);
    List<Activity> activities = manager.getAllEntities(activitySearch, null);
    return manager.workedTime(activities) / 60.0f;
}
Also used : GregorianCalendar(java.util.GregorianCalendar) Activity(com.autentia.tnt.businessobject.Activity) ExternalActivity(com.autentia.tnt.businessobject.ExternalActivity) ExternalActivitySearch(com.autentia.tnt.dao.search.ExternalActivitySearch) ActivitySearch(com.autentia.tnt.dao.search.ActivitySearch) Date(java.util.Date) LocalDate(java.time.LocalDate)

Example 5 with Activity

use of com.autentia.tnt.businessobject.Activity in project TNTConcept by autentia.

the class ActivityBean method create.

/**
 * Go to create page
 *
 * @return forward to CREATE page
 */
public String create() {
    activity = new Activity();
    externalActivity = new ExternalActivity();
    selectedOrganization = null;
    selectedProject = null;
    organizations.clear();
    projects.clear();
    cal.setTime(scheduleModel.getSelectedDate());
    if (scheduleModel.getMode() == ScheduleModel.MONTH || scheduleModel.getMode() == ScheduleModel.WEEK) {
        cal.set(Calendar.HOUR_OF_DAY, ((SettingBean) FacesUtils.getBean("settingBean")).getMySettings().getWorkingDayHourStarts());
    }
    activity.setStartDate(cal.getTime());
    activity.setDescription(FacesUtils.getMessage("activity.description"));
    activity.setUser(authManager.getCurrentPrincipal().getUser());
    externalActivity.setStartDate(cal.getTime());
    // it is going to end in the same day
    externalActivity.setEndDate(cal.getTime());
    externalActivity.setComments(FacesUtils.getMessage("offer.observations"));
    externalActivity.setOwnerId(authManager.getCurrentPrincipal().getUser().getId());
    externalActivity.setDepartmentId(authManager.getCurrentPrincipal().getUser().getDepartmentId());
    DocumentCategory padre = dcManager.getDocumentCategoryParent();
    // User category
    DocumentCategory extActDocCategory = new DocumentCategory();
    extActDocCategory.setName(externalActivity.getName());
    extActDocCategory.setDescription(externalActivity.getName());
    extActDocCategory.setPadre(padre);
    externalActivity.setDocumentCategory(extActDocCategory);
    // Preselect last selected options
    Setting val = settings.get(SettingPath.BITACORE_LAST_ROLEID, false);
    int projectRoleId = SettingManager.getInt(val, -1);
    Project pr = null;
    if (projectRoleId != -1) {
        ProjectRole projectRole;
        try {
            projectRole = projectRoleMgr.getEntityById(projectRoleId);
            if (!projectRole.getProject().isFinished()) {
                setRole(projectRole);
                setSelectedProject(projectRole.getProject());
                setSelectedOrganization(getSelectedProject().getClient());
                pr = projectRole.getProject();
            }
        } catch (ObjectNotFoundException onfex) {
        // Caso especial. Si no se localiza el anterior rol, continuamos con la
        // ejecucion.
        }
    }
    if (pr != null) {
        setBillable(pr.getBillable());
        setDefaultBillable(pr.getBillable());
    } else {
        val = settings.get(SettingPath.BITACORE_LAST_BILLABLE, false);
        setBillable(SettingManager.getBoolean(val, false));
    }
    if (scheduleModel.getMode() == ScheduleModel.MONTH || scheduleModel.getMode() == ScheduleModel.WEEK) {
        ActivitySearch searchToday = new ActivitySearch();
        ExternalActivitySearch extActivitySearchToday = new ExternalActivitySearch();
        Calendar initToday = Calendar.getInstance();
        initToday.setTime(DateUtils.minHourInDate(scheduleModel.getSelectedDate()));
        Calendar lastToday = Calendar.getInstance();
        lastToday.setTime(DateUtils.maxHourInDate(scheduleModel.getSelectedDate()));
        searchToday.setStartStartDate(initToday.getTime());
        searchToday.setEndStartDate(lastToday.getTime());
        extActivitySearchToday.setStartStartDate(initToday.getTime());
        extActivitySearchToday.setEndStartDate(lastToday.getTime());
        // Try to obtain the last hour in day.
        searchToday.setUser(authManager.getCurrentPrincipal().getUser());
        extActivitySearchToday.setOwner(authManager.getCurrentPrincipal().getUser());
        List<Activity> activities = manager.getAllEntities(searchToday, new SortCriteria(sortColumn, sortAscending));
        List<ExternalActivity> extActivities = externalActivityManager.getAllEntities(extActivitySearchToday, new SortCriteria(sortColumn, sortAscending));
        if (activities.size() > 0 && extActivities.size() <= 0) {
            // No externalActivities
            // sort is descendent
            Collections.sort(activities, new compareActivitiesByStartAndDuration());
            activity.setStartDate(activities.get(0).getEndDate());
            externalActivity.setStartDate(activities.get(0).getEndDate());
            externalActivity.setEndDate(activities.get(0).getEndDate());
        } else if (activities.size() <= 0 && extActivities.size() > 0) {
            // No activities
            Collections.sort(extActivities, new compareExternalActivitiesActivitiesByStartAndDuration());
            activity.setStartDate(extActivities.get(0).getEndDate());
            externalActivity.setStartDate(extActivities.get(0).getEndDate());
            externalActivity.setEndDate(extActivities.get(0).getEndDate());
        } else if (activities.size() > 0 && extActivities.size() > 0) {
            Collections.sort(activities, new compareActivitiesByStartAndDuration());
            Collections.sort(extActivities, new compareExternalActivitiesActivitiesByStartAndDuration());
            Date lastActivityEndDate = activities.get(0).getEndDate();
            Date lastExtActivityEndDate = extActivities.get(0).getEndDate();
            Date startDate = (lastActivityEndDate.compareTo(lastExtActivityEndDate) > 0) ? lastActivityEndDate : lastExtActivityEndDate;
            activity.setStartDate(startDate);
            externalActivity.setStartDate(startDate);
            externalActivity.setEndDate(startDate);
        }
    }
    tabsRendered = NO_EDIT_SELECTED;
    return NavigationResults.CREATE;
}
Also used : ExternalActivitySearch(com.autentia.tnt.dao.search.ExternalActivitySearch) Setting(com.autentia.tnt.businessobject.Setting) GregorianCalendar(java.util.GregorianCalendar) Calendar(java.util.Calendar) Activity(com.autentia.tnt.businessobject.Activity) ExternalActivity(com.autentia.tnt.businessobject.ExternalActivity) ProjectRole(com.autentia.tnt.businessobject.ProjectRole) DocumentCategory(com.autentia.tnt.businessobject.DocumentCategory) Date(java.util.Date) LocalDate(java.time.LocalDate) ExternalActivity(com.autentia.tnt.businessobject.ExternalActivity) SortCriteria(com.autentia.tnt.dao.SortCriteria) Project(com.autentia.tnt.businessobject.Project) ObjectNotFoundException(org.hibernate.ObjectNotFoundException) SettingBean(com.autentia.tnt.bean.admin.SettingBean) ExternalActivitySearch(com.autentia.tnt.dao.search.ExternalActivitySearch) ActivitySearch(com.autentia.tnt.dao.search.ActivitySearch)

Aggregations

Activity (com.autentia.tnt.businessobject.Activity)16 ActivitySearch (com.autentia.tnt.dao.search.ActivitySearch)8 Project (com.autentia.tnt.businessobject.Project)6 SortCriteria (com.autentia.tnt.dao.SortCriteria)6 User (com.autentia.tnt.businessobject.User)5 Calendar (java.util.Calendar)5 ExternalActivity (com.autentia.tnt.businessobject.ExternalActivity)4 ProjectRole (com.autentia.tnt.businessobject.ProjectRole)3 AccountEntry (com.autentia.tnt.businessobject.AccountEntry)2 AccountEntryType (com.autentia.tnt.businessobject.AccountEntryType)2 AdminHoliday (com.autentia.tnt.businessobject.AdminHoliday)2 Bill (com.autentia.tnt.businessobject.Bill)2 Book (com.autentia.tnt.businessobject.Book)2 BulletinBoard (com.autentia.tnt.businessobject.BulletinBoard)2 BulletinBoardCategory (com.autentia.tnt.businessobject.BulletinBoardCategory)2 CompanyState (com.autentia.tnt.businessobject.CompanyState)2 Contact (com.autentia.tnt.businessobject.Contact)2 ContractType (com.autentia.tnt.businessobject.ContractType)2 Department (com.autentia.tnt.businessobject.Department)2 FinancialRatio (com.autentia.tnt.businessobject.FinancialRatio)2