OrganisationDTO.java

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5440 Update Hibernate queries with new syntax

Get rid of deprecated Long and Integer constructors.

  1. … 86 more files in changeset.
LDEV-5440 Rewrite config files and library references

  1. … 955 more files in changeset.
LDEV-3962 Bootstrap index page

  1. … 34 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 1074 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 782 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 2120 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 1860 more files in changeset.
LDEV-3674: Remove multiple Flash elements: Authoring, icons, themes, i18n files, WDDX libraries and classes, methods, servlets etc. Rename/rewrite methods for Flashless use.

  1. … 420 more files in changeset.
Updated address of FSF in copyright statement

  1. … 1392 more files in changeset.
Fix a bug in OrganisationDTO(Organisation organisation) constructor.

this.parentID = organisation.getParentOrganisation().getOrganisationId() will throw a NullPointerException at runtime if the organisation is the top level organisation like "Root"

Now this line of code is modified like this:

this.parentID = (organsiation.getParentOrganisation()==null) ? new Integer(-1) : organisation.getParentOrganisation().getOrganisationId();

So in an organisationDTO, if parentID is -1, it means the organisation is the top level organisation which has no parent.

Changing organisation structure to a simple root, course, class structure.

  1. … 37 more files in changeset.
Equals/Hashcode weren't defined so adding DTO to a set wasn't checking the equality properly - ending up with the DTO in the set multiple times.

Rejigging contribute activities list. Still have to do the urls for grouping and gates

  1. … 23 more files in changeset.
Added parentID

Copyright statement change - only support GPL v2, not future versions. Missed the "version 2.0" the previous check in

  1. … 261 more files in changeset.
Copyright statement change - only support GPL v2, not future versions. Got the lines in the wrong order in the last check in.

  1. … 261 more files in changeset.
Copyright statement change - only support GPL v2, not future versions.

  1. … 261 more files in changeset.
added licence text and got rid of TODO's

  1. … 57 more files in changeset.
*** empty log message ***

    • -0
    • +57
    ./OrganisationDTO.java
  1. … 19 more files in changeset.