Commit 47b67808 authored by Matija Obreza's avatar Matija Obreza
Browse files

Renamed *.controller.* packages to *.api.* and *.mvc.*

parent 4d6774a5
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import org.genesys2.server.service.ContentService;
import org.genesys2.server.service.CropService;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.util.ArrayList;
import java.util.List;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.security.Principal;
import java.util.LinkedHashMap;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.util.List;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.io.EOFException;
import java.io.IOException;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.io.IOException;
import java.util.UUID;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.io.IOException;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.util.List;
import java.util.UUID;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.io.Serializable;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.util.List;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.io.IOException;
import java.util.ArrayList;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.io.Serializable;
import java.util.HashSet;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.io.IOException;
import java.io.OutputStream;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.util.List;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.io.IOException;
import java.util.List;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import org.genesys2.server.model.impl.Team;
import org.genesys2.server.model.impl.User;
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.server.servlet.controller;
package org.genesys2.server.mvc;
import java.util.HashMap;
import java.util.List;
......@@ -39,7 +39,7 @@ import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.NoHandlerFoundException;
@ControllerAdvice
@ControllerAdvice(basePackages = { "org.genesys2.server.mvc" })
public class UserControllerAdvice extends BaseController {
@ResponseStatus(code = HttpStatus.FORBIDDEN)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment