-
-
-
-<%!
-protected String getImageURL(long artistId, ThemeDisplay themeDisplay) throws SystemException {
- Repository repository = PortletFileRepositoryUtil.fetchPortletRepository(themeDisplay.getScopeGroupId(), "JukeboxPortletRepository");
-
- try {
- if (repository != null) {
- FileEntry fileEntry = PortletFileRepositoryUtil.getPortletFileEntry(repository.getRepositoryId(), DLFolderConstants.DEFAULT_PARENT_FOLDER_ID, String.valueOf(artistId));
-
- return DLUtil.getPreviewURL(fileEntry, fileEntry.getLatestFileVersion(), themeDisplay, StringPool.BLANK);
- }
- }
- catch (Exception e) {
- }
-
- return themeDisplay.getPortalURL() + "/jukebox-portlet/images/singer2.jpeg";
-}
-%>
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-display.xml b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-display.xml
deleted file mode 100644
index ca65079825..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-display.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-hook.xml b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-hook.xml
deleted file mode 100644
index 7a69d24c4d..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-hook.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
- content/Language.properties
- content/Language_es.properties
- content/Language_en.properties
- /META-INF/custom_jsps
-
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-plugin-package.properties b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-plugin-package.properties
deleted file mode 100644
index 89a679a71b..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-plugin-package.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-name=JukeBox
-module-group-id=liferay
-module-incremental-version=1
-tags=
-short-description=
-long-description=
-change-log=
-page-url=http://www.liferay.com
-author=Liferay, Inc.
-licenses=LGPL
-liferay-versions=6.2.0+
-
-portal-dependency-jars=\
- jstl-api.jar,\
- jstl-impl.jar
-
-portal-dependency-tlds=\
- c.tld
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-portlet.xml b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-portlet.xml
deleted file mode 100644
index 32a11fce6b..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/liferay-portlet.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
- artists
- /icons/artists.png
- com.liferay.portal.kernel.portlet.DefaultConfigurationAction
- org.liferay.jukebox.util.ArtistIndexer
- org.liferay.jukebox.lar.JukeboxPortletDataHandler
- org.liferay.jukebox.template.ArtistsPortletDisplayTemplateHandler
- org.liferay.jukebox.asset.ArtistAssetRendererFactory
- false
- true
- /css/jukebox.css
- /css/inlineplayer.css
- /css/flashblock.css
- /js/soundmanager2-jsmin.js
- /js/inlineplayer.js
- /js/artists.js
- /js/jukebox_search.js
- artists-portlet
-
-
- albums
- /icons/albums.png
- com.liferay.portal.kernel.portlet.DefaultConfigurationAction
- org.liferay.jukebox.util.AlbumIndexer
- org.liferay.jukebox.lar.JukeboxPortletDataHandler
- org.liferay.jukebox.lar.AlbumStagedModelDataHandler
- org.liferay.jukebox.lar.ArtistStagedModelDataHandler
- org.liferay.jukebox.template.AlbumsPortletDisplayTemplateHandler
- org.liferay.jukebox.asset.AlbumAssetRendererFactory
- false
- true
- /css/jukebox.css
- /css/inlineplayer.css
- /css/flashblock.css
- /js/soundmanager2-jsmin.js
- /js/inlineplayer.js
- /js/albums.js
- /js/jukebox_search.js
- albums-portlet
-
-
- songs
- /icons/songs.png
- com.liferay.portal.kernel.portlet.DefaultConfigurationAction
- org.liferay.jukebox.util.SongIndexer
- org.liferay.jukebox.template.SongsPortletDisplayTemplateHandler
- org.liferay.jukebox.asset.SongAssetRendererFactory
- org.liferay.jukebox.trash.AlbumTrashHandler
- org.liferay.jukebox.trash.SongTrashHandler
- false
- true
- /css/jukebox.css
- /css/inlineplayer.css
- /css/flashblock.css
- /js/soundmanager2-jsmin.js
- /js/inlineplayer.js
- /js/songs.js
- /js/jukebox_search.js
- songs-portlet
-
-
- administrator
- Administrator
-
-
- guest
- Guest
-
-
- power-user
- Power User
-
-
- user
- User
-
-
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/portlet.xml b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/portlet.xml
deleted file mode 100644
index d3a86780ca..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/portlet.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
- artists
- Artists
- org.liferay.jukebox.portlet.ArtistsPortlet
-
- config-template
- /html/artists/configuration.jsp
-
-
- view-jsp
- /html/artists/view.jsp
-
- 0
-
- text/html
- VIEW
-
- content.Language
-
- Artists
- Artists
- Artists
-
-
- administrator
-
-
- guest
-
-
- power-user
-
-
- user
-
-
-
- albums
- Albums
- org.liferay.jukebox.portlet.AlbumsPortlet
-
- config-template
- /html/albums/configuration.jsp
-
-
- view-jsp
- /html/albums/view.jsp
-
- 0
-
- text/html
- VIEW
-
- content.Language
-
- Albums
- Albums
- Albums
-
-
- administrator
-
-
- guest
-
-
- power-user
-
-
- user
-
-
-
- songs
- Songs
- org.liferay.jukebox.portlet.SongsPortlet
-
- config-template
- /html/songs/configuration.jsp
-
-
- view-jsp
- /html/songs/view.jsp
-
- 0
-
- text/html
- VIEW
-
- content.Language
-
- Songs
- Songs
- Songs
-
-
- administrator
-
-
- guest
-
-
- power-user
-
-
- user
-
-
-
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service.xml b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service.xml
deleted file mode 100644
index 1540e43450..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service.xml
+++ /dev/null
@@ -1,230 +0,0 @@
-
-
-
-
-
- Julio Camarero
- jukebox
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- AlbumName
- ArtistName
- SongName
- DuplicatedSong
- DuplicatedArtist
- DuplicatedAlbum
- NoSuchArtist
- NoSuchAlbum
- NoSuchSong
-
-
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/AlbumNameException.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/AlbumNameException.java
deleted file mode 100644
index 95f5123972..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/AlbumNameException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox;
-
-import com.liferay.portal.kernel.exception.PortalException;
-
-/**
- * @author Julio Camarero
- */
-public class AlbumNameException extends PortalException {
-
- public AlbumNameException() {
- super();
- }
-
- public AlbumNameException(String msg) {
- super(msg);
- }
-
- public AlbumNameException(String msg, Throwable cause) {
- super(msg, cause);
- }
-
- public AlbumNameException(Throwable cause) {
- super(cause);
- }
-
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/ArtistNameException.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/ArtistNameException.java
deleted file mode 100644
index 9023565231..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/ArtistNameException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox;
-
-import com.liferay.portal.kernel.exception.PortalException;
-
-/**
- * @author Julio Camarero
- */
-public class ArtistNameException extends PortalException {
-
- public ArtistNameException() {
- super();
- }
-
- public ArtistNameException(String msg) {
- super(msg);
- }
-
- public ArtistNameException(String msg, Throwable cause) {
- super(msg, cause);
- }
-
- public ArtistNameException(Throwable cause) {
- super(cause);
- }
-
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/DuplicatedAlbumException.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/DuplicatedAlbumException.java
deleted file mode 100644
index 01e8dbd892..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/DuplicatedAlbumException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox;
-
-import com.liferay.portal.kernel.exception.PortalException;
-
-/**
- * @author Julio Camarero
- */
-public class DuplicatedAlbumException extends PortalException {
-
- public DuplicatedAlbumException() {
- super();
- }
-
- public DuplicatedAlbumException(String msg) {
- super(msg);
- }
-
- public DuplicatedAlbumException(String msg, Throwable cause) {
- super(msg, cause);
- }
-
- public DuplicatedAlbumException(Throwable cause) {
- super(cause);
- }
-
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/DuplicatedArtistException.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/DuplicatedArtistException.java
deleted file mode 100644
index 99df31ebf9..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/DuplicatedArtistException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox;
-
-import com.liferay.portal.kernel.exception.PortalException;
-
-/**
- * @author Julio Camarero
- */
-public class DuplicatedArtistException extends PortalException {
-
- public DuplicatedArtistException() {
- super();
- }
-
- public DuplicatedArtistException(String msg) {
- super(msg);
- }
-
- public DuplicatedArtistException(String msg, Throwable cause) {
- super(msg, cause);
- }
-
- public DuplicatedArtistException(Throwable cause) {
- super(cause);
- }
-
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/DuplicatedSongException.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/DuplicatedSongException.java
deleted file mode 100644
index ef88ad2593..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/DuplicatedSongException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox;
-
-import com.liferay.portal.kernel.exception.PortalException;
-
-/**
- * @author Julio Camarero
- */
-public class DuplicatedSongException extends PortalException {
-
- public DuplicatedSongException() {
- super();
- }
-
- public DuplicatedSongException(String msg) {
- super(msg);
- }
-
- public DuplicatedSongException(String msg, Throwable cause) {
- super(msg, cause);
- }
-
- public DuplicatedSongException(Throwable cause) {
- super(cause);
- }
-
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/NoSuchAlbumException.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/NoSuchAlbumException.java
deleted file mode 100644
index 3f7f297dd5..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/NoSuchAlbumException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox;
-
-import com.liferay.portal.NoSuchModelException;
-
-/**
- * @author Julio Camarero
- */
-public class NoSuchAlbumException extends NoSuchModelException {
-
- public NoSuchAlbumException() {
- super();
- }
-
- public NoSuchAlbumException(String msg) {
- super(msg);
- }
-
- public NoSuchAlbumException(String msg, Throwable cause) {
- super(msg, cause);
- }
-
- public NoSuchAlbumException(Throwable cause) {
- super(cause);
- }
-
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/NoSuchArtistException.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/NoSuchArtistException.java
deleted file mode 100644
index 986ead3342..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/NoSuchArtistException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox;
-
-import com.liferay.portal.NoSuchModelException;
-
-/**
- * @author Julio Camarero
- */
-public class NoSuchArtistException extends NoSuchModelException {
-
- public NoSuchArtistException() {
- super();
- }
-
- public NoSuchArtistException(String msg) {
- super(msg);
- }
-
- public NoSuchArtistException(String msg, Throwable cause) {
- super(msg, cause);
- }
-
- public NoSuchArtistException(Throwable cause) {
- super(cause);
- }
-
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/NoSuchSongException.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/NoSuchSongException.java
deleted file mode 100644
index 3ba2b6c085..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/NoSuchSongException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox;
-
-import com.liferay.portal.NoSuchModelException;
-
-/**
- * @author Julio Camarero
- */
-public class NoSuchSongException extends NoSuchModelException {
-
- public NoSuchSongException() {
- super();
- }
-
- public NoSuchSongException(String msg) {
- super(msg);
- }
-
- public NoSuchSongException(String msg, Throwable cause) {
- super(msg, cause);
- }
-
- public NoSuchSongException(Throwable cause) {
- super(cause);
- }
-
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/SongNameException.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/SongNameException.java
deleted file mode 100644
index 7444df551d..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/SongNameException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox;
-
-import com.liferay.portal.kernel.exception.PortalException;
-
-/**
- * @author Julio Camarero
- */
-public class SongNameException extends PortalException {
-
- public SongNameException() {
- super();
- }
-
- public SongNameException(String msg) {
- super(msg);
- }
-
- public SongNameException(String msg, Throwable cause) {
- super(msg, cause);
- }
-
- public SongNameException(Throwable cause) {
- super(cause);
- }
-
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/Album.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/Album.java
deleted file mode 100644
index 3551034428..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/Album.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.model.PersistedModel;
-
-/**
- * The extended model interface for the Album service. Represents a row in the "jukebox_Album" database table, with each column mapped to a property of this class.
- *
- * @author Julio Camarero
- * @see AlbumModel
- * @see org.liferay.jukebox.model.impl.AlbumImpl
- * @see org.liferay.jukebox.model.impl.AlbumModelImpl
- * @generated
- */
-public interface Album extends AlbumModel, PersistedModel {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify this interface directly. Add methods to {@link org.liferay.jukebox.model.impl.AlbumImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
- */
- public com.liferay.portal.kernel.repository.model.FileEntry getCustomImage()
- throws com.liferay.portal.kernel.exception.SystemException;
-
- public java.lang.String getImageURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public boolean hasCustomImage()
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumClp.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumClp.java
deleted file mode 100644
index b482f95198..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumClp.java
+++ /dev/null
@@ -1,1085 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
-import com.liferay.portal.kernel.exception.PortalException;
-import com.liferay.portal.kernel.exception.SystemException;
-import com.liferay.portal.kernel.lar.StagedModelType;
-import com.liferay.portal.kernel.trash.TrashHandler;
-import com.liferay.portal.kernel.trash.TrashHandlerRegistryUtil;
-import com.liferay.portal.kernel.util.ProxyUtil;
-import com.liferay.portal.kernel.util.StringBundler;
-import com.liferay.portal.kernel.util.Validator;
-import com.liferay.portal.kernel.workflow.WorkflowConstants;
-import com.liferay.portal.model.BaseModel;
-import com.liferay.portal.model.ContainerModel;
-import com.liferay.portal.model.TrashedModel;
-import com.liferay.portal.model.impl.BaseModelImpl;
-import com.liferay.portal.util.PortalUtil;
-
-import com.liferay.portlet.trash.model.TrashEntry;
-import com.liferay.portlet.trash.service.TrashEntryLocalServiceUtil;
-
-import org.liferay.jukebox.service.AlbumLocalServiceUtil;
-import org.liferay.jukebox.service.ClpSerializer;
-
-import java.io.Serializable;
-
-import java.lang.reflect.Method;
-
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * @author Julio Camarero
- */
-public class AlbumClp extends BaseModelImpl implements Album {
- public AlbumClp() {
- }
-
- @Override
- public Class> getModelClass() {
- return Album.class;
- }
-
- @Override
- public String getModelClassName() {
- return Album.class.getName();
- }
-
- @Override
- public long getPrimaryKey() {
- return _albumId;
- }
-
- @Override
- public void setPrimaryKey(long primaryKey) {
- setAlbumId(primaryKey);
- }
-
- @Override
- public Serializable getPrimaryKeyObj() {
- return _albumId;
- }
-
- @Override
- public void setPrimaryKeyObj(Serializable primaryKeyObj) {
- setPrimaryKey(((Long)primaryKeyObj).longValue());
- }
-
- @Override
- public Map getModelAttributes() {
- Map attributes = new HashMap();
-
- attributes.put("uuid", getUuid());
- attributes.put("albumId", getAlbumId());
- attributes.put("companyId", getCompanyId());
- attributes.put("groupId", getGroupId());
- attributes.put("userId", getUserId());
- attributes.put("userName", getUserName());
- attributes.put("createDate", getCreateDate());
- attributes.put("modifiedDate", getModifiedDate());
- attributes.put("artistId", getArtistId());
- attributes.put("name", getName());
- attributes.put("year", getYear());
- attributes.put("status", getStatus());
- attributes.put("statusByUserId", getStatusByUserId());
- attributes.put("statusByUserName", getStatusByUserName());
- attributes.put("statusDate", getStatusDate());
-
- return attributes;
- }
-
- @Override
- public void setModelAttributes(Map attributes) {
- String uuid = (String)attributes.get("uuid");
-
- if (uuid != null) {
- setUuid(uuid);
- }
-
- Long albumId = (Long)attributes.get("albumId");
-
- if (albumId != null) {
- setAlbumId(albumId);
- }
-
- Long companyId = (Long)attributes.get("companyId");
-
- if (companyId != null) {
- setCompanyId(companyId);
- }
-
- Long groupId = (Long)attributes.get("groupId");
-
- if (groupId != null) {
- setGroupId(groupId);
- }
-
- Long userId = (Long)attributes.get("userId");
-
- if (userId != null) {
- setUserId(userId);
- }
-
- String userName = (String)attributes.get("userName");
-
- if (userName != null) {
- setUserName(userName);
- }
-
- Date createDate = (Date)attributes.get("createDate");
-
- if (createDate != null) {
- setCreateDate(createDate);
- }
-
- Date modifiedDate = (Date)attributes.get("modifiedDate");
-
- if (modifiedDate != null) {
- setModifiedDate(modifiedDate);
- }
-
- Long artistId = (Long)attributes.get("artistId");
-
- if (artistId != null) {
- setArtistId(artistId);
- }
-
- String name = (String)attributes.get("name");
-
- if (name != null) {
- setName(name);
- }
-
- Integer year = (Integer)attributes.get("year");
-
- if (year != null) {
- setYear(year);
- }
-
- Integer status = (Integer)attributes.get("status");
-
- if (status != null) {
- setStatus(status);
- }
-
- Long statusByUserId = (Long)attributes.get("statusByUserId");
-
- if (statusByUserId != null) {
- setStatusByUserId(statusByUserId);
- }
-
- String statusByUserName = (String)attributes.get("statusByUserName");
-
- if (statusByUserName != null) {
- setStatusByUserName(statusByUserName);
- }
-
- Date statusDate = (Date)attributes.get("statusDate");
-
- if (statusDate != null) {
- setStatusDate(statusDate);
- }
- }
-
- @Override
- public String getUuid() {
- return _uuid;
- }
-
- @Override
- public void setUuid(String uuid) {
- _uuid = uuid;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setUuid", String.class);
-
- method.invoke(_albumRemoteModel, uuid);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getAlbumId() {
- return _albumId;
- }
-
- @Override
- public void setAlbumId(long albumId) {
- _albumId = albumId;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setAlbumId", long.class);
-
- method.invoke(_albumRemoteModel, albumId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getCompanyId() {
- return _companyId;
- }
-
- @Override
- public void setCompanyId(long companyId) {
- _companyId = companyId;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setCompanyId", long.class);
-
- method.invoke(_albumRemoteModel, companyId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getGroupId() {
- return _groupId;
- }
-
- @Override
- public void setGroupId(long groupId) {
- _groupId = groupId;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setGroupId", long.class);
-
- method.invoke(_albumRemoteModel, groupId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getUserId() {
- return _userId;
- }
-
- @Override
- public void setUserId(long userId) {
- _userId = userId;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setUserId", long.class);
-
- method.invoke(_albumRemoteModel, userId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public String getUserUuid() throws SystemException {
- return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
- }
-
- @Override
- public void setUserUuid(String userUuid) {
- _userUuid = userUuid;
- }
-
- @Override
- public String getUserName() {
- return _userName;
- }
-
- @Override
- public void setUserName(String userName) {
- _userName = userName;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setUserName", String.class);
-
- method.invoke(_albumRemoteModel, userName);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public Date getCreateDate() {
- return _createDate;
- }
-
- @Override
- public void setCreateDate(Date createDate) {
- _createDate = createDate;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setCreateDate", Date.class);
-
- method.invoke(_albumRemoteModel, createDate);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public Date getModifiedDate() {
- return _modifiedDate;
- }
-
- @Override
- public void setModifiedDate(Date modifiedDate) {
- _modifiedDate = modifiedDate;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setModifiedDate", Date.class);
-
- method.invoke(_albumRemoteModel, modifiedDate);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getArtistId() {
- return _artistId;
- }
-
- @Override
- public void setArtistId(long artistId) {
- _artistId = artistId;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setArtistId", long.class);
-
- method.invoke(_albumRemoteModel, artistId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public String getName() {
- return _name;
- }
-
- @Override
- public void setName(String name) {
- _name = name;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setName", String.class);
-
- method.invoke(_albumRemoteModel, name);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public int getYear() {
- return _year;
- }
-
- @Override
- public void setYear(int year) {
- _year = year;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setYear", int.class);
-
- method.invoke(_albumRemoteModel, year);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public int getStatus() {
- return _status;
- }
-
- @Override
- public void setStatus(int status) {
- _status = status;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatus", int.class);
-
- method.invoke(_albumRemoteModel, status);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getStatusByUserId() {
- return _statusByUserId;
- }
-
- @Override
- public void setStatusByUserId(long statusByUserId) {
- _statusByUserId = statusByUserId;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatusByUserId", long.class);
-
- method.invoke(_albumRemoteModel, statusByUserId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public String getStatusByUserUuid() throws SystemException {
- return PortalUtil.getUserValue(getStatusByUserId(), "uuid",
- _statusByUserUuid);
- }
-
- @Override
- public void setStatusByUserUuid(String statusByUserUuid) {
- _statusByUserUuid = statusByUserUuid;
- }
-
- @Override
- public String getStatusByUserName() {
- return _statusByUserName;
- }
-
- @Override
- public void setStatusByUserName(String statusByUserName) {
- _statusByUserName = statusByUserName;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatusByUserName",
- String.class);
-
- method.invoke(_albumRemoteModel, statusByUserName);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public Date getStatusDate() {
- return _statusDate;
- }
-
- @Override
- public void setStatusDate(Date statusDate) {
- _statusDate = statusDate;
-
- if (_albumRemoteModel != null) {
- try {
- Class> clazz = _albumRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatusDate", Date.class);
-
- method.invoke(_albumRemoteModel, statusDate);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public boolean hasCustomImage() {
- try {
- String methodName = "hasCustomImage";
-
- Class>[] parameterTypes = new Class>[] { };
-
- Object[] parameterValues = new Object[] { };
-
- Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
- parameterTypes, parameterValues);
-
- return returnObj;
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
-
- @Override
- public com.liferay.portal.kernel.repository.model.FileEntry getCustomImage() {
- try {
- String methodName = "getCustomImage";
-
- Class>[] parameterTypes = new Class>[] { };
-
- Object[] parameterValues = new Object[] { };
-
- com.liferay.portal.kernel.repository.model.FileEntry returnObj = (com.liferay.portal.kernel.repository.model.FileEntry)invokeOnRemoteModel(methodName,
- parameterTypes, parameterValues);
-
- return returnObj;
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
-
- @Override
- public java.lang.String getImageURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay) {
- try {
- String methodName = "getImageURL";
-
- Class>[] parameterTypes = new Class>[] {
- com.liferay.portal.theme.ThemeDisplay.class
- };
-
- Object[] parameterValues = new Object[] { themeDisplay };
-
- java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
- parameterTypes, parameterValues);
-
- return returnObj;
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
-
- public long getContainerModelId() {
- return getAlbumId();
- }
-
- public void setContainerModelId(long containerModelId) {
- _albumId = containerModelId;
- }
-
- public String getContainerModelName() {
- return String.valueOf(getName());
- }
-
- public long getParentContainerModelId() {
- return 0;
- }
-
- public void setParentContainerModelId(long parentContainerModelId) {
- }
-
- @Override
- public StagedModelType getStagedModelType() {
- return new StagedModelType(PortalUtil.getClassNameId(
- Album.class.getName()));
- }
-
- @Override
- public TrashEntry getTrashEntry() throws PortalException, SystemException {
- if (!isInTrash()) {
- return null;
- }
-
- TrashEntry trashEntry = TrashEntryLocalServiceUtil.fetchEntry(getModelClassName(),
- getTrashEntryClassPK());
-
- if (trashEntry != null) {
- return trashEntry;
- }
-
- TrashHandler trashHandler = getTrashHandler();
-
- if (!Validator.isNull(trashHandler.getContainerModelClassName())) {
- ContainerModel containerModel = trashHandler.getParentContainerModel(this);
-
- while (containerModel != null) {
- if (containerModel instanceof TrashedModel) {
- TrashedModel trashedModel = (TrashedModel)containerModel;
-
- return trashedModel.getTrashEntry();
- }
-
- trashHandler = TrashHandlerRegistryUtil.getTrashHandler(trashHandler.getContainerModelClassName());
-
- if (trashHandler == null) {
- return null;
- }
-
- containerModel = trashHandler.getContainerModel(containerModel.getParentContainerModelId());
- }
- }
-
- return null;
- }
-
- @Override
- public long getTrashEntryClassPK() {
- return getPrimaryKey();
- }
-
- @Override
- public TrashHandler getTrashHandler() {
- return TrashHandlerRegistryUtil.getTrashHandler(getModelClassName());
- }
-
- @Override
- public boolean isInTrash() {
- if (getStatus() == WorkflowConstants.STATUS_IN_TRASH) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isInTrashContainer() {
- TrashHandler trashHandler = getTrashHandler();
-
- if ((trashHandler == null) ||
- Validator.isNull(trashHandler.getContainerModelClassName())) {
- return false;
- }
-
- try {
- ContainerModel containerModel = trashHandler.getParentContainerModel(this);
-
- if (containerModel == null) {
- return false;
- }
-
- if (containerModel instanceof TrashedModel) {
- return ((TrashedModel)containerModel).isInTrash();
- }
- }
- catch (Exception e) {
- }
-
- return false;
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #isApproved}
- */
- @Override
- public boolean getApproved() {
- return isApproved();
- }
-
- @Override
- public boolean isApproved() {
- if (getStatus() == WorkflowConstants.STATUS_APPROVED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isDenied() {
- if (getStatus() == WorkflowConstants.STATUS_DENIED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isDraft() {
- if (getStatus() == WorkflowConstants.STATUS_DRAFT) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isExpired() {
- if (getStatus() == WorkflowConstants.STATUS_EXPIRED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isInactive() {
- if (getStatus() == WorkflowConstants.STATUS_INACTIVE) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isIncomplete() {
- if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isPending() {
- if (getStatus() == WorkflowConstants.STATUS_PENDING) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isScheduled() {
- if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- public BaseModel> getAlbumRemoteModel() {
- return _albumRemoteModel;
- }
-
- public void setAlbumRemoteModel(BaseModel> albumRemoteModel) {
- _albumRemoteModel = albumRemoteModel;
- }
-
- public Object invokeOnRemoteModel(String methodName,
- Class>[] parameterTypes, Object[] parameterValues)
- throws Exception {
- Object[] remoteParameterValues = new Object[parameterValues.length];
-
- for (int i = 0; i < parameterValues.length; i++) {
- if (parameterValues[i] != null) {
- remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]);
- }
- }
-
- Class> remoteModelClass = _albumRemoteModel.getClass();
-
- ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader();
-
- Class>[] remoteParameterTypes = new Class[parameterTypes.length];
-
- for (int i = 0; i < parameterTypes.length; i++) {
- if (parameterTypes[i].isPrimitive()) {
- remoteParameterTypes[i] = parameterTypes[i];
- }
- else {
- String parameterTypeName = parameterTypes[i].getName();
-
- remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName);
- }
- }
-
- Method method = remoteModelClass.getMethod(methodName,
- remoteParameterTypes);
-
- Object returnValue = method.invoke(_albumRemoteModel,
- remoteParameterValues);
-
- if (returnValue != null) {
- returnValue = ClpSerializer.translateOutput(returnValue);
- }
-
- return returnValue;
- }
-
- @Override
- public void persist() throws SystemException {
- if (this.isNew()) {
- AlbumLocalServiceUtil.addAlbum(this);
- }
- else {
- AlbumLocalServiceUtil.updateAlbum(this);
- }
- }
-
- @Override
- public Album toEscapedModel() {
- return (Album)ProxyUtil.newProxyInstance(Album.class.getClassLoader(),
- new Class[] { Album.class }, new AutoEscapeBeanHandler(this));
- }
-
- @Override
- public Object clone() {
- AlbumClp clone = new AlbumClp();
-
- clone.setUuid(getUuid());
- clone.setAlbumId(getAlbumId());
- clone.setCompanyId(getCompanyId());
- clone.setGroupId(getGroupId());
- clone.setUserId(getUserId());
- clone.setUserName(getUserName());
- clone.setCreateDate(getCreateDate());
- clone.setModifiedDate(getModifiedDate());
- clone.setArtistId(getArtistId());
- clone.setName(getName());
- clone.setYear(getYear());
- clone.setStatus(getStatus());
- clone.setStatusByUserId(getStatusByUserId());
- clone.setStatusByUserName(getStatusByUserName());
- clone.setStatusDate(getStatusDate());
-
- return clone;
- }
-
- @Override
- public int compareTo(Album album) {
- long primaryKey = album.getPrimaryKey();
-
- if (getPrimaryKey() < primaryKey) {
- return -1;
- }
- else if (getPrimaryKey() > primaryKey) {
- return 1;
- }
- else {
- return 0;
- }
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
-
- if (!(obj instanceof AlbumClp)) {
- return false;
- }
-
- AlbumClp album = (AlbumClp)obj;
-
- long primaryKey = album.getPrimaryKey();
-
- if (getPrimaryKey() == primaryKey) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public int hashCode() {
- return (int)getPrimaryKey();
- }
-
- @Override
- public String toString() {
- StringBundler sb = new StringBundler(31);
-
- sb.append("{uuid=");
- sb.append(getUuid());
- sb.append(", albumId=");
- sb.append(getAlbumId());
- sb.append(", companyId=");
- sb.append(getCompanyId());
- sb.append(", groupId=");
- sb.append(getGroupId());
- sb.append(", userId=");
- sb.append(getUserId());
- sb.append(", userName=");
- sb.append(getUserName());
- sb.append(", createDate=");
- sb.append(getCreateDate());
- sb.append(", modifiedDate=");
- sb.append(getModifiedDate());
- sb.append(", artistId=");
- sb.append(getArtistId());
- sb.append(", name=");
- sb.append(getName());
- sb.append(", year=");
- sb.append(getYear());
- sb.append(", status=");
- sb.append(getStatus());
- sb.append(", statusByUserId=");
- sb.append(getStatusByUserId());
- sb.append(", statusByUserName=");
- sb.append(getStatusByUserName());
- sb.append(", statusDate=");
- sb.append(getStatusDate());
- sb.append("}");
-
- return sb.toString();
- }
-
- @Override
- public String toXmlString() {
- StringBundler sb = new StringBundler(49);
-
- sb.append("");
- sb.append("org.liferay.jukebox.model.Album");
- sb.append("");
-
- sb.append(
- "uuid");
- sb.append(
- "albumId");
- sb.append(
- "companyId");
- sb.append(
- "groupId");
- sb.append(
- "userId");
- sb.append(
- "userName");
- sb.append(
- "createDate");
- sb.append(
- "modifiedDate");
- sb.append(
- "artistId");
- sb.append(
- "name");
- sb.append(
- "year");
- sb.append(
- "status");
- sb.append(
- "statusByUserId");
- sb.append(
- "statusByUserName");
- sb.append(
- "statusDate");
-
- sb.append("");
-
- return sb.toString();
- }
-
- private String _uuid;
- private long _albumId;
- private long _companyId;
- private long _groupId;
- private long _userId;
- private String _userUuid;
- private String _userName;
- private Date _createDate;
- private Date _modifiedDate;
- private long _artistId;
- private String _name;
- private int _year;
- private int _status;
- private long _statusByUserId;
- private String _statusByUserUuid;
- private String _statusByUserName;
- private Date _statusDate;
- private BaseModel> _albumRemoteModel;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumModel.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumModel.java
deleted file mode 100644
index c3dcfe2d6a..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumModel.java
+++ /dev/null
@@ -1,549 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.kernel.bean.AutoEscape;
-import com.liferay.portal.kernel.exception.PortalException;
-import com.liferay.portal.kernel.exception.SystemException;
-import com.liferay.portal.kernel.trash.TrashHandler;
-import com.liferay.portal.model.BaseModel;
-import com.liferay.portal.model.CacheModel;
-import com.liferay.portal.model.ContainerModel;
-import com.liferay.portal.model.StagedGroupedModel;
-import com.liferay.portal.model.TrashedModel;
-import com.liferay.portal.model.WorkflowedModel;
-import com.liferay.portal.service.ServiceContext;
-
-import com.liferay.portlet.expando.model.ExpandoBridge;
-import com.liferay.portlet.trash.model.TrashEntry;
-
-import java.io.Serializable;
-
-import java.util.Date;
-
-/**
- * The base model interface for the Album service. Represents a row in the "jukebox_Album" database table, with each column mapped to a property of this class.
- *
- *
- * This interface and its corresponding implementation {@link org.liferay.jukebox.model.impl.AlbumModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link org.liferay.jukebox.model.impl.AlbumImpl}.
- *
- *
- * @author Julio Camarero
- * @see Album
- * @see org.liferay.jukebox.model.impl.AlbumImpl
- * @see org.liferay.jukebox.model.impl.AlbumModelImpl
- * @generated
- */
-public interface AlbumModel extends BaseModel, ContainerModel,
- StagedGroupedModel, TrashedModel, WorkflowedModel {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify or reference this interface directly. All methods that expect a album model instance should use the {@link Album} interface instead.
- */
-
- /**
- * Returns the primary key of this album.
- *
- * @return the primary key of this album
- */
- public long getPrimaryKey();
-
- /**
- * Sets the primary key of this album.
- *
- * @param primaryKey the primary key of this album
- */
- public void setPrimaryKey(long primaryKey);
-
- /**
- * Returns the uuid of this album.
- *
- * @return the uuid of this album
- */
- @AutoEscape
- @Override
- public String getUuid();
-
- /**
- * Sets the uuid of this album.
- *
- * @param uuid the uuid of this album
- */
- @Override
- public void setUuid(String uuid);
-
- /**
- * Returns the album ID of this album.
- *
- * @return the album ID of this album
- */
- public long getAlbumId();
-
- /**
- * Sets the album ID of this album.
- *
- * @param albumId the album ID of this album
- */
- public void setAlbumId(long albumId);
-
- /**
- * Returns the company ID of this album.
- *
- * @return the company ID of this album
- */
- @Override
- public long getCompanyId();
-
- /**
- * Sets the company ID of this album.
- *
- * @param companyId the company ID of this album
- */
- @Override
- public void setCompanyId(long companyId);
-
- /**
- * Returns the group ID of this album.
- *
- * @return the group ID of this album
- */
- @Override
- public long getGroupId();
-
- /**
- * Sets the group ID of this album.
- *
- * @param groupId the group ID of this album
- */
- @Override
- public void setGroupId(long groupId);
-
- /**
- * Returns the user ID of this album.
- *
- * @return the user ID of this album
- */
- @Override
- public long getUserId();
-
- /**
- * Sets the user ID of this album.
- *
- * @param userId the user ID of this album
- */
- @Override
- public void setUserId(long userId);
-
- /**
- * Returns the user uuid of this album.
- *
- * @return the user uuid of this album
- * @throws SystemException if a system exception occurred
- */
- @Override
- public String getUserUuid() throws SystemException;
-
- /**
- * Sets the user uuid of this album.
- *
- * @param userUuid the user uuid of this album
- */
- @Override
- public void setUserUuid(String userUuid);
-
- /**
- * Returns the user name of this album.
- *
- * @return the user name of this album
- */
- @AutoEscape
- @Override
- public String getUserName();
-
- /**
- * Sets the user name of this album.
- *
- * @param userName the user name of this album
- */
- @Override
- public void setUserName(String userName);
-
- /**
- * Returns the create date of this album.
- *
- * @return the create date of this album
- */
- @Override
- public Date getCreateDate();
-
- /**
- * Sets the create date of this album.
- *
- * @param createDate the create date of this album
- */
- @Override
- public void setCreateDate(Date createDate);
-
- /**
- * Returns the modified date of this album.
- *
- * @return the modified date of this album
- */
- @Override
- public Date getModifiedDate();
-
- /**
- * Sets the modified date of this album.
- *
- * @param modifiedDate the modified date of this album
- */
- @Override
- public void setModifiedDate(Date modifiedDate);
-
- /**
- * Returns the artist ID of this album.
- *
- * @return the artist ID of this album
- */
- public long getArtistId();
-
- /**
- * Sets the artist ID of this album.
- *
- * @param artistId the artist ID of this album
- */
- public void setArtistId(long artistId);
-
- /**
- * Returns the name of this album.
- *
- * @return the name of this album
- */
- @AutoEscape
- public String getName();
-
- /**
- * Sets the name of this album.
- *
- * @param name the name of this album
- */
- public void setName(String name);
-
- /**
- * Returns the year of this album.
- *
- * @return the year of this album
- */
- public int getYear();
-
- /**
- * Sets the year of this album.
- *
- * @param year the year of this album
- */
- public void setYear(int year);
-
- /**
- * Returns the status of this album.
- *
- * @return the status of this album
- */
- @Override
- public int getStatus();
-
- /**
- * Sets the status of this album.
- *
- * @param status the status of this album
- */
- @Override
- public void setStatus(int status);
-
- /**
- * Returns the status by user ID of this album.
- *
- * @return the status by user ID of this album
- */
- @Override
- public long getStatusByUserId();
-
- /**
- * Sets the status by user ID of this album.
- *
- * @param statusByUserId the status by user ID of this album
- */
- @Override
- public void setStatusByUserId(long statusByUserId);
-
- /**
- * Returns the status by user uuid of this album.
- *
- * @return the status by user uuid of this album
- * @throws SystemException if a system exception occurred
- */
- @Override
- public String getStatusByUserUuid() throws SystemException;
-
- /**
- * Sets the status by user uuid of this album.
- *
- * @param statusByUserUuid the status by user uuid of this album
- */
- @Override
- public void setStatusByUserUuid(String statusByUserUuid);
-
- /**
- * Returns the status by user name of this album.
- *
- * @return the status by user name of this album
- */
- @AutoEscape
- @Override
- public String getStatusByUserName();
-
- /**
- * Sets the status by user name of this album.
- *
- * @param statusByUserName the status by user name of this album
- */
- @Override
- public void setStatusByUserName(String statusByUserName);
-
- /**
- * Returns the status date of this album.
- *
- * @return the status date of this album
- */
- @Override
- public Date getStatusDate();
-
- /**
- * Sets the status date of this album.
- *
- * @param statusDate the status date of this album
- */
- @Override
- public void setStatusDate(Date statusDate);
-
- /**
- * Returns the trash entry created when this album was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this album.
- *
- * @return the trash entry created when this album was moved to the Recycle Bin
- * @throws SystemException if a system exception occurred
- */
- @Override
- public TrashEntry getTrashEntry() throws PortalException, SystemException;
-
- /**
- * Returns the class primary key of the trash entry for this album.
- *
- * @return the class primary key of the trash entry for this album
- */
- @Override
- public long getTrashEntryClassPK();
-
- /**
- * Returns the trash handler for this album.
- *
- * @return the trash handler for this album
- */
- @Override
- public TrashHandler getTrashHandler();
-
- /**
- * Returns true if this album is in the Recycle Bin.
- *
- * @return true if this album is in the Recycle Bin; false otherwise
- */
- @Override
- public boolean isInTrash();
-
- /**
- * Returns true if the parent of this album is in the Recycle Bin.
- *
- * @return true if the parent of this album is in the Recycle Bin; false otherwise
- * @throws SystemException if a system exception occurred
- */
- @Override
- public boolean isInTrashContainer();
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #isApproved()}
- */
- @Override
- public boolean getApproved();
-
- /**
- * Returns true if this album is approved.
- *
- * @return true if this album is approved; false otherwise
- */
- @Override
- public boolean isApproved();
-
- /**
- * Returns true if this album is denied.
- *
- * @return true if this album is denied; false otherwise
- */
- @Override
- public boolean isDenied();
-
- /**
- * Returns true if this album is a draft.
- *
- * @return true if this album is a draft; false otherwise
- */
- @Override
- public boolean isDraft();
-
- /**
- * Returns true if this album is expired.
- *
- * @return true if this album is expired; false otherwise
- */
- @Override
- public boolean isExpired();
-
- /**
- * Returns true if this album is inactive.
- *
- * @return true if this album is inactive; false otherwise
- */
- @Override
- public boolean isInactive();
-
- /**
- * Returns true if this album is incomplete.
- *
- * @return true if this album is incomplete; false otherwise
- */
- @Override
- public boolean isIncomplete();
-
- /**
- * Returns true if this album is pending.
- *
- * @return true if this album is pending; false otherwise
- */
- @Override
- public boolean isPending();
-
- /**
- * Returns true if this album is scheduled.
- *
- * @return true if this album is scheduled; false otherwise
- */
- @Override
- public boolean isScheduled();
-
- /**
- * Returns the container model ID of this album.
- *
- * @return the container model ID of this album
- */
- @Override
- public long getContainerModelId();
-
- /**
- * Sets the container model ID of this album.
- *
- * @param containerModelId the container model ID of this album
- */
- @Override
- public void setContainerModelId(long containerModelId);
-
- /**
- * Returns the container name of this album.
- *
- * @return the container name of this album
- */
- @Override
- public String getContainerModelName();
-
- /**
- * Returns the parent container model ID of this album.
- *
- * @return the parent container model ID of this album
- */
- @Override
- public long getParentContainerModelId();
-
- /**
- * Sets the parent container model ID of this album.
- *
- * @param parentContainerModelId the parent container model ID of this album
- */
- @Override
- public void setParentContainerModelId(long parentContainerModelId);
-
- @Override
- public boolean isNew();
-
- @Override
- public void setNew(boolean n);
-
- @Override
- public boolean isCachedModel();
-
- @Override
- public void setCachedModel(boolean cachedModel);
-
- @Override
- public boolean isEscapedModel();
-
- @Override
- public Serializable getPrimaryKeyObj();
-
- @Override
- public void setPrimaryKeyObj(Serializable primaryKeyObj);
-
- @Override
- public ExpandoBridge getExpandoBridge();
-
- @Override
- public void setExpandoBridgeAttributes(BaseModel> baseModel);
-
- @Override
- public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
-
- @Override
- public void setExpandoBridgeAttributes(ServiceContext serviceContext);
-
- @Override
- public Object clone();
-
- @Override
- public int compareTo(Album album);
-
- @Override
- public int hashCode();
-
- @Override
- public CacheModel toCacheModel();
-
- @Override
- public Album toEscapedModel();
-
- @Override
- public Album toUnescapedModel();
-
- @Override
- public String toString();
-
- @Override
- public String toXmlString();
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumSoap.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumSoap.java
deleted file mode 100644
index 8538f28393..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumSoap.java
+++ /dev/null
@@ -1,236 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import java.io.Serializable;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-/**
- * This class is used by SOAP remote services, specifically {@link org.liferay.jukebox.service.http.AlbumServiceSoap}.
- *
- * @author Julio Camarero
- * @see org.liferay.jukebox.service.http.AlbumServiceSoap
- * @generated
- */
-public class AlbumSoap implements Serializable {
- public static AlbumSoap toSoapModel(Album model) {
- AlbumSoap soapModel = new AlbumSoap();
-
- soapModel.setUuid(model.getUuid());
- soapModel.setAlbumId(model.getAlbumId());
- soapModel.setCompanyId(model.getCompanyId());
- soapModel.setGroupId(model.getGroupId());
- soapModel.setUserId(model.getUserId());
- soapModel.setUserName(model.getUserName());
- soapModel.setCreateDate(model.getCreateDate());
- soapModel.setModifiedDate(model.getModifiedDate());
- soapModel.setArtistId(model.getArtistId());
- soapModel.setName(model.getName());
- soapModel.setYear(model.getYear());
- soapModel.setStatus(model.getStatus());
- soapModel.setStatusByUserId(model.getStatusByUserId());
- soapModel.setStatusByUserName(model.getStatusByUserName());
- soapModel.setStatusDate(model.getStatusDate());
-
- return soapModel;
- }
-
- public static AlbumSoap[] toSoapModels(Album[] models) {
- AlbumSoap[] soapModels = new AlbumSoap[models.length];
-
- for (int i = 0; i < models.length; i++) {
- soapModels[i] = toSoapModel(models[i]);
- }
-
- return soapModels;
- }
-
- public static AlbumSoap[][] toSoapModels(Album[][] models) {
- AlbumSoap[][] soapModels = null;
-
- if (models.length > 0) {
- soapModels = new AlbumSoap[models.length][models[0].length];
- }
- else {
- soapModels = new AlbumSoap[0][0];
- }
-
- for (int i = 0; i < models.length; i++) {
- soapModels[i] = toSoapModels(models[i]);
- }
-
- return soapModels;
- }
-
- public static AlbumSoap[] toSoapModels(List models) {
- List soapModels = new ArrayList(models.size());
-
- for (Album model : models) {
- soapModels.add(toSoapModel(model));
- }
-
- return soapModels.toArray(new AlbumSoap[soapModels.size()]);
- }
-
- public AlbumSoap() {
- }
-
- public long getPrimaryKey() {
- return _albumId;
- }
-
- public void setPrimaryKey(long pk) {
- setAlbumId(pk);
- }
-
- public String getUuid() {
- return _uuid;
- }
-
- public void setUuid(String uuid) {
- _uuid = uuid;
- }
-
- public long getAlbumId() {
- return _albumId;
- }
-
- public void setAlbumId(long albumId) {
- _albumId = albumId;
- }
-
- public long getCompanyId() {
- return _companyId;
- }
-
- public void setCompanyId(long companyId) {
- _companyId = companyId;
- }
-
- public long getGroupId() {
- return _groupId;
- }
-
- public void setGroupId(long groupId) {
- _groupId = groupId;
- }
-
- public long getUserId() {
- return _userId;
- }
-
- public void setUserId(long userId) {
- _userId = userId;
- }
-
- public String getUserName() {
- return _userName;
- }
-
- public void setUserName(String userName) {
- _userName = userName;
- }
-
- public Date getCreateDate() {
- return _createDate;
- }
-
- public void setCreateDate(Date createDate) {
- _createDate = createDate;
- }
-
- public Date getModifiedDate() {
- return _modifiedDate;
- }
-
- public void setModifiedDate(Date modifiedDate) {
- _modifiedDate = modifiedDate;
- }
-
- public long getArtistId() {
- return _artistId;
- }
-
- public void setArtistId(long artistId) {
- _artistId = artistId;
- }
-
- public String getName() {
- return _name;
- }
-
- public void setName(String name) {
- _name = name;
- }
-
- public int getYear() {
- return _year;
- }
-
- public void setYear(int year) {
- _year = year;
- }
-
- public int getStatus() {
- return _status;
- }
-
- public void setStatus(int status) {
- _status = status;
- }
-
- public long getStatusByUserId() {
- return _statusByUserId;
- }
-
- public void setStatusByUserId(long statusByUserId) {
- _statusByUserId = statusByUserId;
- }
-
- public String getStatusByUserName() {
- return _statusByUserName;
- }
-
- public void setStatusByUserName(String statusByUserName) {
- _statusByUserName = statusByUserName;
- }
-
- public Date getStatusDate() {
- return _statusDate;
- }
-
- public void setStatusDate(Date statusDate) {
- _statusDate = statusDate;
- }
-
- private String _uuid;
- private long _albumId;
- private long _companyId;
- private long _groupId;
- private long _userId;
- private String _userName;
- private Date _createDate;
- private Date _modifiedDate;
- private long _artistId;
- private String _name;
- private int _year;
- private int _status;
- private long _statusByUserId;
- private String _statusByUserName;
- private Date _statusDate;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumWrapper.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumWrapper.java
deleted file mode 100644
index 44d6841c39..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/AlbumWrapper.java
+++ /dev/null
@@ -1,888 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.kernel.lar.StagedModelType;
-import com.liferay.portal.kernel.util.Validator;
-import com.liferay.portal.model.ModelWrapper;
-
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- *
- * This class is a wrapper for {@link Album}.
- *
- *
- * @author Julio Camarero
- * @see Album
- * @generated
- */
-public class AlbumWrapper implements Album, ModelWrapper {
- public AlbumWrapper(Album album) {
- _album = album;
- }
-
- @Override
- public Class> getModelClass() {
- return Album.class;
- }
-
- @Override
- public String getModelClassName() {
- return Album.class.getName();
- }
-
- @Override
- public Map getModelAttributes() {
- Map attributes = new HashMap();
-
- attributes.put("uuid", getUuid());
- attributes.put("albumId", getAlbumId());
- attributes.put("companyId", getCompanyId());
- attributes.put("groupId", getGroupId());
- attributes.put("userId", getUserId());
- attributes.put("userName", getUserName());
- attributes.put("createDate", getCreateDate());
- attributes.put("modifiedDate", getModifiedDate());
- attributes.put("artistId", getArtistId());
- attributes.put("name", getName());
- attributes.put("year", getYear());
- attributes.put("status", getStatus());
- attributes.put("statusByUserId", getStatusByUserId());
- attributes.put("statusByUserName", getStatusByUserName());
- attributes.put("statusDate", getStatusDate());
-
- return attributes;
- }
-
- @Override
- public void setModelAttributes(Map attributes) {
- String uuid = (String)attributes.get("uuid");
-
- if (uuid != null) {
- setUuid(uuid);
- }
-
- Long albumId = (Long)attributes.get("albumId");
-
- if (albumId != null) {
- setAlbumId(albumId);
- }
-
- Long companyId = (Long)attributes.get("companyId");
-
- if (companyId != null) {
- setCompanyId(companyId);
- }
-
- Long groupId = (Long)attributes.get("groupId");
-
- if (groupId != null) {
- setGroupId(groupId);
- }
-
- Long userId = (Long)attributes.get("userId");
-
- if (userId != null) {
- setUserId(userId);
- }
-
- String userName = (String)attributes.get("userName");
-
- if (userName != null) {
- setUserName(userName);
- }
-
- Date createDate = (Date)attributes.get("createDate");
-
- if (createDate != null) {
- setCreateDate(createDate);
- }
-
- Date modifiedDate = (Date)attributes.get("modifiedDate");
-
- if (modifiedDate != null) {
- setModifiedDate(modifiedDate);
- }
-
- Long artistId = (Long)attributes.get("artistId");
-
- if (artistId != null) {
- setArtistId(artistId);
- }
-
- String name = (String)attributes.get("name");
-
- if (name != null) {
- setName(name);
- }
-
- Integer year = (Integer)attributes.get("year");
-
- if (year != null) {
- setYear(year);
- }
-
- Integer status = (Integer)attributes.get("status");
-
- if (status != null) {
- setStatus(status);
- }
-
- Long statusByUserId = (Long)attributes.get("statusByUserId");
-
- if (statusByUserId != null) {
- setStatusByUserId(statusByUserId);
- }
-
- String statusByUserName = (String)attributes.get("statusByUserName");
-
- if (statusByUserName != null) {
- setStatusByUserName(statusByUserName);
- }
-
- Date statusDate = (Date)attributes.get("statusDate");
-
- if (statusDate != null) {
- setStatusDate(statusDate);
- }
- }
-
- /**
- * Returns the primary key of this album.
- *
- * @return the primary key of this album
- */
- @Override
- public long getPrimaryKey() {
- return _album.getPrimaryKey();
- }
-
- /**
- * Sets the primary key of this album.
- *
- * @param primaryKey the primary key of this album
- */
- @Override
- public void setPrimaryKey(long primaryKey) {
- _album.setPrimaryKey(primaryKey);
- }
-
- /**
- * Returns the uuid of this album.
- *
- * @return the uuid of this album
- */
- @Override
- public java.lang.String getUuid() {
- return _album.getUuid();
- }
-
- /**
- * Sets the uuid of this album.
- *
- * @param uuid the uuid of this album
- */
- @Override
- public void setUuid(java.lang.String uuid) {
- _album.setUuid(uuid);
- }
-
- /**
- * Returns the album ID of this album.
- *
- * @return the album ID of this album
- */
- @Override
- public long getAlbumId() {
- return _album.getAlbumId();
- }
-
- /**
- * Sets the album ID of this album.
- *
- * @param albumId the album ID of this album
- */
- @Override
- public void setAlbumId(long albumId) {
- _album.setAlbumId(albumId);
- }
-
- /**
- * Returns the company ID of this album.
- *
- * @return the company ID of this album
- */
- @Override
- public long getCompanyId() {
- return _album.getCompanyId();
- }
-
- /**
- * Sets the company ID of this album.
- *
- * @param companyId the company ID of this album
- */
- @Override
- public void setCompanyId(long companyId) {
- _album.setCompanyId(companyId);
- }
-
- /**
- * Returns the group ID of this album.
- *
- * @return the group ID of this album
- */
- @Override
- public long getGroupId() {
- return _album.getGroupId();
- }
-
- /**
- * Sets the group ID of this album.
- *
- * @param groupId the group ID of this album
- */
- @Override
- public void setGroupId(long groupId) {
- _album.setGroupId(groupId);
- }
-
- /**
- * Returns the user ID of this album.
- *
- * @return the user ID of this album
- */
- @Override
- public long getUserId() {
- return _album.getUserId();
- }
-
- /**
- * Sets the user ID of this album.
- *
- * @param userId the user ID of this album
- */
- @Override
- public void setUserId(long userId) {
- _album.setUserId(userId);
- }
-
- /**
- * Returns the user uuid of this album.
- *
- * @return the user uuid of this album
- * @throws SystemException if a system exception occurred
- */
- @Override
- public java.lang.String getUserUuid()
- throws com.liferay.portal.kernel.exception.SystemException {
- return _album.getUserUuid();
- }
-
- /**
- * Sets the user uuid of this album.
- *
- * @param userUuid the user uuid of this album
- */
- @Override
- public void setUserUuid(java.lang.String userUuid) {
- _album.setUserUuid(userUuid);
- }
-
- /**
- * Returns the user name of this album.
- *
- * @return the user name of this album
- */
- @Override
- public java.lang.String getUserName() {
- return _album.getUserName();
- }
-
- /**
- * Sets the user name of this album.
- *
- * @param userName the user name of this album
- */
- @Override
- public void setUserName(java.lang.String userName) {
- _album.setUserName(userName);
- }
-
- /**
- * Returns the create date of this album.
- *
- * @return the create date of this album
- */
- @Override
- public java.util.Date getCreateDate() {
- return _album.getCreateDate();
- }
-
- /**
- * Sets the create date of this album.
- *
- * @param createDate the create date of this album
- */
- @Override
- public void setCreateDate(java.util.Date createDate) {
- _album.setCreateDate(createDate);
- }
-
- /**
- * Returns the modified date of this album.
- *
- * @return the modified date of this album
- */
- @Override
- public java.util.Date getModifiedDate() {
- return _album.getModifiedDate();
- }
-
- /**
- * Sets the modified date of this album.
- *
- * @param modifiedDate the modified date of this album
- */
- @Override
- public void setModifiedDate(java.util.Date modifiedDate) {
- _album.setModifiedDate(modifiedDate);
- }
-
- /**
- * Returns the artist ID of this album.
- *
- * @return the artist ID of this album
- */
- @Override
- public long getArtistId() {
- return _album.getArtistId();
- }
-
- /**
- * Sets the artist ID of this album.
- *
- * @param artistId the artist ID of this album
- */
- @Override
- public void setArtistId(long artistId) {
- _album.setArtistId(artistId);
- }
-
- /**
- * Returns the name of this album.
- *
- * @return the name of this album
- */
- @Override
- public java.lang.String getName() {
- return _album.getName();
- }
-
- /**
- * Sets the name of this album.
- *
- * @param name the name of this album
- */
- @Override
- public void setName(java.lang.String name) {
- _album.setName(name);
- }
-
- /**
- * Returns the year of this album.
- *
- * @return the year of this album
- */
- @Override
- public int getYear() {
- return _album.getYear();
- }
-
- /**
- * Sets the year of this album.
- *
- * @param year the year of this album
- */
- @Override
- public void setYear(int year) {
- _album.setYear(year);
- }
-
- /**
- * Returns the status of this album.
- *
- * @return the status of this album
- */
- @Override
- public int getStatus() {
- return _album.getStatus();
- }
-
- /**
- * Sets the status of this album.
- *
- * @param status the status of this album
- */
- @Override
- public void setStatus(int status) {
- _album.setStatus(status);
- }
-
- /**
- * Returns the status by user ID of this album.
- *
- * @return the status by user ID of this album
- */
- @Override
- public long getStatusByUserId() {
- return _album.getStatusByUserId();
- }
-
- /**
- * Sets the status by user ID of this album.
- *
- * @param statusByUserId the status by user ID of this album
- */
- @Override
- public void setStatusByUserId(long statusByUserId) {
- _album.setStatusByUserId(statusByUserId);
- }
-
- /**
- * Returns the status by user uuid of this album.
- *
- * @return the status by user uuid of this album
- * @throws SystemException if a system exception occurred
- */
- @Override
- public java.lang.String getStatusByUserUuid()
- throws com.liferay.portal.kernel.exception.SystemException {
- return _album.getStatusByUserUuid();
- }
-
- /**
- * Sets the status by user uuid of this album.
- *
- * @param statusByUserUuid the status by user uuid of this album
- */
- @Override
- public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
- _album.setStatusByUserUuid(statusByUserUuid);
- }
-
- /**
- * Returns the status by user name of this album.
- *
- * @return the status by user name of this album
- */
- @Override
- public java.lang.String getStatusByUserName() {
- return _album.getStatusByUserName();
- }
-
- /**
- * Sets the status by user name of this album.
- *
- * @param statusByUserName the status by user name of this album
- */
- @Override
- public void setStatusByUserName(java.lang.String statusByUserName) {
- _album.setStatusByUserName(statusByUserName);
- }
-
- /**
- * Returns the status date of this album.
- *
- * @return the status date of this album
- */
- @Override
- public java.util.Date getStatusDate() {
- return _album.getStatusDate();
- }
-
- /**
- * Sets the status date of this album.
- *
- * @param statusDate the status date of this album
- */
- @Override
- public void setStatusDate(java.util.Date statusDate) {
- _album.setStatusDate(statusDate);
- }
-
- /**
- * Returns the trash entry created when this album was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this album.
- *
- * @return the trash entry created when this album was moved to the Recycle Bin
- * @throws SystemException if a system exception occurred
- */
- @Override
- public com.liferay.portlet.trash.model.TrashEntry getTrashEntry()
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _album.getTrashEntry();
- }
-
- /**
- * Returns the class primary key of the trash entry for this album.
- *
- * @return the class primary key of the trash entry for this album
- */
- @Override
- public long getTrashEntryClassPK() {
- return _album.getTrashEntryClassPK();
- }
-
- /**
- * Returns the trash handler for this album.
- *
- * @return the trash handler for this album
- */
- @Override
- public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() {
- return _album.getTrashHandler();
- }
-
- /**
- * Returns true if this album is in the Recycle Bin.
- *
- * @return true if this album is in the Recycle Bin; false otherwise
- */
- @Override
- public boolean isInTrash() {
- return _album.isInTrash();
- }
-
- /**
- * Returns true if the parent of this album is in the Recycle Bin.
- *
- * @return true if the parent of this album is in the Recycle Bin; false otherwise
- * @throws SystemException if a system exception occurred
- */
- @Override
- public boolean isInTrashContainer() {
- return _album.isInTrashContainer();
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #isApproved()}
- */
- @Override
- public boolean getApproved() {
- return _album.getApproved();
- }
-
- /**
- * Returns true if this album is approved.
- *
- * @return true if this album is approved; false otherwise
- */
- @Override
- public boolean isApproved() {
- return _album.isApproved();
- }
-
- /**
- * Returns true if this album is denied.
- *
- * @return true if this album is denied; false otherwise
- */
- @Override
- public boolean isDenied() {
- return _album.isDenied();
- }
-
- /**
- * Returns true if this album is a draft.
- *
- * @return true if this album is a draft; false otherwise
- */
- @Override
- public boolean isDraft() {
- return _album.isDraft();
- }
-
- /**
- * Returns true if this album is expired.
- *
- * @return true if this album is expired; false otherwise
- */
- @Override
- public boolean isExpired() {
- return _album.isExpired();
- }
-
- /**
- * Returns true if this album is inactive.
- *
- * @return true if this album is inactive; false otherwise
- */
- @Override
- public boolean isInactive() {
- return _album.isInactive();
- }
-
- /**
- * Returns true if this album is incomplete.
- *
- * @return true if this album is incomplete; false otherwise
- */
- @Override
- public boolean isIncomplete() {
- return _album.isIncomplete();
- }
-
- /**
- * Returns true if this album is pending.
- *
- * @return true if this album is pending; false otherwise
- */
- @Override
- public boolean isPending() {
- return _album.isPending();
- }
-
- /**
- * Returns true if this album is scheduled.
- *
- * @return true if this album is scheduled; false otherwise
- */
- @Override
- public boolean isScheduled() {
- return _album.isScheduled();
- }
-
- /**
- * Returns the container model ID of this album.
- *
- * @return the container model ID of this album
- */
- @Override
- public long getContainerModelId() {
- return _album.getContainerModelId();
- }
-
- /**
- * Sets the container model ID of this album.
- *
- * @param containerModelId the container model ID of this album
- */
- @Override
- public void setContainerModelId(long containerModelId) {
- _album.setContainerModelId(containerModelId);
- }
-
- /**
- * Returns the container name of this album.
- *
- * @return the container name of this album
- */
- @Override
- public java.lang.String getContainerModelName() {
- return _album.getContainerModelName();
- }
-
- /**
- * Returns the parent container model ID of this album.
- *
- * @return the parent container model ID of this album
- */
- @Override
- public long getParentContainerModelId() {
- return _album.getParentContainerModelId();
- }
-
- /**
- * Sets the parent container model ID of this album.
- *
- * @param parentContainerModelId the parent container model ID of this album
- */
- @Override
- public void setParentContainerModelId(long parentContainerModelId) {
- _album.setParentContainerModelId(parentContainerModelId);
- }
-
- @Override
- public boolean isNew() {
- return _album.isNew();
- }
-
- @Override
- public void setNew(boolean n) {
- _album.setNew(n);
- }
-
- @Override
- public boolean isCachedModel() {
- return _album.isCachedModel();
- }
-
- @Override
- public void setCachedModel(boolean cachedModel) {
- _album.setCachedModel(cachedModel);
- }
-
- @Override
- public boolean isEscapedModel() {
- return _album.isEscapedModel();
- }
-
- @Override
- public java.io.Serializable getPrimaryKeyObj() {
- return _album.getPrimaryKeyObj();
- }
-
- @Override
- public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
- _album.setPrimaryKeyObj(primaryKeyObj);
- }
-
- @Override
- public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
- return _album.getExpandoBridge();
- }
-
- @Override
- public void setExpandoBridgeAttributes(
- com.liferay.portal.model.BaseModel> baseModel) {
- _album.setExpandoBridgeAttributes(baseModel);
- }
-
- @Override
- public void setExpandoBridgeAttributes(
- com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
- _album.setExpandoBridgeAttributes(expandoBridge);
- }
-
- @Override
- public void setExpandoBridgeAttributes(
- com.liferay.portal.service.ServiceContext serviceContext) {
- _album.setExpandoBridgeAttributes(serviceContext);
- }
-
- @Override
- public java.lang.Object clone() {
- return new AlbumWrapper((Album)_album.clone());
- }
-
- @Override
- public int compareTo(org.liferay.jukebox.model.Album album) {
- return _album.compareTo(album);
- }
-
- @Override
- public int hashCode() {
- return _album.hashCode();
- }
-
- @Override
- public com.liferay.portal.model.CacheModel toCacheModel() {
- return _album.toCacheModel();
- }
-
- @Override
- public org.liferay.jukebox.model.Album toEscapedModel() {
- return new AlbumWrapper(_album.toEscapedModel());
- }
-
- @Override
- public org.liferay.jukebox.model.Album toUnescapedModel() {
- return new AlbumWrapper(_album.toUnescapedModel());
- }
-
- @Override
- public java.lang.String toString() {
- return _album.toString();
- }
-
- @Override
- public java.lang.String toXmlString() {
- return _album.toXmlString();
- }
-
- @Override
- public void persist()
- throws com.liferay.portal.kernel.exception.SystemException {
- _album.persist();
- }
-
- @Override
- public com.liferay.portal.kernel.repository.model.FileEntry getCustomImage()
- throws com.liferay.portal.kernel.exception.SystemException {
- return _album.getCustomImage();
- }
-
- @Override
- public java.lang.String getImageURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _album.getImageURL(themeDisplay);
- }
-
- @Override
- public boolean hasCustomImage()
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _album.hasCustomImage();
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
-
- if (!(obj instanceof AlbumWrapper)) {
- return false;
- }
-
- AlbumWrapper albumWrapper = (AlbumWrapper)obj;
-
- if (Validator.equals(_album, albumWrapper._album)) {
- return true;
- }
-
- return false;
- }
-
- @Override
- public StagedModelType getStagedModelType() {
- return _album.getStagedModelType();
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
- */
- public Album getWrappedAlbum() {
- return _album;
- }
-
- @Override
- public Album getWrappedModel() {
- return _album;
- }
-
- @Override
- public void resetOriginalValues() {
- _album.resetOriginalValues();
- }
-
- private Album _album;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/Artist.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/Artist.java
deleted file mode 100644
index 6e4a4b86c0..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/Artist.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.model.PersistedModel;
-
-/**
- * The extended model interface for the Artist service. Represents a row in the "jukebox_Artist" database table, with each column mapped to a property of this class.
- *
- * @author Julio Camarero
- * @see ArtistModel
- * @see org.liferay.jukebox.model.impl.ArtistImpl
- * @see org.liferay.jukebox.model.impl.ArtistModelImpl
- * @generated
- */
-public interface Artist extends ArtistModel, PersistedModel {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify this interface directly. Add methods to {@link org.liferay.jukebox.model.impl.ArtistImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
- */
- public com.liferay.portal.kernel.repository.model.FileEntry getCustomImage()
- throws com.liferay.portal.kernel.exception.SystemException;
-
- public java.lang.String getImageURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public boolean hasCustomImage()
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistClp.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistClp.java
deleted file mode 100644
index a50ed91a6c..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistClp.java
+++ /dev/null
@@ -1,1028 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
-import com.liferay.portal.kernel.exception.PortalException;
-import com.liferay.portal.kernel.exception.SystemException;
-import com.liferay.portal.kernel.lar.StagedModelType;
-import com.liferay.portal.kernel.trash.TrashHandler;
-import com.liferay.portal.kernel.trash.TrashHandlerRegistryUtil;
-import com.liferay.portal.kernel.util.ProxyUtil;
-import com.liferay.portal.kernel.util.StringBundler;
-import com.liferay.portal.kernel.util.Validator;
-import com.liferay.portal.kernel.workflow.WorkflowConstants;
-import com.liferay.portal.model.BaseModel;
-import com.liferay.portal.model.ContainerModel;
-import com.liferay.portal.model.TrashedModel;
-import com.liferay.portal.model.impl.BaseModelImpl;
-import com.liferay.portal.util.PortalUtil;
-
-import com.liferay.portlet.trash.model.TrashEntry;
-import com.liferay.portlet.trash.service.TrashEntryLocalServiceUtil;
-
-import org.liferay.jukebox.service.ArtistLocalServiceUtil;
-import org.liferay.jukebox.service.ClpSerializer;
-
-import java.io.Serializable;
-
-import java.lang.reflect.Method;
-
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * @author Julio Camarero
- */
-public class ArtistClp extends BaseModelImpl implements Artist {
- public ArtistClp() {
- }
-
- @Override
- public Class> getModelClass() {
- return Artist.class;
- }
-
- @Override
- public String getModelClassName() {
- return Artist.class.getName();
- }
-
- @Override
- public long getPrimaryKey() {
- return _artistId;
- }
-
- @Override
- public void setPrimaryKey(long primaryKey) {
- setArtistId(primaryKey);
- }
-
- @Override
- public Serializable getPrimaryKeyObj() {
- return _artistId;
- }
-
- @Override
- public void setPrimaryKeyObj(Serializable primaryKeyObj) {
- setPrimaryKey(((Long)primaryKeyObj).longValue());
- }
-
- @Override
- public Map getModelAttributes() {
- Map attributes = new HashMap();
-
- attributes.put("uuid", getUuid());
- attributes.put("artistId", getArtistId());
- attributes.put("companyId", getCompanyId());
- attributes.put("groupId", getGroupId());
- attributes.put("userId", getUserId());
- attributes.put("userName", getUserName());
- attributes.put("createDate", getCreateDate());
- attributes.put("modifiedDate", getModifiedDate());
- attributes.put("status", getStatus());
- attributes.put("statusByUserId", getStatusByUserId());
- attributes.put("statusByUserName", getStatusByUserName());
- attributes.put("statusDate", getStatusDate());
- attributes.put("name", getName());
- attributes.put("bio", getBio());
-
- return attributes;
- }
-
- @Override
- public void setModelAttributes(Map attributes) {
- String uuid = (String)attributes.get("uuid");
-
- if (uuid != null) {
- setUuid(uuid);
- }
-
- Long artistId = (Long)attributes.get("artistId");
-
- if (artistId != null) {
- setArtistId(artistId);
- }
-
- Long companyId = (Long)attributes.get("companyId");
-
- if (companyId != null) {
- setCompanyId(companyId);
- }
-
- Long groupId = (Long)attributes.get("groupId");
-
- if (groupId != null) {
- setGroupId(groupId);
- }
-
- Long userId = (Long)attributes.get("userId");
-
- if (userId != null) {
- setUserId(userId);
- }
-
- String userName = (String)attributes.get("userName");
-
- if (userName != null) {
- setUserName(userName);
- }
-
- Date createDate = (Date)attributes.get("createDate");
-
- if (createDate != null) {
- setCreateDate(createDate);
- }
-
- Date modifiedDate = (Date)attributes.get("modifiedDate");
-
- if (modifiedDate != null) {
- setModifiedDate(modifiedDate);
- }
-
- Integer status = (Integer)attributes.get("status");
-
- if (status != null) {
- setStatus(status);
- }
-
- Long statusByUserId = (Long)attributes.get("statusByUserId");
-
- if (statusByUserId != null) {
- setStatusByUserId(statusByUserId);
- }
-
- String statusByUserName = (String)attributes.get("statusByUserName");
-
- if (statusByUserName != null) {
- setStatusByUserName(statusByUserName);
- }
-
- Date statusDate = (Date)attributes.get("statusDate");
-
- if (statusDate != null) {
- setStatusDate(statusDate);
- }
-
- String name = (String)attributes.get("name");
-
- if (name != null) {
- setName(name);
- }
-
- String bio = (String)attributes.get("bio");
-
- if (bio != null) {
- setBio(bio);
- }
- }
-
- @Override
- public String getUuid() {
- return _uuid;
- }
-
- @Override
- public void setUuid(String uuid) {
- _uuid = uuid;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setUuid", String.class);
-
- method.invoke(_artistRemoteModel, uuid);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getArtistId() {
- return _artistId;
- }
-
- @Override
- public void setArtistId(long artistId) {
- _artistId = artistId;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setArtistId", long.class);
-
- method.invoke(_artistRemoteModel, artistId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getCompanyId() {
- return _companyId;
- }
-
- @Override
- public void setCompanyId(long companyId) {
- _companyId = companyId;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setCompanyId", long.class);
-
- method.invoke(_artistRemoteModel, companyId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getGroupId() {
- return _groupId;
- }
-
- @Override
- public void setGroupId(long groupId) {
- _groupId = groupId;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setGroupId", long.class);
-
- method.invoke(_artistRemoteModel, groupId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getUserId() {
- return _userId;
- }
-
- @Override
- public void setUserId(long userId) {
- _userId = userId;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setUserId", long.class);
-
- method.invoke(_artistRemoteModel, userId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public String getUserUuid() throws SystemException {
- return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
- }
-
- @Override
- public void setUserUuid(String userUuid) {
- _userUuid = userUuid;
- }
-
- @Override
- public String getUserName() {
- return _userName;
- }
-
- @Override
- public void setUserName(String userName) {
- _userName = userName;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setUserName", String.class);
-
- method.invoke(_artistRemoteModel, userName);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public Date getCreateDate() {
- return _createDate;
- }
-
- @Override
- public void setCreateDate(Date createDate) {
- _createDate = createDate;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setCreateDate", Date.class);
-
- method.invoke(_artistRemoteModel, createDate);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public Date getModifiedDate() {
- return _modifiedDate;
- }
-
- @Override
- public void setModifiedDate(Date modifiedDate) {
- _modifiedDate = modifiedDate;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setModifiedDate", Date.class);
-
- method.invoke(_artistRemoteModel, modifiedDate);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public int getStatus() {
- return _status;
- }
-
- @Override
- public void setStatus(int status) {
- _status = status;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatus", int.class);
-
- method.invoke(_artistRemoteModel, status);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getStatusByUserId() {
- return _statusByUserId;
- }
-
- @Override
- public void setStatusByUserId(long statusByUserId) {
- _statusByUserId = statusByUserId;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatusByUserId", long.class);
-
- method.invoke(_artistRemoteModel, statusByUserId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public String getStatusByUserUuid() throws SystemException {
- return PortalUtil.getUserValue(getStatusByUserId(), "uuid",
- _statusByUserUuid);
- }
-
- @Override
- public void setStatusByUserUuid(String statusByUserUuid) {
- _statusByUserUuid = statusByUserUuid;
- }
-
- @Override
- public String getStatusByUserName() {
- return _statusByUserName;
- }
-
- @Override
- public void setStatusByUserName(String statusByUserName) {
- _statusByUserName = statusByUserName;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatusByUserName",
- String.class);
-
- method.invoke(_artistRemoteModel, statusByUserName);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public Date getStatusDate() {
- return _statusDate;
- }
-
- @Override
- public void setStatusDate(Date statusDate) {
- _statusDate = statusDate;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatusDate", Date.class);
-
- method.invoke(_artistRemoteModel, statusDate);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public String getName() {
- return _name;
- }
-
- @Override
- public void setName(String name) {
- _name = name;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setName", String.class);
-
- method.invoke(_artistRemoteModel, name);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public String getBio() {
- return _bio;
- }
-
- @Override
- public void setBio(String bio) {
- _bio = bio;
-
- if (_artistRemoteModel != null) {
- try {
- Class> clazz = _artistRemoteModel.getClass();
-
- Method method = clazz.getMethod("setBio", String.class);
-
- method.invoke(_artistRemoteModel, bio);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public boolean hasCustomImage() {
- try {
- String methodName = "hasCustomImage";
-
- Class>[] parameterTypes = new Class>[] { };
-
- Object[] parameterValues = new Object[] { };
-
- Boolean returnObj = (Boolean)invokeOnRemoteModel(methodName,
- parameterTypes, parameterValues);
-
- return returnObj;
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
-
- @Override
- public com.liferay.portal.kernel.repository.model.FileEntry getCustomImage() {
- try {
- String methodName = "getCustomImage";
-
- Class>[] parameterTypes = new Class>[] { };
-
- Object[] parameterValues = new Object[] { };
-
- com.liferay.portal.kernel.repository.model.FileEntry returnObj = (com.liferay.portal.kernel.repository.model.FileEntry)invokeOnRemoteModel(methodName,
- parameterTypes, parameterValues);
-
- return returnObj;
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
-
- @Override
- public java.lang.String getImageURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay) {
- try {
- String methodName = "getImageURL";
-
- Class>[] parameterTypes = new Class>[] {
- com.liferay.portal.theme.ThemeDisplay.class
- };
-
- Object[] parameterValues = new Object[] { themeDisplay };
-
- java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
- parameterTypes, parameterValues);
-
- return returnObj;
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
-
- @Override
- public StagedModelType getStagedModelType() {
- return new StagedModelType(PortalUtil.getClassNameId(
- Artist.class.getName()));
- }
-
- @Override
- public TrashEntry getTrashEntry() throws PortalException, SystemException {
- if (!isInTrash()) {
- return null;
- }
-
- TrashEntry trashEntry = TrashEntryLocalServiceUtil.fetchEntry(getModelClassName(),
- getTrashEntryClassPK());
-
- if (trashEntry != null) {
- return trashEntry;
- }
-
- TrashHandler trashHandler = getTrashHandler();
-
- if (!Validator.isNull(trashHandler.getContainerModelClassName())) {
- ContainerModel containerModel = trashHandler.getParentContainerModel(this);
-
- while (containerModel != null) {
- if (containerModel instanceof TrashedModel) {
- TrashedModel trashedModel = (TrashedModel)containerModel;
-
- return trashedModel.getTrashEntry();
- }
-
- trashHandler = TrashHandlerRegistryUtil.getTrashHandler(trashHandler.getContainerModelClassName());
-
- if (trashHandler == null) {
- return null;
- }
-
- containerModel = trashHandler.getContainerModel(containerModel.getParentContainerModelId());
- }
- }
-
- return null;
- }
-
- @Override
- public long getTrashEntryClassPK() {
- return getPrimaryKey();
- }
-
- @Override
- public TrashHandler getTrashHandler() {
- return TrashHandlerRegistryUtil.getTrashHandler(getModelClassName());
- }
-
- @Override
- public boolean isInTrash() {
- if (getStatus() == WorkflowConstants.STATUS_IN_TRASH) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isInTrashContainer() {
- TrashHandler trashHandler = getTrashHandler();
-
- if ((trashHandler == null) ||
- Validator.isNull(trashHandler.getContainerModelClassName())) {
- return false;
- }
-
- try {
- ContainerModel containerModel = trashHandler.getParentContainerModel(this);
-
- if (containerModel == null) {
- return false;
- }
-
- if (containerModel instanceof TrashedModel) {
- return ((TrashedModel)containerModel).isInTrash();
- }
- }
- catch (Exception e) {
- }
-
- return false;
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #isApproved}
- */
- @Override
- public boolean getApproved() {
- return isApproved();
- }
-
- @Override
- public boolean isApproved() {
- if (getStatus() == WorkflowConstants.STATUS_APPROVED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isDenied() {
- if (getStatus() == WorkflowConstants.STATUS_DENIED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isDraft() {
- if (getStatus() == WorkflowConstants.STATUS_DRAFT) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isExpired() {
- if (getStatus() == WorkflowConstants.STATUS_EXPIRED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isInactive() {
- if (getStatus() == WorkflowConstants.STATUS_INACTIVE) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isIncomplete() {
- if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isPending() {
- if (getStatus() == WorkflowConstants.STATUS_PENDING) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isScheduled() {
- if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- public BaseModel> getArtistRemoteModel() {
- return _artistRemoteModel;
- }
-
- public void setArtistRemoteModel(BaseModel> artistRemoteModel) {
- _artistRemoteModel = artistRemoteModel;
- }
-
- public Object invokeOnRemoteModel(String methodName,
- Class>[] parameterTypes, Object[] parameterValues)
- throws Exception {
- Object[] remoteParameterValues = new Object[parameterValues.length];
-
- for (int i = 0; i < parameterValues.length; i++) {
- if (parameterValues[i] != null) {
- remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]);
- }
- }
-
- Class> remoteModelClass = _artistRemoteModel.getClass();
-
- ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader();
-
- Class>[] remoteParameterTypes = new Class[parameterTypes.length];
-
- for (int i = 0; i < parameterTypes.length; i++) {
- if (parameterTypes[i].isPrimitive()) {
- remoteParameterTypes[i] = parameterTypes[i];
- }
- else {
- String parameterTypeName = parameterTypes[i].getName();
-
- remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName);
- }
- }
-
- Method method = remoteModelClass.getMethod(methodName,
- remoteParameterTypes);
-
- Object returnValue = method.invoke(_artistRemoteModel,
- remoteParameterValues);
-
- if (returnValue != null) {
- returnValue = ClpSerializer.translateOutput(returnValue);
- }
-
- return returnValue;
- }
-
- @Override
- public void persist() throws SystemException {
- if (this.isNew()) {
- ArtistLocalServiceUtil.addArtist(this);
- }
- else {
- ArtistLocalServiceUtil.updateArtist(this);
- }
- }
-
- @Override
- public Artist toEscapedModel() {
- return (Artist)ProxyUtil.newProxyInstance(Artist.class.getClassLoader(),
- new Class[] { Artist.class }, new AutoEscapeBeanHandler(this));
- }
-
- @Override
- public Object clone() {
- ArtistClp clone = new ArtistClp();
-
- clone.setUuid(getUuid());
- clone.setArtistId(getArtistId());
- clone.setCompanyId(getCompanyId());
- clone.setGroupId(getGroupId());
- clone.setUserId(getUserId());
- clone.setUserName(getUserName());
- clone.setCreateDate(getCreateDate());
- clone.setModifiedDate(getModifiedDate());
- clone.setStatus(getStatus());
- clone.setStatusByUserId(getStatusByUserId());
- clone.setStatusByUserName(getStatusByUserName());
- clone.setStatusDate(getStatusDate());
- clone.setName(getName());
- clone.setBio(getBio());
-
- return clone;
- }
-
- @Override
- public int compareTo(Artist artist) {
- long primaryKey = artist.getPrimaryKey();
-
- if (getPrimaryKey() < primaryKey) {
- return -1;
- }
- else if (getPrimaryKey() > primaryKey) {
- return 1;
- }
- else {
- return 0;
- }
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
-
- if (!(obj instanceof ArtistClp)) {
- return false;
- }
-
- ArtistClp artist = (ArtistClp)obj;
-
- long primaryKey = artist.getPrimaryKey();
-
- if (getPrimaryKey() == primaryKey) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public int hashCode() {
- return (int)getPrimaryKey();
- }
-
- @Override
- public String toString() {
- StringBundler sb = new StringBundler(29);
-
- sb.append("{uuid=");
- sb.append(getUuid());
- sb.append(", artistId=");
- sb.append(getArtistId());
- sb.append(", companyId=");
- sb.append(getCompanyId());
- sb.append(", groupId=");
- sb.append(getGroupId());
- sb.append(", userId=");
- sb.append(getUserId());
- sb.append(", userName=");
- sb.append(getUserName());
- sb.append(", createDate=");
- sb.append(getCreateDate());
- sb.append(", modifiedDate=");
- sb.append(getModifiedDate());
- sb.append(", status=");
- sb.append(getStatus());
- sb.append(", statusByUserId=");
- sb.append(getStatusByUserId());
- sb.append(", statusByUserName=");
- sb.append(getStatusByUserName());
- sb.append(", statusDate=");
- sb.append(getStatusDate());
- sb.append(", name=");
- sb.append(getName());
- sb.append(", bio=");
- sb.append(getBio());
- sb.append("}");
-
- return sb.toString();
- }
-
- @Override
- public String toXmlString() {
- StringBundler sb = new StringBundler(46);
-
- sb.append("");
- sb.append("org.liferay.jukebox.model.Artist");
- sb.append("");
-
- sb.append(
- "uuid");
- sb.append(
- "artistId");
- sb.append(
- "companyId");
- sb.append(
- "groupId");
- sb.append(
- "userId");
- sb.append(
- "userName");
- sb.append(
- "createDate");
- sb.append(
- "modifiedDate");
- sb.append(
- "status");
- sb.append(
- "statusByUserId");
- sb.append(
- "statusByUserName");
- sb.append(
- "statusDate");
- sb.append(
- "name");
- sb.append(
- "bio");
-
- sb.append("");
-
- return sb.toString();
- }
-
- private String _uuid;
- private long _artistId;
- private long _companyId;
- private long _groupId;
- private long _userId;
- private String _userUuid;
- private String _userName;
- private Date _createDate;
- private Date _modifiedDate;
- private int _status;
- private long _statusByUserId;
- private String _statusByUserUuid;
- private String _statusByUserName;
- private Date _statusDate;
- private String _name;
- private String _bio;
- private BaseModel> _artistRemoteModel;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistModel.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistModel.java
deleted file mode 100644
index a7f78e99b5..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistModel.java
+++ /dev/null
@@ -1,495 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.kernel.bean.AutoEscape;
-import com.liferay.portal.kernel.exception.PortalException;
-import com.liferay.portal.kernel.exception.SystemException;
-import com.liferay.portal.kernel.trash.TrashHandler;
-import com.liferay.portal.model.BaseModel;
-import com.liferay.portal.model.CacheModel;
-import com.liferay.portal.model.StagedGroupedModel;
-import com.liferay.portal.model.TrashedModel;
-import com.liferay.portal.model.WorkflowedModel;
-import com.liferay.portal.service.ServiceContext;
-
-import com.liferay.portlet.expando.model.ExpandoBridge;
-import com.liferay.portlet.trash.model.TrashEntry;
-
-import java.io.Serializable;
-
-import java.util.Date;
-
-/**
- * The base model interface for the Artist service. Represents a row in the "jukebox_Artist" database table, with each column mapped to a property of this class.
- *
- *
- * This interface and its corresponding implementation {@link org.liferay.jukebox.model.impl.ArtistModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link org.liferay.jukebox.model.impl.ArtistImpl}.
- *
- *
- * @author Julio Camarero
- * @see Artist
- * @see org.liferay.jukebox.model.impl.ArtistImpl
- * @see org.liferay.jukebox.model.impl.ArtistModelImpl
- * @generated
- */
-public interface ArtistModel extends BaseModel, StagedGroupedModel,
- TrashedModel, WorkflowedModel {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify or reference this interface directly. All methods that expect a artist model instance should use the {@link Artist} interface instead.
- */
-
- /**
- * Returns the primary key of this artist.
- *
- * @return the primary key of this artist
- */
- public long getPrimaryKey();
-
- /**
- * Sets the primary key of this artist.
- *
- * @param primaryKey the primary key of this artist
- */
- public void setPrimaryKey(long primaryKey);
-
- /**
- * Returns the uuid of this artist.
- *
- * @return the uuid of this artist
- */
- @AutoEscape
- @Override
- public String getUuid();
-
- /**
- * Sets the uuid of this artist.
- *
- * @param uuid the uuid of this artist
- */
- @Override
- public void setUuid(String uuid);
-
- /**
- * Returns the artist ID of this artist.
- *
- * @return the artist ID of this artist
- */
- public long getArtistId();
-
- /**
- * Sets the artist ID of this artist.
- *
- * @param artistId the artist ID of this artist
- */
- public void setArtistId(long artistId);
-
- /**
- * Returns the company ID of this artist.
- *
- * @return the company ID of this artist
- */
- @Override
- public long getCompanyId();
-
- /**
- * Sets the company ID of this artist.
- *
- * @param companyId the company ID of this artist
- */
- @Override
- public void setCompanyId(long companyId);
-
- /**
- * Returns the group ID of this artist.
- *
- * @return the group ID of this artist
- */
- @Override
- public long getGroupId();
-
- /**
- * Sets the group ID of this artist.
- *
- * @param groupId the group ID of this artist
- */
- @Override
- public void setGroupId(long groupId);
-
- /**
- * Returns the user ID of this artist.
- *
- * @return the user ID of this artist
- */
- @Override
- public long getUserId();
-
- /**
- * Sets the user ID of this artist.
- *
- * @param userId the user ID of this artist
- */
- @Override
- public void setUserId(long userId);
-
- /**
- * Returns the user uuid of this artist.
- *
- * @return the user uuid of this artist
- * @throws SystemException if a system exception occurred
- */
- @Override
- public String getUserUuid() throws SystemException;
-
- /**
- * Sets the user uuid of this artist.
- *
- * @param userUuid the user uuid of this artist
- */
- @Override
- public void setUserUuid(String userUuid);
-
- /**
- * Returns the user name of this artist.
- *
- * @return the user name of this artist
- */
- @AutoEscape
- @Override
- public String getUserName();
-
- /**
- * Sets the user name of this artist.
- *
- * @param userName the user name of this artist
- */
- @Override
- public void setUserName(String userName);
-
- /**
- * Returns the create date of this artist.
- *
- * @return the create date of this artist
- */
- @Override
- public Date getCreateDate();
-
- /**
- * Sets the create date of this artist.
- *
- * @param createDate the create date of this artist
- */
- @Override
- public void setCreateDate(Date createDate);
-
- /**
- * Returns the modified date of this artist.
- *
- * @return the modified date of this artist
- */
- @Override
- public Date getModifiedDate();
-
- /**
- * Sets the modified date of this artist.
- *
- * @param modifiedDate the modified date of this artist
- */
- @Override
- public void setModifiedDate(Date modifiedDate);
-
- /**
- * Returns the status of this artist.
- *
- * @return the status of this artist
- */
- @Override
- public int getStatus();
-
- /**
- * Sets the status of this artist.
- *
- * @param status the status of this artist
- */
- @Override
- public void setStatus(int status);
-
- /**
- * Returns the status by user ID of this artist.
- *
- * @return the status by user ID of this artist
- */
- @Override
- public long getStatusByUserId();
-
- /**
- * Sets the status by user ID of this artist.
- *
- * @param statusByUserId the status by user ID of this artist
- */
- @Override
- public void setStatusByUserId(long statusByUserId);
-
- /**
- * Returns the status by user uuid of this artist.
- *
- * @return the status by user uuid of this artist
- * @throws SystemException if a system exception occurred
- */
- @Override
- public String getStatusByUserUuid() throws SystemException;
-
- /**
- * Sets the status by user uuid of this artist.
- *
- * @param statusByUserUuid the status by user uuid of this artist
- */
- @Override
- public void setStatusByUserUuid(String statusByUserUuid);
-
- /**
- * Returns the status by user name of this artist.
- *
- * @return the status by user name of this artist
- */
- @AutoEscape
- @Override
- public String getStatusByUserName();
-
- /**
- * Sets the status by user name of this artist.
- *
- * @param statusByUserName the status by user name of this artist
- */
- @Override
- public void setStatusByUserName(String statusByUserName);
-
- /**
- * Returns the status date of this artist.
- *
- * @return the status date of this artist
- */
- @Override
- public Date getStatusDate();
-
- /**
- * Sets the status date of this artist.
- *
- * @param statusDate the status date of this artist
- */
- @Override
- public void setStatusDate(Date statusDate);
-
- /**
- * Returns the name of this artist.
- *
- * @return the name of this artist
- */
- @AutoEscape
- public String getName();
-
- /**
- * Sets the name of this artist.
- *
- * @param name the name of this artist
- */
- public void setName(String name);
-
- /**
- * Returns the bio of this artist.
- *
- * @return the bio of this artist
- */
- @AutoEscape
- public String getBio();
-
- /**
- * Sets the bio of this artist.
- *
- * @param bio the bio of this artist
- */
- public void setBio(String bio);
-
- /**
- * Returns the trash entry created when this artist was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this artist.
- *
- * @return the trash entry created when this artist was moved to the Recycle Bin
- * @throws SystemException if a system exception occurred
- */
- @Override
- public TrashEntry getTrashEntry() throws PortalException, SystemException;
-
- /**
- * Returns the class primary key of the trash entry for this artist.
- *
- * @return the class primary key of the trash entry for this artist
- */
- @Override
- public long getTrashEntryClassPK();
-
- /**
- * Returns the trash handler for this artist.
- *
- * @return the trash handler for this artist
- */
- @Override
- public TrashHandler getTrashHandler();
-
- /**
- * Returns true if this artist is in the Recycle Bin.
- *
- * @return true if this artist is in the Recycle Bin; false otherwise
- */
- @Override
- public boolean isInTrash();
-
- /**
- * Returns true if the parent of this artist is in the Recycle Bin.
- *
- * @return true if the parent of this artist is in the Recycle Bin; false otherwise
- * @throws SystemException if a system exception occurred
- */
- @Override
- public boolean isInTrashContainer();
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #isApproved()}
- */
- @Override
- public boolean getApproved();
-
- /**
- * Returns true if this artist is approved.
- *
- * @return true if this artist is approved; false otherwise
- */
- @Override
- public boolean isApproved();
-
- /**
- * Returns true if this artist is denied.
- *
- * @return true if this artist is denied; false otherwise
- */
- @Override
- public boolean isDenied();
-
- /**
- * Returns true if this artist is a draft.
- *
- * @return true if this artist is a draft; false otherwise
- */
- @Override
- public boolean isDraft();
-
- /**
- * Returns true if this artist is expired.
- *
- * @return true if this artist is expired; false otherwise
- */
- @Override
- public boolean isExpired();
-
- /**
- * Returns true if this artist is inactive.
- *
- * @return true if this artist is inactive; false otherwise
- */
- @Override
- public boolean isInactive();
-
- /**
- * Returns true if this artist is incomplete.
- *
- * @return true if this artist is incomplete; false otherwise
- */
- @Override
- public boolean isIncomplete();
-
- /**
- * Returns true if this artist is pending.
- *
- * @return true if this artist is pending; false otherwise
- */
- @Override
- public boolean isPending();
-
- /**
- * Returns true if this artist is scheduled.
- *
- * @return true if this artist is scheduled; false otherwise
- */
- @Override
- public boolean isScheduled();
-
- @Override
- public boolean isNew();
-
- @Override
- public void setNew(boolean n);
-
- @Override
- public boolean isCachedModel();
-
- @Override
- public void setCachedModel(boolean cachedModel);
-
- @Override
- public boolean isEscapedModel();
-
- @Override
- public Serializable getPrimaryKeyObj();
-
- @Override
- public void setPrimaryKeyObj(Serializable primaryKeyObj);
-
- @Override
- public ExpandoBridge getExpandoBridge();
-
- @Override
- public void setExpandoBridgeAttributes(BaseModel> baseModel);
-
- @Override
- public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
-
- @Override
- public void setExpandoBridgeAttributes(ServiceContext serviceContext);
-
- @Override
- public Object clone();
-
- @Override
- public int compareTo(Artist artist);
-
- @Override
- public int hashCode();
-
- @Override
- public CacheModel toCacheModel();
-
- @Override
- public Artist toEscapedModel();
-
- @Override
- public Artist toUnescapedModel();
-
- @Override
- public String toString();
-
- @Override
- public String toXmlString();
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistSoap.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistSoap.java
deleted file mode 100644
index 3420b73125..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistSoap.java
+++ /dev/null
@@ -1,226 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import java.io.Serializable;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-/**
- * This class is used by SOAP remote services, specifically {@link org.liferay.jukebox.service.http.ArtistServiceSoap}.
- *
- * @author Julio Camarero
- * @see org.liferay.jukebox.service.http.ArtistServiceSoap
- * @generated
- */
-public class ArtistSoap implements Serializable {
- public static ArtistSoap toSoapModel(Artist model) {
- ArtistSoap soapModel = new ArtistSoap();
-
- soapModel.setUuid(model.getUuid());
- soapModel.setArtistId(model.getArtistId());
- soapModel.setCompanyId(model.getCompanyId());
- soapModel.setGroupId(model.getGroupId());
- soapModel.setUserId(model.getUserId());
- soapModel.setUserName(model.getUserName());
- soapModel.setCreateDate(model.getCreateDate());
- soapModel.setModifiedDate(model.getModifiedDate());
- soapModel.setStatus(model.getStatus());
- soapModel.setStatusByUserId(model.getStatusByUserId());
- soapModel.setStatusByUserName(model.getStatusByUserName());
- soapModel.setStatusDate(model.getStatusDate());
- soapModel.setName(model.getName());
- soapModel.setBio(model.getBio());
-
- return soapModel;
- }
-
- public static ArtistSoap[] toSoapModels(Artist[] models) {
- ArtistSoap[] soapModels = new ArtistSoap[models.length];
-
- for (int i = 0; i < models.length; i++) {
- soapModels[i] = toSoapModel(models[i]);
- }
-
- return soapModels;
- }
-
- public static ArtistSoap[][] toSoapModels(Artist[][] models) {
- ArtistSoap[][] soapModels = null;
-
- if (models.length > 0) {
- soapModels = new ArtistSoap[models.length][models[0].length];
- }
- else {
- soapModels = new ArtistSoap[0][0];
- }
-
- for (int i = 0; i < models.length; i++) {
- soapModels[i] = toSoapModels(models[i]);
- }
-
- return soapModels;
- }
-
- public static ArtistSoap[] toSoapModels(List models) {
- List soapModels = new ArrayList(models.size());
-
- for (Artist model : models) {
- soapModels.add(toSoapModel(model));
- }
-
- return soapModels.toArray(new ArtistSoap[soapModels.size()]);
- }
-
- public ArtistSoap() {
- }
-
- public long getPrimaryKey() {
- return _artistId;
- }
-
- public void setPrimaryKey(long pk) {
- setArtistId(pk);
- }
-
- public String getUuid() {
- return _uuid;
- }
-
- public void setUuid(String uuid) {
- _uuid = uuid;
- }
-
- public long getArtistId() {
- return _artistId;
- }
-
- public void setArtistId(long artistId) {
- _artistId = artistId;
- }
-
- public long getCompanyId() {
- return _companyId;
- }
-
- public void setCompanyId(long companyId) {
- _companyId = companyId;
- }
-
- public long getGroupId() {
- return _groupId;
- }
-
- public void setGroupId(long groupId) {
- _groupId = groupId;
- }
-
- public long getUserId() {
- return _userId;
- }
-
- public void setUserId(long userId) {
- _userId = userId;
- }
-
- public String getUserName() {
- return _userName;
- }
-
- public void setUserName(String userName) {
- _userName = userName;
- }
-
- public Date getCreateDate() {
- return _createDate;
- }
-
- public void setCreateDate(Date createDate) {
- _createDate = createDate;
- }
-
- public Date getModifiedDate() {
- return _modifiedDate;
- }
-
- public void setModifiedDate(Date modifiedDate) {
- _modifiedDate = modifiedDate;
- }
-
- public int getStatus() {
- return _status;
- }
-
- public void setStatus(int status) {
- _status = status;
- }
-
- public long getStatusByUserId() {
- return _statusByUserId;
- }
-
- public void setStatusByUserId(long statusByUserId) {
- _statusByUserId = statusByUserId;
- }
-
- public String getStatusByUserName() {
- return _statusByUserName;
- }
-
- public void setStatusByUserName(String statusByUserName) {
- _statusByUserName = statusByUserName;
- }
-
- public Date getStatusDate() {
- return _statusDate;
- }
-
- public void setStatusDate(Date statusDate) {
- _statusDate = statusDate;
- }
-
- public String getName() {
- return _name;
- }
-
- public void setName(String name) {
- _name = name;
- }
-
- public String getBio() {
- return _bio;
- }
-
- public void setBio(String bio) {
- _bio = bio;
- }
-
- private String _uuid;
- private long _artistId;
- private long _companyId;
- private long _groupId;
- private long _userId;
- private String _userName;
- private Date _createDate;
- private Date _modifiedDate;
- private int _status;
- private long _statusByUserId;
- private String _statusByUserName;
- private Date _statusDate;
- private String _name;
- private String _bio;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistWrapper.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistWrapper.java
deleted file mode 100644
index 4e82e273df..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/ArtistWrapper.java
+++ /dev/null
@@ -1,811 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.kernel.lar.StagedModelType;
-import com.liferay.portal.kernel.util.Validator;
-import com.liferay.portal.model.ModelWrapper;
-
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- *
- * This class is a wrapper for {@link Artist}.
- *
- *
- * @author Julio Camarero
- * @see Artist
- * @generated
- */
-public class ArtistWrapper implements Artist, ModelWrapper {
- public ArtistWrapper(Artist artist) {
- _artist = artist;
- }
-
- @Override
- public Class> getModelClass() {
- return Artist.class;
- }
-
- @Override
- public String getModelClassName() {
- return Artist.class.getName();
- }
-
- @Override
- public Map getModelAttributes() {
- Map attributes = new HashMap();
-
- attributes.put("uuid", getUuid());
- attributes.put("artistId", getArtistId());
- attributes.put("companyId", getCompanyId());
- attributes.put("groupId", getGroupId());
- attributes.put("userId", getUserId());
- attributes.put("userName", getUserName());
- attributes.put("createDate", getCreateDate());
- attributes.put("modifiedDate", getModifiedDate());
- attributes.put("status", getStatus());
- attributes.put("statusByUserId", getStatusByUserId());
- attributes.put("statusByUserName", getStatusByUserName());
- attributes.put("statusDate", getStatusDate());
- attributes.put("name", getName());
- attributes.put("bio", getBio());
-
- return attributes;
- }
-
- @Override
- public void setModelAttributes(Map attributes) {
- String uuid = (String)attributes.get("uuid");
-
- if (uuid != null) {
- setUuid(uuid);
- }
-
- Long artistId = (Long)attributes.get("artistId");
-
- if (artistId != null) {
- setArtistId(artistId);
- }
-
- Long companyId = (Long)attributes.get("companyId");
-
- if (companyId != null) {
- setCompanyId(companyId);
- }
-
- Long groupId = (Long)attributes.get("groupId");
-
- if (groupId != null) {
- setGroupId(groupId);
- }
-
- Long userId = (Long)attributes.get("userId");
-
- if (userId != null) {
- setUserId(userId);
- }
-
- String userName = (String)attributes.get("userName");
-
- if (userName != null) {
- setUserName(userName);
- }
-
- Date createDate = (Date)attributes.get("createDate");
-
- if (createDate != null) {
- setCreateDate(createDate);
- }
-
- Date modifiedDate = (Date)attributes.get("modifiedDate");
-
- if (modifiedDate != null) {
- setModifiedDate(modifiedDate);
- }
-
- Integer status = (Integer)attributes.get("status");
-
- if (status != null) {
- setStatus(status);
- }
-
- Long statusByUserId = (Long)attributes.get("statusByUserId");
-
- if (statusByUserId != null) {
- setStatusByUserId(statusByUserId);
- }
-
- String statusByUserName = (String)attributes.get("statusByUserName");
-
- if (statusByUserName != null) {
- setStatusByUserName(statusByUserName);
- }
-
- Date statusDate = (Date)attributes.get("statusDate");
-
- if (statusDate != null) {
- setStatusDate(statusDate);
- }
-
- String name = (String)attributes.get("name");
-
- if (name != null) {
- setName(name);
- }
-
- String bio = (String)attributes.get("bio");
-
- if (bio != null) {
- setBio(bio);
- }
- }
-
- /**
- * Returns the primary key of this artist.
- *
- * @return the primary key of this artist
- */
- @Override
- public long getPrimaryKey() {
- return _artist.getPrimaryKey();
- }
-
- /**
- * Sets the primary key of this artist.
- *
- * @param primaryKey the primary key of this artist
- */
- @Override
- public void setPrimaryKey(long primaryKey) {
- _artist.setPrimaryKey(primaryKey);
- }
-
- /**
- * Returns the uuid of this artist.
- *
- * @return the uuid of this artist
- */
- @Override
- public java.lang.String getUuid() {
- return _artist.getUuid();
- }
-
- /**
- * Sets the uuid of this artist.
- *
- * @param uuid the uuid of this artist
- */
- @Override
- public void setUuid(java.lang.String uuid) {
- _artist.setUuid(uuid);
- }
-
- /**
- * Returns the artist ID of this artist.
- *
- * @return the artist ID of this artist
- */
- @Override
- public long getArtistId() {
- return _artist.getArtistId();
- }
-
- /**
- * Sets the artist ID of this artist.
- *
- * @param artistId the artist ID of this artist
- */
- @Override
- public void setArtistId(long artistId) {
- _artist.setArtistId(artistId);
- }
-
- /**
- * Returns the company ID of this artist.
- *
- * @return the company ID of this artist
- */
- @Override
- public long getCompanyId() {
- return _artist.getCompanyId();
- }
-
- /**
- * Sets the company ID of this artist.
- *
- * @param companyId the company ID of this artist
- */
- @Override
- public void setCompanyId(long companyId) {
- _artist.setCompanyId(companyId);
- }
-
- /**
- * Returns the group ID of this artist.
- *
- * @return the group ID of this artist
- */
- @Override
- public long getGroupId() {
- return _artist.getGroupId();
- }
-
- /**
- * Sets the group ID of this artist.
- *
- * @param groupId the group ID of this artist
- */
- @Override
- public void setGroupId(long groupId) {
- _artist.setGroupId(groupId);
- }
-
- /**
- * Returns the user ID of this artist.
- *
- * @return the user ID of this artist
- */
- @Override
- public long getUserId() {
- return _artist.getUserId();
- }
-
- /**
- * Sets the user ID of this artist.
- *
- * @param userId the user ID of this artist
- */
- @Override
- public void setUserId(long userId) {
- _artist.setUserId(userId);
- }
-
- /**
- * Returns the user uuid of this artist.
- *
- * @return the user uuid of this artist
- * @throws SystemException if a system exception occurred
- */
- @Override
- public java.lang.String getUserUuid()
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artist.getUserUuid();
- }
-
- /**
- * Sets the user uuid of this artist.
- *
- * @param userUuid the user uuid of this artist
- */
- @Override
- public void setUserUuid(java.lang.String userUuid) {
- _artist.setUserUuid(userUuid);
- }
-
- /**
- * Returns the user name of this artist.
- *
- * @return the user name of this artist
- */
- @Override
- public java.lang.String getUserName() {
- return _artist.getUserName();
- }
-
- /**
- * Sets the user name of this artist.
- *
- * @param userName the user name of this artist
- */
- @Override
- public void setUserName(java.lang.String userName) {
- _artist.setUserName(userName);
- }
-
- /**
- * Returns the create date of this artist.
- *
- * @return the create date of this artist
- */
- @Override
- public java.util.Date getCreateDate() {
- return _artist.getCreateDate();
- }
-
- /**
- * Sets the create date of this artist.
- *
- * @param createDate the create date of this artist
- */
- @Override
- public void setCreateDate(java.util.Date createDate) {
- _artist.setCreateDate(createDate);
- }
-
- /**
- * Returns the modified date of this artist.
- *
- * @return the modified date of this artist
- */
- @Override
- public java.util.Date getModifiedDate() {
- return _artist.getModifiedDate();
- }
-
- /**
- * Sets the modified date of this artist.
- *
- * @param modifiedDate the modified date of this artist
- */
- @Override
- public void setModifiedDate(java.util.Date modifiedDate) {
- _artist.setModifiedDate(modifiedDate);
- }
-
- /**
- * Returns the status of this artist.
- *
- * @return the status of this artist
- */
- @Override
- public int getStatus() {
- return _artist.getStatus();
- }
-
- /**
- * Sets the status of this artist.
- *
- * @param status the status of this artist
- */
- @Override
- public void setStatus(int status) {
- _artist.setStatus(status);
- }
-
- /**
- * Returns the status by user ID of this artist.
- *
- * @return the status by user ID of this artist
- */
- @Override
- public long getStatusByUserId() {
- return _artist.getStatusByUserId();
- }
-
- /**
- * Sets the status by user ID of this artist.
- *
- * @param statusByUserId the status by user ID of this artist
- */
- @Override
- public void setStatusByUserId(long statusByUserId) {
- _artist.setStatusByUserId(statusByUserId);
- }
-
- /**
- * Returns the status by user uuid of this artist.
- *
- * @return the status by user uuid of this artist
- * @throws SystemException if a system exception occurred
- */
- @Override
- public java.lang.String getStatusByUserUuid()
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artist.getStatusByUserUuid();
- }
-
- /**
- * Sets the status by user uuid of this artist.
- *
- * @param statusByUserUuid the status by user uuid of this artist
- */
- @Override
- public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
- _artist.setStatusByUserUuid(statusByUserUuid);
- }
-
- /**
- * Returns the status by user name of this artist.
- *
- * @return the status by user name of this artist
- */
- @Override
- public java.lang.String getStatusByUserName() {
- return _artist.getStatusByUserName();
- }
-
- /**
- * Sets the status by user name of this artist.
- *
- * @param statusByUserName the status by user name of this artist
- */
- @Override
- public void setStatusByUserName(java.lang.String statusByUserName) {
- _artist.setStatusByUserName(statusByUserName);
- }
-
- /**
- * Returns the status date of this artist.
- *
- * @return the status date of this artist
- */
- @Override
- public java.util.Date getStatusDate() {
- return _artist.getStatusDate();
- }
-
- /**
- * Sets the status date of this artist.
- *
- * @param statusDate the status date of this artist
- */
- @Override
- public void setStatusDate(java.util.Date statusDate) {
- _artist.setStatusDate(statusDate);
- }
-
- /**
- * Returns the name of this artist.
- *
- * @return the name of this artist
- */
- @Override
- public java.lang.String getName() {
- return _artist.getName();
- }
-
- /**
- * Sets the name of this artist.
- *
- * @param name the name of this artist
- */
- @Override
- public void setName(java.lang.String name) {
- _artist.setName(name);
- }
-
- /**
- * Returns the bio of this artist.
- *
- * @return the bio of this artist
- */
- @Override
- public java.lang.String getBio() {
- return _artist.getBio();
- }
-
- /**
- * Sets the bio of this artist.
- *
- * @param bio the bio of this artist
- */
- @Override
- public void setBio(java.lang.String bio) {
- _artist.setBio(bio);
- }
-
- /**
- * Returns the trash entry created when this artist was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this artist.
- *
- * @return the trash entry created when this artist was moved to the Recycle Bin
- * @throws SystemException if a system exception occurred
- */
- @Override
- public com.liferay.portlet.trash.model.TrashEntry getTrashEntry()
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artist.getTrashEntry();
- }
-
- /**
- * Returns the class primary key of the trash entry for this artist.
- *
- * @return the class primary key of the trash entry for this artist
- */
- @Override
- public long getTrashEntryClassPK() {
- return _artist.getTrashEntryClassPK();
- }
-
- /**
- * Returns the trash handler for this artist.
- *
- * @return the trash handler for this artist
- */
- @Override
- public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() {
- return _artist.getTrashHandler();
- }
-
- /**
- * Returns true if this artist is in the Recycle Bin.
- *
- * @return true if this artist is in the Recycle Bin; false otherwise
- */
- @Override
- public boolean isInTrash() {
- return _artist.isInTrash();
- }
-
- /**
- * Returns true if the parent of this artist is in the Recycle Bin.
- *
- * @return true if the parent of this artist is in the Recycle Bin; false otherwise
- * @throws SystemException if a system exception occurred
- */
- @Override
- public boolean isInTrashContainer() {
- return _artist.isInTrashContainer();
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #isApproved()}
- */
- @Override
- public boolean getApproved() {
- return _artist.getApproved();
- }
-
- /**
- * Returns true if this artist is approved.
- *
- * @return true if this artist is approved; false otherwise
- */
- @Override
- public boolean isApproved() {
- return _artist.isApproved();
- }
-
- /**
- * Returns true if this artist is denied.
- *
- * @return true if this artist is denied; false otherwise
- */
- @Override
- public boolean isDenied() {
- return _artist.isDenied();
- }
-
- /**
- * Returns true if this artist is a draft.
- *
- * @return true if this artist is a draft; false otherwise
- */
- @Override
- public boolean isDraft() {
- return _artist.isDraft();
- }
-
- /**
- * Returns true if this artist is expired.
- *
- * @return true if this artist is expired; false otherwise
- */
- @Override
- public boolean isExpired() {
- return _artist.isExpired();
- }
-
- /**
- * Returns true if this artist is inactive.
- *
- * @return true if this artist is inactive; false otherwise
- */
- @Override
- public boolean isInactive() {
- return _artist.isInactive();
- }
-
- /**
- * Returns true if this artist is incomplete.
- *
- * @return true if this artist is incomplete; false otherwise
- */
- @Override
- public boolean isIncomplete() {
- return _artist.isIncomplete();
- }
-
- /**
- * Returns true if this artist is pending.
- *
- * @return true if this artist is pending; false otherwise
- */
- @Override
- public boolean isPending() {
- return _artist.isPending();
- }
-
- /**
- * Returns true if this artist is scheduled.
- *
- * @return true if this artist is scheduled; false otherwise
- */
- @Override
- public boolean isScheduled() {
- return _artist.isScheduled();
- }
-
- @Override
- public boolean isNew() {
- return _artist.isNew();
- }
-
- @Override
- public void setNew(boolean n) {
- _artist.setNew(n);
- }
-
- @Override
- public boolean isCachedModel() {
- return _artist.isCachedModel();
- }
-
- @Override
- public void setCachedModel(boolean cachedModel) {
- _artist.setCachedModel(cachedModel);
- }
-
- @Override
- public boolean isEscapedModel() {
- return _artist.isEscapedModel();
- }
-
- @Override
- public java.io.Serializable getPrimaryKeyObj() {
- return _artist.getPrimaryKeyObj();
- }
-
- @Override
- public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
- _artist.setPrimaryKeyObj(primaryKeyObj);
- }
-
- @Override
- public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
- return _artist.getExpandoBridge();
- }
-
- @Override
- public void setExpandoBridgeAttributes(
- com.liferay.portal.model.BaseModel> baseModel) {
- _artist.setExpandoBridgeAttributes(baseModel);
- }
-
- @Override
- public void setExpandoBridgeAttributes(
- com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
- _artist.setExpandoBridgeAttributes(expandoBridge);
- }
-
- @Override
- public void setExpandoBridgeAttributes(
- com.liferay.portal.service.ServiceContext serviceContext) {
- _artist.setExpandoBridgeAttributes(serviceContext);
- }
-
- @Override
- public java.lang.Object clone() {
- return new ArtistWrapper((Artist)_artist.clone());
- }
-
- @Override
- public int compareTo(org.liferay.jukebox.model.Artist artist) {
- return _artist.compareTo(artist);
- }
-
- @Override
- public int hashCode() {
- return _artist.hashCode();
- }
-
- @Override
- public com.liferay.portal.model.CacheModel toCacheModel() {
- return _artist.toCacheModel();
- }
-
- @Override
- public org.liferay.jukebox.model.Artist toEscapedModel() {
- return new ArtistWrapper(_artist.toEscapedModel());
- }
-
- @Override
- public org.liferay.jukebox.model.Artist toUnescapedModel() {
- return new ArtistWrapper(_artist.toUnescapedModel());
- }
-
- @Override
- public java.lang.String toString() {
- return _artist.toString();
- }
-
- @Override
- public java.lang.String toXmlString() {
- return _artist.toXmlString();
- }
-
- @Override
- public void persist()
- throws com.liferay.portal.kernel.exception.SystemException {
- _artist.persist();
- }
-
- @Override
- public com.liferay.portal.kernel.repository.model.FileEntry getCustomImage()
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artist.getCustomImage();
- }
-
- @Override
- public java.lang.String getImageURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artist.getImageURL(themeDisplay);
- }
-
- @Override
- public boolean hasCustomImage()
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artist.hasCustomImage();
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
-
- if (!(obj instanceof ArtistWrapper)) {
- return false;
- }
-
- ArtistWrapper artistWrapper = (ArtistWrapper)obj;
-
- if (Validator.equals(_artist, artistWrapper._artist)) {
- return true;
- }
-
- return false;
- }
-
- @Override
- public StagedModelType getStagedModelType() {
- return _artist.getStagedModelType();
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
- */
- public Artist getWrappedArtist() {
- return _artist;
- }
-
- @Override
- public Artist getWrappedModel() {
- return _artist;
- }
-
- @Override
- public void resetOriginalValues() {
- _artist.resetOriginalValues();
- }
-
- private Artist _artist;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/Song.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/Song.java
deleted file mode 100644
index bda89b0126..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/Song.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.model.PersistedModel;
-
-/**
- * The extended model interface for the Song service. Represents a row in the "jukebox_Song" database table, with each column mapped to a property of this class.
- *
- * @author Julio Camarero
- * @see SongModel
- * @see org.liferay.jukebox.model.impl.SongImpl
- * @see org.liferay.jukebox.model.impl.SongModelImpl
- * @generated
- */
-public interface Song extends SongModel, PersistedModel {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify this interface directly. Add methods to {@link org.liferay.jukebox.model.impl.SongImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
- */
- public java.lang.String getImageURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- public java.lang.String getLyricsURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public java.lang.String getSongURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay,
- java.lang.String audioContainer)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongClp.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongClp.java
deleted file mode 100644
index 1b6b322675..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongClp.java
+++ /dev/null
@@ -1,1074 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
-import com.liferay.portal.kernel.exception.PortalException;
-import com.liferay.portal.kernel.exception.SystemException;
-import com.liferay.portal.kernel.lar.StagedModelType;
-import com.liferay.portal.kernel.trash.TrashHandler;
-import com.liferay.portal.kernel.trash.TrashHandlerRegistryUtil;
-import com.liferay.portal.kernel.util.ProxyUtil;
-import com.liferay.portal.kernel.util.StringBundler;
-import com.liferay.portal.kernel.util.Validator;
-import com.liferay.portal.kernel.workflow.WorkflowConstants;
-import com.liferay.portal.model.BaseModel;
-import com.liferay.portal.model.ContainerModel;
-import com.liferay.portal.model.TrashedModel;
-import com.liferay.portal.model.impl.BaseModelImpl;
-import com.liferay.portal.util.PortalUtil;
-
-import com.liferay.portlet.trash.model.TrashEntry;
-import com.liferay.portlet.trash.service.TrashEntryLocalServiceUtil;
-
-import org.liferay.jukebox.service.ClpSerializer;
-import org.liferay.jukebox.service.SongLocalServiceUtil;
-
-import java.io.Serializable;
-
-import java.lang.reflect.Method;
-
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * @author Julio Camarero
- */
-public class SongClp extends BaseModelImpl implements Song {
- public SongClp() {
- }
-
- @Override
- public Class> getModelClass() {
- return Song.class;
- }
-
- @Override
- public String getModelClassName() {
- return Song.class.getName();
- }
-
- @Override
- public long getPrimaryKey() {
- return _songId;
- }
-
- @Override
- public void setPrimaryKey(long primaryKey) {
- setSongId(primaryKey);
- }
-
- @Override
- public Serializable getPrimaryKeyObj() {
- return _songId;
- }
-
- @Override
- public void setPrimaryKeyObj(Serializable primaryKeyObj) {
- setPrimaryKey(((Long)primaryKeyObj).longValue());
- }
-
- @Override
- public Map getModelAttributes() {
- Map attributes = new HashMap();
-
- attributes.put("uuid", getUuid());
- attributes.put("songId", getSongId());
- attributes.put("companyId", getCompanyId());
- attributes.put("groupId", getGroupId());
- attributes.put("userId", getUserId());
- attributes.put("userName", getUserName());
- attributes.put("createDate", getCreateDate());
- attributes.put("modifiedDate", getModifiedDate());
- attributes.put("artistId", getArtistId());
- attributes.put("albumId", getAlbumId());
- attributes.put("name", getName());
- attributes.put("status", getStatus());
- attributes.put("statusByUserId", getStatusByUserId());
- attributes.put("statusByUserName", getStatusByUserName());
- attributes.put("statusDate", getStatusDate());
-
- return attributes;
- }
-
- @Override
- public void setModelAttributes(Map attributes) {
- String uuid = (String)attributes.get("uuid");
-
- if (uuid != null) {
- setUuid(uuid);
- }
-
- Long songId = (Long)attributes.get("songId");
-
- if (songId != null) {
- setSongId(songId);
- }
-
- Long companyId = (Long)attributes.get("companyId");
-
- if (companyId != null) {
- setCompanyId(companyId);
- }
-
- Long groupId = (Long)attributes.get("groupId");
-
- if (groupId != null) {
- setGroupId(groupId);
- }
-
- Long userId = (Long)attributes.get("userId");
-
- if (userId != null) {
- setUserId(userId);
- }
-
- String userName = (String)attributes.get("userName");
-
- if (userName != null) {
- setUserName(userName);
- }
-
- Date createDate = (Date)attributes.get("createDate");
-
- if (createDate != null) {
- setCreateDate(createDate);
- }
-
- Date modifiedDate = (Date)attributes.get("modifiedDate");
-
- if (modifiedDate != null) {
- setModifiedDate(modifiedDate);
- }
-
- Long artistId = (Long)attributes.get("artistId");
-
- if (artistId != null) {
- setArtistId(artistId);
- }
-
- Long albumId = (Long)attributes.get("albumId");
-
- if (albumId != null) {
- setAlbumId(albumId);
- }
-
- String name = (String)attributes.get("name");
-
- if (name != null) {
- setName(name);
- }
-
- Integer status = (Integer)attributes.get("status");
-
- if (status != null) {
- setStatus(status);
- }
-
- Long statusByUserId = (Long)attributes.get("statusByUserId");
-
- if (statusByUserId != null) {
- setStatusByUserId(statusByUserId);
- }
-
- String statusByUserName = (String)attributes.get("statusByUserName");
-
- if (statusByUserName != null) {
- setStatusByUserName(statusByUserName);
- }
-
- Date statusDate = (Date)attributes.get("statusDate");
-
- if (statusDate != null) {
- setStatusDate(statusDate);
- }
- }
-
- @Override
- public String getUuid() {
- return _uuid;
- }
-
- @Override
- public void setUuid(String uuid) {
- _uuid = uuid;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setUuid", String.class);
-
- method.invoke(_songRemoteModel, uuid);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getSongId() {
- return _songId;
- }
-
- @Override
- public void setSongId(long songId) {
- _songId = songId;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setSongId", long.class);
-
- method.invoke(_songRemoteModel, songId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getCompanyId() {
- return _companyId;
- }
-
- @Override
- public void setCompanyId(long companyId) {
- _companyId = companyId;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setCompanyId", long.class);
-
- method.invoke(_songRemoteModel, companyId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getGroupId() {
- return _groupId;
- }
-
- @Override
- public void setGroupId(long groupId) {
- _groupId = groupId;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setGroupId", long.class);
-
- method.invoke(_songRemoteModel, groupId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getUserId() {
- return _userId;
- }
-
- @Override
- public void setUserId(long userId) {
- _userId = userId;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setUserId", long.class);
-
- method.invoke(_songRemoteModel, userId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public String getUserUuid() throws SystemException {
- return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
- }
-
- @Override
- public void setUserUuid(String userUuid) {
- _userUuid = userUuid;
- }
-
- @Override
- public String getUserName() {
- return _userName;
- }
-
- @Override
- public void setUserName(String userName) {
- _userName = userName;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setUserName", String.class);
-
- method.invoke(_songRemoteModel, userName);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public Date getCreateDate() {
- return _createDate;
- }
-
- @Override
- public void setCreateDate(Date createDate) {
- _createDate = createDate;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setCreateDate", Date.class);
-
- method.invoke(_songRemoteModel, createDate);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public Date getModifiedDate() {
- return _modifiedDate;
- }
-
- @Override
- public void setModifiedDate(Date modifiedDate) {
- _modifiedDate = modifiedDate;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setModifiedDate", Date.class);
-
- method.invoke(_songRemoteModel, modifiedDate);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getArtistId() {
- return _artistId;
- }
-
- @Override
- public void setArtistId(long artistId) {
- _artistId = artistId;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setArtistId", long.class);
-
- method.invoke(_songRemoteModel, artistId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getAlbumId() {
- return _albumId;
- }
-
- @Override
- public void setAlbumId(long albumId) {
- _albumId = albumId;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setAlbumId", long.class);
-
- method.invoke(_songRemoteModel, albumId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public String getName() {
- return _name;
- }
-
- @Override
- public void setName(String name) {
- _name = name;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setName", String.class);
-
- method.invoke(_songRemoteModel, name);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public int getStatus() {
- return _status;
- }
-
- @Override
- public void setStatus(int status) {
- _status = status;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatus", int.class);
-
- method.invoke(_songRemoteModel, status);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public long getStatusByUserId() {
- return _statusByUserId;
- }
-
- @Override
- public void setStatusByUserId(long statusByUserId) {
- _statusByUserId = statusByUserId;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatusByUserId", long.class);
-
- method.invoke(_songRemoteModel, statusByUserId);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public String getStatusByUserUuid() throws SystemException {
- return PortalUtil.getUserValue(getStatusByUserId(), "uuid",
- _statusByUserUuid);
- }
-
- @Override
- public void setStatusByUserUuid(String statusByUserUuid) {
- _statusByUserUuid = statusByUserUuid;
- }
-
- @Override
- public String getStatusByUserName() {
- return _statusByUserName;
- }
-
- @Override
- public void setStatusByUserName(String statusByUserName) {
- _statusByUserName = statusByUserName;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatusByUserName",
- String.class);
-
- method.invoke(_songRemoteModel, statusByUserName);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public Date getStatusDate() {
- return _statusDate;
- }
-
- @Override
- public void setStatusDate(Date statusDate) {
- _statusDate = statusDate;
-
- if (_songRemoteModel != null) {
- try {
- Class> clazz = _songRemoteModel.getClass();
-
- Method method = clazz.getMethod("setStatusDate", Date.class);
-
- method.invoke(_songRemoteModel, statusDate);
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
- }
-
- @Override
- public java.lang.String getSongURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay,
- java.lang.String audioContainer) {
- try {
- String methodName = "getSongURL";
-
- Class>[] parameterTypes = new Class>[] {
- com.liferay.portal.theme.ThemeDisplay.class,
- java.lang.String.class
- };
-
- Object[] parameterValues = new Object[] { themeDisplay, audioContainer };
-
- java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
- parameterTypes, parameterValues);
-
- return returnObj;
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
-
- @Override
- public java.lang.String getImageURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay) {
- try {
- String methodName = "getImageURL";
-
- Class>[] parameterTypes = new Class>[] {
- com.liferay.portal.theme.ThemeDisplay.class
- };
-
- Object[] parameterValues = new Object[] { themeDisplay };
-
- java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
- parameterTypes, parameterValues);
-
- return returnObj;
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
-
- @Override
- public java.lang.String getLyricsURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay) {
- try {
- String methodName = "getLyricsURL";
-
- Class>[] parameterTypes = new Class>[] {
- com.liferay.portal.theme.ThemeDisplay.class
- };
-
- Object[] parameterValues = new Object[] { themeDisplay };
-
- java.lang.String returnObj = (java.lang.String)invokeOnRemoteModel(methodName,
- parameterTypes, parameterValues);
-
- return returnObj;
- }
- catch (Exception e) {
- throw new UnsupportedOperationException(e);
- }
- }
-
- @Override
- public StagedModelType getStagedModelType() {
- return new StagedModelType(PortalUtil.getClassNameId(
- Song.class.getName()));
- }
-
- @Override
- public TrashEntry getTrashEntry() throws PortalException, SystemException {
- if (!isInTrash()) {
- return null;
- }
-
- TrashEntry trashEntry = TrashEntryLocalServiceUtil.fetchEntry(getModelClassName(),
- getTrashEntryClassPK());
-
- if (trashEntry != null) {
- return trashEntry;
- }
-
- TrashHandler trashHandler = getTrashHandler();
-
- if (!Validator.isNull(trashHandler.getContainerModelClassName())) {
- ContainerModel containerModel = trashHandler.getParentContainerModel(this);
-
- while (containerModel != null) {
- if (containerModel instanceof TrashedModel) {
- TrashedModel trashedModel = (TrashedModel)containerModel;
-
- return trashedModel.getTrashEntry();
- }
-
- trashHandler = TrashHandlerRegistryUtil.getTrashHandler(trashHandler.getContainerModelClassName());
-
- if (trashHandler == null) {
- return null;
- }
-
- containerModel = trashHandler.getContainerModel(containerModel.getParentContainerModelId());
- }
- }
-
- return null;
- }
-
- @Override
- public long getTrashEntryClassPK() {
- return getPrimaryKey();
- }
-
- @Override
- public TrashHandler getTrashHandler() {
- return TrashHandlerRegistryUtil.getTrashHandler(getModelClassName());
- }
-
- @Override
- public boolean isInTrash() {
- if (getStatus() == WorkflowConstants.STATUS_IN_TRASH) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isInTrashContainer() {
- TrashHandler trashHandler = getTrashHandler();
-
- if ((trashHandler == null) ||
- Validator.isNull(trashHandler.getContainerModelClassName())) {
- return false;
- }
-
- try {
- ContainerModel containerModel = trashHandler.getParentContainerModel(this);
-
- if (containerModel == null) {
- return false;
- }
-
- if (containerModel instanceof TrashedModel) {
- return ((TrashedModel)containerModel).isInTrash();
- }
- }
- catch (Exception e) {
- }
-
- return false;
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #isApproved}
- */
- @Override
- public boolean getApproved() {
- return isApproved();
- }
-
- @Override
- public boolean isApproved() {
- if (getStatus() == WorkflowConstants.STATUS_APPROVED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isDenied() {
- if (getStatus() == WorkflowConstants.STATUS_DENIED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isDraft() {
- if (getStatus() == WorkflowConstants.STATUS_DRAFT) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isExpired() {
- if (getStatus() == WorkflowConstants.STATUS_EXPIRED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isInactive() {
- if (getStatus() == WorkflowConstants.STATUS_INACTIVE) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isIncomplete() {
- if (getStatus() == WorkflowConstants.STATUS_INCOMPLETE) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isPending() {
- if (getStatus() == WorkflowConstants.STATUS_PENDING) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public boolean isScheduled() {
- if (getStatus() == WorkflowConstants.STATUS_SCHEDULED) {
- return true;
- }
- else {
- return false;
- }
- }
-
- public BaseModel> getSongRemoteModel() {
- return _songRemoteModel;
- }
-
- public void setSongRemoteModel(BaseModel> songRemoteModel) {
- _songRemoteModel = songRemoteModel;
- }
-
- public Object invokeOnRemoteModel(String methodName,
- Class>[] parameterTypes, Object[] parameterValues)
- throws Exception {
- Object[] remoteParameterValues = new Object[parameterValues.length];
-
- for (int i = 0; i < parameterValues.length; i++) {
- if (parameterValues[i] != null) {
- remoteParameterValues[i] = ClpSerializer.translateInput(parameterValues[i]);
- }
- }
-
- Class> remoteModelClass = _songRemoteModel.getClass();
-
- ClassLoader remoteModelClassLoader = remoteModelClass.getClassLoader();
-
- Class>[] remoteParameterTypes = new Class[parameterTypes.length];
-
- for (int i = 0; i < parameterTypes.length; i++) {
- if (parameterTypes[i].isPrimitive()) {
- remoteParameterTypes[i] = parameterTypes[i];
- }
- else {
- String parameterTypeName = parameterTypes[i].getName();
-
- remoteParameterTypes[i] = remoteModelClassLoader.loadClass(parameterTypeName);
- }
- }
-
- Method method = remoteModelClass.getMethod(methodName,
- remoteParameterTypes);
-
- Object returnValue = method.invoke(_songRemoteModel,
- remoteParameterValues);
-
- if (returnValue != null) {
- returnValue = ClpSerializer.translateOutput(returnValue);
- }
-
- return returnValue;
- }
-
- @Override
- public void persist() throws SystemException {
- if (this.isNew()) {
- SongLocalServiceUtil.addSong(this);
- }
- else {
- SongLocalServiceUtil.updateSong(this);
- }
- }
-
- @Override
- public Song toEscapedModel() {
- return (Song)ProxyUtil.newProxyInstance(Song.class.getClassLoader(),
- new Class[] { Song.class }, new AutoEscapeBeanHandler(this));
- }
-
- @Override
- public Object clone() {
- SongClp clone = new SongClp();
-
- clone.setUuid(getUuid());
- clone.setSongId(getSongId());
- clone.setCompanyId(getCompanyId());
- clone.setGroupId(getGroupId());
- clone.setUserId(getUserId());
- clone.setUserName(getUserName());
- clone.setCreateDate(getCreateDate());
- clone.setModifiedDate(getModifiedDate());
- clone.setArtistId(getArtistId());
- clone.setAlbumId(getAlbumId());
- clone.setName(getName());
- clone.setStatus(getStatus());
- clone.setStatusByUserId(getStatusByUserId());
- clone.setStatusByUserName(getStatusByUserName());
- clone.setStatusDate(getStatusDate());
-
- return clone;
- }
-
- @Override
- public int compareTo(Song song) {
- long primaryKey = song.getPrimaryKey();
-
- if (getPrimaryKey() < primaryKey) {
- return -1;
- }
- else if (getPrimaryKey() > primaryKey) {
- return 1;
- }
- else {
- return 0;
- }
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
-
- if (!(obj instanceof SongClp)) {
- return false;
- }
-
- SongClp song = (SongClp)obj;
-
- long primaryKey = song.getPrimaryKey();
-
- if (getPrimaryKey() == primaryKey) {
- return true;
- }
- else {
- return false;
- }
- }
-
- @Override
- public int hashCode() {
- return (int)getPrimaryKey();
- }
-
- @Override
- public String toString() {
- StringBundler sb = new StringBundler(31);
-
- sb.append("{uuid=");
- sb.append(getUuid());
- sb.append(", songId=");
- sb.append(getSongId());
- sb.append(", companyId=");
- sb.append(getCompanyId());
- sb.append(", groupId=");
- sb.append(getGroupId());
- sb.append(", userId=");
- sb.append(getUserId());
- sb.append(", userName=");
- sb.append(getUserName());
- sb.append(", createDate=");
- sb.append(getCreateDate());
- sb.append(", modifiedDate=");
- sb.append(getModifiedDate());
- sb.append(", artistId=");
- sb.append(getArtistId());
- sb.append(", albumId=");
- sb.append(getAlbumId());
- sb.append(", name=");
- sb.append(getName());
- sb.append(", status=");
- sb.append(getStatus());
- sb.append(", statusByUserId=");
- sb.append(getStatusByUserId());
- sb.append(", statusByUserName=");
- sb.append(getStatusByUserName());
- sb.append(", statusDate=");
- sb.append(getStatusDate());
- sb.append("}");
-
- return sb.toString();
- }
-
- @Override
- public String toXmlString() {
- StringBundler sb = new StringBundler(49);
-
- sb.append("");
- sb.append("org.liferay.jukebox.model.Song");
- sb.append("");
-
- sb.append(
- "uuid");
- sb.append(
- "songId");
- sb.append(
- "companyId");
- sb.append(
- "groupId");
- sb.append(
- "userId");
- sb.append(
- "userName");
- sb.append(
- "createDate");
- sb.append(
- "modifiedDate");
- sb.append(
- "artistId");
- sb.append(
- "albumId");
- sb.append(
- "name");
- sb.append(
- "status");
- sb.append(
- "statusByUserId");
- sb.append(
- "statusByUserName");
- sb.append(
- "statusDate");
-
- sb.append("");
-
- return sb.toString();
- }
-
- private String _uuid;
- private long _songId;
- private long _companyId;
- private long _groupId;
- private long _userId;
- private String _userUuid;
- private String _userName;
- private Date _createDate;
- private Date _modifiedDate;
- private long _artistId;
- private long _albumId;
- private String _name;
- private int _status;
- private long _statusByUserId;
- private String _statusByUserUuid;
- private String _statusByUserName;
- private Date _statusDate;
- private BaseModel> _songRemoteModel;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongModel.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongModel.java
deleted file mode 100644
index ca579292e6..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongModel.java
+++ /dev/null
@@ -1,508 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.kernel.bean.AutoEscape;
-import com.liferay.portal.kernel.exception.PortalException;
-import com.liferay.portal.kernel.exception.SystemException;
-import com.liferay.portal.kernel.trash.TrashHandler;
-import com.liferay.portal.model.BaseModel;
-import com.liferay.portal.model.CacheModel;
-import com.liferay.portal.model.StagedGroupedModel;
-import com.liferay.portal.model.TrashedModel;
-import com.liferay.portal.model.WorkflowedModel;
-import com.liferay.portal.service.ServiceContext;
-
-import com.liferay.portlet.expando.model.ExpandoBridge;
-import com.liferay.portlet.trash.model.TrashEntry;
-
-import java.io.Serializable;
-
-import java.util.Date;
-
-/**
- * The base model interface for the Song service. Represents a row in the "jukebox_Song" database table, with each column mapped to a property of this class.
- *
- *
- * This interface and its corresponding implementation {@link org.liferay.jukebox.model.impl.SongModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link org.liferay.jukebox.model.impl.SongImpl}.
- *
- *
- * @author Julio Camarero
- * @see Song
- * @see org.liferay.jukebox.model.impl.SongImpl
- * @see org.liferay.jukebox.model.impl.SongModelImpl
- * @generated
- */
-public interface SongModel extends BaseModel, StagedGroupedModel,
- TrashedModel, WorkflowedModel {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify or reference this interface directly. All methods that expect a song model instance should use the {@link Song} interface instead.
- */
-
- /**
- * Returns the primary key of this song.
- *
- * @return the primary key of this song
- */
- public long getPrimaryKey();
-
- /**
- * Sets the primary key of this song.
- *
- * @param primaryKey the primary key of this song
- */
- public void setPrimaryKey(long primaryKey);
-
- /**
- * Returns the uuid of this song.
- *
- * @return the uuid of this song
- */
- @AutoEscape
- @Override
- public String getUuid();
-
- /**
- * Sets the uuid of this song.
- *
- * @param uuid the uuid of this song
- */
- @Override
- public void setUuid(String uuid);
-
- /**
- * Returns the song ID of this song.
- *
- * @return the song ID of this song
- */
- public long getSongId();
-
- /**
- * Sets the song ID of this song.
- *
- * @param songId the song ID of this song
- */
- public void setSongId(long songId);
-
- /**
- * Returns the company ID of this song.
- *
- * @return the company ID of this song
- */
- @Override
- public long getCompanyId();
-
- /**
- * Sets the company ID of this song.
- *
- * @param companyId the company ID of this song
- */
- @Override
- public void setCompanyId(long companyId);
-
- /**
- * Returns the group ID of this song.
- *
- * @return the group ID of this song
- */
- @Override
- public long getGroupId();
-
- /**
- * Sets the group ID of this song.
- *
- * @param groupId the group ID of this song
- */
- @Override
- public void setGroupId(long groupId);
-
- /**
- * Returns the user ID of this song.
- *
- * @return the user ID of this song
- */
- @Override
- public long getUserId();
-
- /**
- * Sets the user ID of this song.
- *
- * @param userId the user ID of this song
- */
- @Override
- public void setUserId(long userId);
-
- /**
- * Returns the user uuid of this song.
- *
- * @return the user uuid of this song
- * @throws SystemException if a system exception occurred
- */
- @Override
- public String getUserUuid() throws SystemException;
-
- /**
- * Sets the user uuid of this song.
- *
- * @param userUuid the user uuid of this song
- */
- @Override
- public void setUserUuid(String userUuid);
-
- /**
- * Returns the user name of this song.
- *
- * @return the user name of this song
- */
- @AutoEscape
- @Override
- public String getUserName();
-
- /**
- * Sets the user name of this song.
- *
- * @param userName the user name of this song
- */
- @Override
- public void setUserName(String userName);
-
- /**
- * Returns the create date of this song.
- *
- * @return the create date of this song
- */
- @Override
- public Date getCreateDate();
-
- /**
- * Sets the create date of this song.
- *
- * @param createDate the create date of this song
- */
- @Override
- public void setCreateDate(Date createDate);
-
- /**
- * Returns the modified date of this song.
- *
- * @return the modified date of this song
- */
- @Override
- public Date getModifiedDate();
-
- /**
- * Sets the modified date of this song.
- *
- * @param modifiedDate the modified date of this song
- */
- @Override
- public void setModifiedDate(Date modifiedDate);
-
- /**
- * Returns the artist ID of this song.
- *
- * @return the artist ID of this song
- */
- public long getArtistId();
-
- /**
- * Sets the artist ID of this song.
- *
- * @param artistId the artist ID of this song
- */
- public void setArtistId(long artistId);
-
- /**
- * Returns the album ID of this song.
- *
- * @return the album ID of this song
- */
- public long getAlbumId();
-
- /**
- * Sets the album ID of this song.
- *
- * @param albumId the album ID of this song
- */
- public void setAlbumId(long albumId);
-
- /**
- * Returns the name of this song.
- *
- * @return the name of this song
- */
- @AutoEscape
- public String getName();
-
- /**
- * Sets the name of this song.
- *
- * @param name the name of this song
- */
- public void setName(String name);
-
- /**
- * Returns the status of this song.
- *
- * @return the status of this song
- */
- @Override
- public int getStatus();
-
- /**
- * Sets the status of this song.
- *
- * @param status the status of this song
- */
- @Override
- public void setStatus(int status);
-
- /**
- * Returns the status by user ID of this song.
- *
- * @return the status by user ID of this song
- */
- @Override
- public long getStatusByUserId();
-
- /**
- * Sets the status by user ID of this song.
- *
- * @param statusByUserId the status by user ID of this song
- */
- @Override
- public void setStatusByUserId(long statusByUserId);
-
- /**
- * Returns the status by user uuid of this song.
- *
- * @return the status by user uuid of this song
- * @throws SystemException if a system exception occurred
- */
- @Override
- public String getStatusByUserUuid() throws SystemException;
-
- /**
- * Sets the status by user uuid of this song.
- *
- * @param statusByUserUuid the status by user uuid of this song
- */
- @Override
- public void setStatusByUserUuid(String statusByUserUuid);
-
- /**
- * Returns the status by user name of this song.
- *
- * @return the status by user name of this song
- */
- @AutoEscape
- @Override
- public String getStatusByUserName();
-
- /**
- * Sets the status by user name of this song.
- *
- * @param statusByUserName the status by user name of this song
- */
- @Override
- public void setStatusByUserName(String statusByUserName);
-
- /**
- * Returns the status date of this song.
- *
- * @return the status date of this song
- */
- @Override
- public Date getStatusDate();
-
- /**
- * Sets the status date of this song.
- *
- * @param statusDate the status date of this song
- */
- @Override
- public void setStatusDate(Date statusDate);
-
- /**
- * Returns the trash entry created when this song was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this song.
- *
- * @return the trash entry created when this song was moved to the Recycle Bin
- * @throws SystemException if a system exception occurred
- */
- @Override
- public TrashEntry getTrashEntry() throws PortalException, SystemException;
-
- /**
- * Returns the class primary key of the trash entry for this song.
- *
- * @return the class primary key of the trash entry for this song
- */
- @Override
- public long getTrashEntryClassPK();
-
- /**
- * Returns the trash handler for this song.
- *
- * @return the trash handler for this song
- */
- @Override
- public TrashHandler getTrashHandler();
-
- /**
- * Returns true if this song is in the Recycle Bin.
- *
- * @return true if this song is in the Recycle Bin; false otherwise
- */
- @Override
- public boolean isInTrash();
-
- /**
- * Returns true if the parent of this song is in the Recycle Bin.
- *
- * @return true if the parent of this song is in the Recycle Bin; false otherwise
- * @throws SystemException if a system exception occurred
- */
- @Override
- public boolean isInTrashContainer();
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #isApproved()}
- */
- @Override
- public boolean getApproved();
-
- /**
- * Returns true if this song is approved.
- *
- * @return true if this song is approved; false otherwise
- */
- @Override
- public boolean isApproved();
-
- /**
- * Returns true if this song is denied.
- *
- * @return true if this song is denied; false otherwise
- */
- @Override
- public boolean isDenied();
-
- /**
- * Returns true if this song is a draft.
- *
- * @return true if this song is a draft; false otherwise
- */
- @Override
- public boolean isDraft();
-
- /**
- * Returns true if this song is expired.
- *
- * @return true if this song is expired; false otherwise
- */
- @Override
- public boolean isExpired();
-
- /**
- * Returns true if this song is inactive.
- *
- * @return true if this song is inactive; false otherwise
- */
- @Override
- public boolean isInactive();
-
- /**
- * Returns true if this song is incomplete.
- *
- * @return true if this song is incomplete; false otherwise
- */
- @Override
- public boolean isIncomplete();
-
- /**
- * Returns true if this song is pending.
- *
- * @return true if this song is pending; false otherwise
- */
- @Override
- public boolean isPending();
-
- /**
- * Returns true if this song is scheduled.
- *
- * @return true if this song is scheduled; false otherwise
- */
- @Override
- public boolean isScheduled();
-
- @Override
- public boolean isNew();
-
- @Override
- public void setNew(boolean n);
-
- @Override
- public boolean isCachedModel();
-
- @Override
- public void setCachedModel(boolean cachedModel);
-
- @Override
- public boolean isEscapedModel();
-
- @Override
- public Serializable getPrimaryKeyObj();
-
- @Override
- public void setPrimaryKeyObj(Serializable primaryKeyObj);
-
- @Override
- public ExpandoBridge getExpandoBridge();
-
- @Override
- public void setExpandoBridgeAttributes(BaseModel> baseModel);
-
- @Override
- public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
-
- @Override
- public void setExpandoBridgeAttributes(ServiceContext serviceContext);
-
- @Override
- public Object clone();
-
- @Override
- public int compareTo(Song song);
-
- @Override
- public int hashCode();
-
- @Override
- public CacheModel toCacheModel();
-
- @Override
- public Song toEscapedModel();
-
- @Override
- public Song toUnescapedModel();
-
- @Override
- public String toString();
-
- @Override
- public String toXmlString();
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongSoap.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongSoap.java
deleted file mode 100644
index 8c9ce6ce8b..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongSoap.java
+++ /dev/null
@@ -1,236 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import java.io.Serializable;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-/**
- * This class is used by SOAP remote services, specifically {@link org.liferay.jukebox.service.http.SongServiceSoap}.
- *
- * @author Julio Camarero
- * @see org.liferay.jukebox.service.http.SongServiceSoap
- * @generated
- */
-public class SongSoap implements Serializable {
- public static SongSoap toSoapModel(Song model) {
- SongSoap soapModel = new SongSoap();
-
- soapModel.setUuid(model.getUuid());
- soapModel.setSongId(model.getSongId());
- soapModel.setCompanyId(model.getCompanyId());
- soapModel.setGroupId(model.getGroupId());
- soapModel.setUserId(model.getUserId());
- soapModel.setUserName(model.getUserName());
- soapModel.setCreateDate(model.getCreateDate());
- soapModel.setModifiedDate(model.getModifiedDate());
- soapModel.setArtistId(model.getArtistId());
- soapModel.setAlbumId(model.getAlbumId());
- soapModel.setName(model.getName());
- soapModel.setStatus(model.getStatus());
- soapModel.setStatusByUserId(model.getStatusByUserId());
- soapModel.setStatusByUserName(model.getStatusByUserName());
- soapModel.setStatusDate(model.getStatusDate());
-
- return soapModel;
- }
-
- public static SongSoap[] toSoapModels(Song[] models) {
- SongSoap[] soapModels = new SongSoap[models.length];
-
- for (int i = 0; i < models.length; i++) {
- soapModels[i] = toSoapModel(models[i]);
- }
-
- return soapModels;
- }
-
- public static SongSoap[][] toSoapModels(Song[][] models) {
- SongSoap[][] soapModels = null;
-
- if (models.length > 0) {
- soapModels = new SongSoap[models.length][models[0].length];
- }
- else {
- soapModels = new SongSoap[0][0];
- }
-
- for (int i = 0; i < models.length; i++) {
- soapModels[i] = toSoapModels(models[i]);
- }
-
- return soapModels;
- }
-
- public static SongSoap[] toSoapModels(List models) {
- List soapModels = new ArrayList(models.size());
-
- for (Song model : models) {
- soapModels.add(toSoapModel(model));
- }
-
- return soapModels.toArray(new SongSoap[soapModels.size()]);
- }
-
- public SongSoap() {
- }
-
- public long getPrimaryKey() {
- return _songId;
- }
-
- public void setPrimaryKey(long pk) {
- setSongId(pk);
- }
-
- public String getUuid() {
- return _uuid;
- }
-
- public void setUuid(String uuid) {
- _uuid = uuid;
- }
-
- public long getSongId() {
- return _songId;
- }
-
- public void setSongId(long songId) {
- _songId = songId;
- }
-
- public long getCompanyId() {
- return _companyId;
- }
-
- public void setCompanyId(long companyId) {
- _companyId = companyId;
- }
-
- public long getGroupId() {
- return _groupId;
- }
-
- public void setGroupId(long groupId) {
- _groupId = groupId;
- }
-
- public long getUserId() {
- return _userId;
- }
-
- public void setUserId(long userId) {
- _userId = userId;
- }
-
- public String getUserName() {
- return _userName;
- }
-
- public void setUserName(String userName) {
- _userName = userName;
- }
-
- public Date getCreateDate() {
- return _createDate;
- }
-
- public void setCreateDate(Date createDate) {
- _createDate = createDate;
- }
-
- public Date getModifiedDate() {
- return _modifiedDate;
- }
-
- public void setModifiedDate(Date modifiedDate) {
- _modifiedDate = modifiedDate;
- }
-
- public long getArtistId() {
- return _artistId;
- }
-
- public void setArtistId(long artistId) {
- _artistId = artistId;
- }
-
- public long getAlbumId() {
- return _albumId;
- }
-
- public void setAlbumId(long albumId) {
- _albumId = albumId;
- }
-
- public String getName() {
- return _name;
- }
-
- public void setName(String name) {
- _name = name;
- }
-
- public int getStatus() {
- return _status;
- }
-
- public void setStatus(int status) {
- _status = status;
- }
-
- public long getStatusByUserId() {
- return _statusByUserId;
- }
-
- public void setStatusByUserId(long statusByUserId) {
- _statusByUserId = statusByUserId;
- }
-
- public String getStatusByUserName() {
- return _statusByUserName;
- }
-
- public void setStatusByUserName(String statusByUserName) {
- _statusByUserName = statusByUserName;
- }
-
- public Date getStatusDate() {
- return _statusDate;
- }
-
- public void setStatusDate(Date statusDate) {
- _statusDate = statusDate;
- }
-
- private String _uuid;
- private long _songId;
- private long _companyId;
- private long _groupId;
- private long _userId;
- private String _userName;
- private Date _createDate;
- private Date _modifiedDate;
- private long _artistId;
- private long _albumId;
- private String _name;
- private int _status;
- private long _statusByUserId;
- private String _statusByUserName;
- private Date _statusDate;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongWrapper.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongWrapper.java
deleted file mode 100644
index db5c0a455d..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/model/SongWrapper.java
+++ /dev/null
@@ -1,841 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.model;
-
-import com.liferay.portal.kernel.lar.StagedModelType;
-import com.liferay.portal.kernel.util.Validator;
-import com.liferay.portal.model.ModelWrapper;
-
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- *
- * This class is a wrapper for {@link Song}.
- *
- *
- * @author Julio Camarero
- * @see Song
- * @generated
- */
-public class SongWrapper implements Song, ModelWrapper {
- public SongWrapper(Song song) {
- _song = song;
- }
-
- @Override
- public Class> getModelClass() {
- return Song.class;
- }
-
- @Override
- public String getModelClassName() {
- return Song.class.getName();
- }
-
- @Override
- public Map getModelAttributes() {
- Map attributes = new HashMap();
-
- attributes.put("uuid", getUuid());
- attributes.put("songId", getSongId());
- attributes.put("companyId", getCompanyId());
- attributes.put("groupId", getGroupId());
- attributes.put("userId", getUserId());
- attributes.put("userName", getUserName());
- attributes.put("createDate", getCreateDate());
- attributes.put("modifiedDate", getModifiedDate());
- attributes.put("artistId", getArtistId());
- attributes.put("albumId", getAlbumId());
- attributes.put("name", getName());
- attributes.put("status", getStatus());
- attributes.put("statusByUserId", getStatusByUserId());
- attributes.put("statusByUserName", getStatusByUserName());
- attributes.put("statusDate", getStatusDate());
-
- return attributes;
- }
-
- @Override
- public void setModelAttributes(Map attributes) {
- String uuid = (String)attributes.get("uuid");
-
- if (uuid != null) {
- setUuid(uuid);
- }
-
- Long songId = (Long)attributes.get("songId");
-
- if (songId != null) {
- setSongId(songId);
- }
-
- Long companyId = (Long)attributes.get("companyId");
-
- if (companyId != null) {
- setCompanyId(companyId);
- }
-
- Long groupId = (Long)attributes.get("groupId");
-
- if (groupId != null) {
- setGroupId(groupId);
- }
-
- Long userId = (Long)attributes.get("userId");
-
- if (userId != null) {
- setUserId(userId);
- }
-
- String userName = (String)attributes.get("userName");
-
- if (userName != null) {
- setUserName(userName);
- }
-
- Date createDate = (Date)attributes.get("createDate");
-
- if (createDate != null) {
- setCreateDate(createDate);
- }
-
- Date modifiedDate = (Date)attributes.get("modifiedDate");
-
- if (modifiedDate != null) {
- setModifiedDate(modifiedDate);
- }
-
- Long artistId = (Long)attributes.get("artistId");
-
- if (artistId != null) {
- setArtistId(artistId);
- }
-
- Long albumId = (Long)attributes.get("albumId");
-
- if (albumId != null) {
- setAlbumId(albumId);
- }
-
- String name = (String)attributes.get("name");
-
- if (name != null) {
- setName(name);
- }
-
- Integer status = (Integer)attributes.get("status");
-
- if (status != null) {
- setStatus(status);
- }
-
- Long statusByUserId = (Long)attributes.get("statusByUserId");
-
- if (statusByUserId != null) {
- setStatusByUserId(statusByUserId);
- }
-
- String statusByUserName = (String)attributes.get("statusByUserName");
-
- if (statusByUserName != null) {
- setStatusByUserName(statusByUserName);
- }
-
- Date statusDate = (Date)attributes.get("statusDate");
-
- if (statusDate != null) {
- setStatusDate(statusDate);
- }
- }
-
- /**
- * Returns the primary key of this song.
- *
- * @return the primary key of this song
- */
- @Override
- public long getPrimaryKey() {
- return _song.getPrimaryKey();
- }
-
- /**
- * Sets the primary key of this song.
- *
- * @param primaryKey the primary key of this song
- */
- @Override
- public void setPrimaryKey(long primaryKey) {
- _song.setPrimaryKey(primaryKey);
- }
-
- /**
- * Returns the uuid of this song.
- *
- * @return the uuid of this song
- */
- @Override
- public java.lang.String getUuid() {
- return _song.getUuid();
- }
-
- /**
- * Sets the uuid of this song.
- *
- * @param uuid the uuid of this song
- */
- @Override
- public void setUuid(java.lang.String uuid) {
- _song.setUuid(uuid);
- }
-
- /**
- * Returns the song ID of this song.
- *
- * @return the song ID of this song
- */
- @Override
- public long getSongId() {
- return _song.getSongId();
- }
-
- /**
- * Sets the song ID of this song.
- *
- * @param songId the song ID of this song
- */
- @Override
- public void setSongId(long songId) {
- _song.setSongId(songId);
- }
-
- /**
- * Returns the company ID of this song.
- *
- * @return the company ID of this song
- */
- @Override
- public long getCompanyId() {
- return _song.getCompanyId();
- }
-
- /**
- * Sets the company ID of this song.
- *
- * @param companyId the company ID of this song
- */
- @Override
- public void setCompanyId(long companyId) {
- _song.setCompanyId(companyId);
- }
-
- /**
- * Returns the group ID of this song.
- *
- * @return the group ID of this song
- */
- @Override
- public long getGroupId() {
- return _song.getGroupId();
- }
-
- /**
- * Sets the group ID of this song.
- *
- * @param groupId the group ID of this song
- */
- @Override
- public void setGroupId(long groupId) {
- _song.setGroupId(groupId);
- }
-
- /**
- * Returns the user ID of this song.
- *
- * @return the user ID of this song
- */
- @Override
- public long getUserId() {
- return _song.getUserId();
- }
-
- /**
- * Sets the user ID of this song.
- *
- * @param userId the user ID of this song
- */
- @Override
- public void setUserId(long userId) {
- _song.setUserId(userId);
- }
-
- /**
- * Returns the user uuid of this song.
- *
- * @return the user uuid of this song
- * @throws SystemException if a system exception occurred
- */
- @Override
- public java.lang.String getUserUuid()
- throws com.liferay.portal.kernel.exception.SystemException {
- return _song.getUserUuid();
- }
-
- /**
- * Sets the user uuid of this song.
- *
- * @param userUuid the user uuid of this song
- */
- @Override
- public void setUserUuid(java.lang.String userUuid) {
- _song.setUserUuid(userUuid);
- }
-
- /**
- * Returns the user name of this song.
- *
- * @return the user name of this song
- */
- @Override
- public java.lang.String getUserName() {
- return _song.getUserName();
- }
-
- /**
- * Sets the user name of this song.
- *
- * @param userName the user name of this song
- */
- @Override
- public void setUserName(java.lang.String userName) {
- _song.setUserName(userName);
- }
-
- /**
- * Returns the create date of this song.
- *
- * @return the create date of this song
- */
- @Override
- public java.util.Date getCreateDate() {
- return _song.getCreateDate();
- }
-
- /**
- * Sets the create date of this song.
- *
- * @param createDate the create date of this song
- */
- @Override
- public void setCreateDate(java.util.Date createDate) {
- _song.setCreateDate(createDate);
- }
-
- /**
- * Returns the modified date of this song.
- *
- * @return the modified date of this song
- */
- @Override
- public java.util.Date getModifiedDate() {
- return _song.getModifiedDate();
- }
-
- /**
- * Sets the modified date of this song.
- *
- * @param modifiedDate the modified date of this song
- */
- @Override
- public void setModifiedDate(java.util.Date modifiedDate) {
- _song.setModifiedDate(modifiedDate);
- }
-
- /**
- * Returns the artist ID of this song.
- *
- * @return the artist ID of this song
- */
- @Override
- public long getArtistId() {
- return _song.getArtistId();
- }
-
- /**
- * Sets the artist ID of this song.
- *
- * @param artistId the artist ID of this song
- */
- @Override
- public void setArtistId(long artistId) {
- _song.setArtistId(artistId);
- }
-
- /**
- * Returns the album ID of this song.
- *
- * @return the album ID of this song
- */
- @Override
- public long getAlbumId() {
- return _song.getAlbumId();
- }
-
- /**
- * Sets the album ID of this song.
- *
- * @param albumId the album ID of this song
- */
- @Override
- public void setAlbumId(long albumId) {
- _song.setAlbumId(albumId);
- }
-
- /**
- * Returns the name of this song.
- *
- * @return the name of this song
- */
- @Override
- public java.lang.String getName() {
- return _song.getName();
- }
-
- /**
- * Sets the name of this song.
- *
- * @param name the name of this song
- */
- @Override
- public void setName(java.lang.String name) {
- _song.setName(name);
- }
-
- /**
- * Returns the status of this song.
- *
- * @return the status of this song
- */
- @Override
- public int getStatus() {
- return _song.getStatus();
- }
-
- /**
- * Sets the status of this song.
- *
- * @param status the status of this song
- */
- @Override
- public void setStatus(int status) {
- _song.setStatus(status);
- }
-
- /**
- * Returns the status by user ID of this song.
- *
- * @return the status by user ID of this song
- */
- @Override
- public long getStatusByUserId() {
- return _song.getStatusByUserId();
- }
-
- /**
- * Sets the status by user ID of this song.
- *
- * @param statusByUserId the status by user ID of this song
- */
- @Override
- public void setStatusByUserId(long statusByUserId) {
- _song.setStatusByUserId(statusByUserId);
- }
-
- /**
- * Returns the status by user uuid of this song.
- *
- * @return the status by user uuid of this song
- * @throws SystemException if a system exception occurred
- */
- @Override
- public java.lang.String getStatusByUserUuid()
- throws com.liferay.portal.kernel.exception.SystemException {
- return _song.getStatusByUserUuid();
- }
-
- /**
- * Sets the status by user uuid of this song.
- *
- * @param statusByUserUuid the status by user uuid of this song
- */
- @Override
- public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
- _song.setStatusByUserUuid(statusByUserUuid);
- }
-
- /**
- * Returns the status by user name of this song.
- *
- * @return the status by user name of this song
- */
- @Override
- public java.lang.String getStatusByUserName() {
- return _song.getStatusByUserName();
- }
-
- /**
- * Sets the status by user name of this song.
- *
- * @param statusByUserName the status by user name of this song
- */
- @Override
- public void setStatusByUserName(java.lang.String statusByUserName) {
- _song.setStatusByUserName(statusByUserName);
- }
-
- /**
- * Returns the status date of this song.
- *
- * @return the status date of this song
- */
- @Override
- public java.util.Date getStatusDate() {
- return _song.getStatusDate();
- }
-
- /**
- * Sets the status date of this song.
- *
- * @param statusDate the status date of this song
- */
- @Override
- public void setStatusDate(java.util.Date statusDate) {
- _song.setStatusDate(statusDate);
- }
-
- /**
- * Returns the trash entry created when this song was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this song.
- *
- * @return the trash entry created when this song was moved to the Recycle Bin
- * @throws SystemException if a system exception occurred
- */
- @Override
- public com.liferay.portlet.trash.model.TrashEntry getTrashEntry()
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _song.getTrashEntry();
- }
-
- /**
- * Returns the class primary key of the trash entry for this song.
- *
- * @return the class primary key of the trash entry for this song
- */
- @Override
- public long getTrashEntryClassPK() {
- return _song.getTrashEntryClassPK();
- }
-
- /**
- * Returns the trash handler for this song.
- *
- * @return the trash handler for this song
- */
- @Override
- public com.liferay.portal.kernel.trash.TrashHandler getTrashHandler() {
- return _song.getTrashHandler();
- }
-
- /**
- * Returns true if this song is in the Recycle Bin.
- *
- * @return true if this song is in the Recycle Bin; false otherwise
- */
- @Override
- public boolean isInTrash() {
- return _song.isInTrash();
- }
-
- /**
- * Returns true if the parent of this song is in the Recycle Bin.
- *
- * @return true if the parent of this song is in the Recycle Bin; false otherwise
- * @throws SystemException if a system exception occurred
- */
- @Override
- public boolean isInTrashContainer() {
- return _song.isInTrashContainer();
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #isApproved()}
- */
- @Override
- public boolean getApproved() {
- return _song.getApproved();
- }
-
- /**
- * Returns true if this song is approved.
- *
- * @return true if this song is approved; false otherwise
- */
- @Override
- public boolean isApproved() {
- return _song.isApproved();
- }
-
- /**
- * Returns true if this song is denied.
- *
- * @return true if this song is denied; false otherwise
- */
- @Override
- public boolean isDenied() {
- return _song.isDenied();
- }
-
- /**
- * Returns true if this song is a draft.
- *
- * @return true if this song is a draft; false otherwise
- */
- @Override
- public boolean isDraft() {
- return _song.isDraft();
- }
-
- /**
- * Returns true if this song is expired.
- *
- * @return true if this song is expired; false otherwise
- */
- @Override
- public boolean isExpired() {
- return _song.isExpired();
- }
-
- /**
- * Returns true if this song is inactive.
- *
- * @return true if this song is inactive; false otherwise
- */
- @Override
- public boolean isInactive() {
- return _song.isInactive();
- }
-
- /**
- * Returns true if this song is incomplete.
- *
- * @return true if this song is incomplete; false otherwise
- */
- @Override
- public boolean isIncomplete() {
- return _song.isIncomplete();
- }
-
- /**
- * Returns true if this song is pending.
- *
- * @return true if this song is pending; false otherwise
- */
- @Override
- public boolean isPending() {
- return _song.isPending();
- }
-
- /**
- * Returns true if this song is scheduled.
- *
- * @return true if this song is scheduled; false otherwise
- */
- @Override
- public boolean isScheduled() {
- return _song.isScheduled();
- }
-
- @Override
- public boolean isNew() {
- return _song.isNew();
- }
-
- @Override
- public void setNew(boolean n) {
- _song.setNew(n);
- }
-
- @Override
- public boolean isCachedModel() {
- return _song.isCachedModel();
- }
-
- @Override
- public void setCachedModel(boolean cachedModel) {
- _song.setCachedModel(cachedModel);
- }
-
- @Override
- public boolean isEscapedModel() {
- return _song.isEscapedModel();
- }
-
- @Override
- public java.io.Serializable getPrimaryKeyObj() {
- return _song.getPrimaryKeyObj();
- }
-
- @Override
- public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
- _song.setPrimaryKeyObj(primaryKeyObj);
- }
-
- @Override
- public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
- return _song.getExpandoBridge();
- }
-
- @Override
- public void setExpandoBridgeAttributes(
- com.liferay.portal.model.BaseModel> baseModel) {
- _song.setExpandoBridgeAttributes(baseModel);
- }
-
- @Override
- public void setExpandoBridgeAttributes(
- com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
- _song.setExpandoBridgeAttributes(expandoBridge);
- }
-
- @Override
- public void setExpandoBridgeAttributes(
- com.liferay.portal.service.ServiceContext serviceContext) {
- _song.setExpandoBridgeAttributes(serviceContext);
- }
-
- @Override
- public java.lang.Object clone() {
- return new SongWrapper((Song)_song.clone());
- }
-
- @Override
- public int compareTo(org.liferay.jukebox.model.Song song) {
- return _song.compareTo(song);
- }
-
- @Override
- public int hashCode() {
- return _song.hashCode();
- }
-
- @Override
- public com.liferay.portal.model.CacheModel toCacheModel() {
- return _song.toCacheModel();
- }
-
- @Override
- public org.liferay.jukebox.model.Song toEscapedModel() {
- return new SongWrapper(_song.toEscapedModel());
- }
-
- @Override
- public org.liferay.jukebox.model.Song toUnescapedModel() {
- return new SongWrapper(_song.toUnescapedModel());
- }
-
- @Override
- public java.lang.String toString() {
- return _song.toString();
- }
-
- @Override
- public java.lang.String toXmlString() {
- return _song.toXmlString();
- }
-
- @Override
- public void persist()
- throws com.liferay.portal.kernel.exception.SystemException {
- _song.persist();
- }
-
- @Override
- public java.lang.String getImageURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _song.getImageURL(themeDisplay);
- }
-
- @Override
- public java.lang.String getLyricsURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _song.getLyricsURL(themeDisplay);
- }
-
- @Override
- public java.lang.String getSongURL(
- com.liferay.portal.theme.ThemeDisplay themeDisplay,
- java.lang.String audioContainer)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _song.getSongURL(themeDisplay, audioContainer);
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
-
- if (!(obj instanceof SongWrapper)) {
- return false;
- }
-
- SongWrapper songWrapper = (SongWrapper)obj;
-
- if (Validator.equals(_song, songWrapper._song)) {
- return true;
- }
-
- return false;
- }
-
- @Override
- public StagedModelType getStagedModelType() {
- return _song.getStagedModelType();
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
- */
- public Song getWrappedSong() {
- return _song;
- }
-
- @Override
- public Song getWrappedModel() {
- return _song;
- }
-
- @Override
- public void resetOriginalValues() {
- _song.resetOriginalValues();
- }
-
- private Song _song;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalService.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalService.java
deleted file mode 100644
index be020d2f28..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalService.java
+++ /dev/null
@@ -1,365 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.kernel.exception.PortalException;
-import com.liferay.portal.kernel.exception.SystemException;
-import com.liferay.portal.kernel.transaction.Isolation;
-import com.liferay.portal.kernel.transaction.Propagation;
-import com.liferay.portal.kernel.transaction.Transactional;
-import com.liferay.portal.service.BaseLocalService;
-import com.liferay.portal.service.InvokableLocalService;
-import com.liferay.portal.service.PersistedModelLocalService;
-
-/**
- * Provides the local service interface for Album. Methods of this
- * service will not have security checks based on the propagated JAAS
- * credentials because this service can only be accessed from within the same
- * VM.
- *
- * @author Julio Camarero
- * @see AlbumLocalServiceUtil
- * @see org.liferay.jukebox.service.base.AlbumLocalServiceBaseImpl
- * @see org.liferay.jukebox.service.impl.AlbumLocalServiceImpl
- * @generated
- */
-@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
- PortalException.class, SystemException.class})
-public interface AlbumLocalService extends BaseLocalService,
- InvokableLocalService, PersistedModelLocalService {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify or reference this interface directly. Always use {@link AlbumLocalServiceUtil} to access the album local service. Add custom service methods to {@link org.liferay.jukebox.service.impl.AlbumLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
- */
-
- /**
- * Adds the album to the database. Also notifies the appropriate model listeners.
- *
- * @param album the album
- * @return the album that was added
- * @throws SystemException if a system exception occurred
- */
- public org.liferay.jukebox.model.Album addAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Creates a new album with the primary key. Does not add the album to the database.
- *
- * @param albumId the primary key for the new album
- * @return the new album
- */
- public org.liferay.jukebox.model.Album createAlbum(long albumId);
-
- /**
- * Deletes the album with the primary key from the database. Also notifies the appropriate model listeners.
- *
- * @param albumId the primary key of the album
- * @return the album that was removed
- * @throws PortalException if a album with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- public org.liferay.jukebox.model.Album deleteAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Deletes the album from the database. Also notifies the appropriate model listeners.
- *
- * @param album the album
- * @return the album that was removed
- * @throws SystemException if a system exception occurred
- */
- public org.liferay.jukebox.model.Album deleteAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
-
- /**
- * Performs a dynamic query on the database and returns the matching rows.
- *
- * @param dynamicQuery the dynamic query
- * @return the matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Performs a dynamic query on the database and returns a range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @return the range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end) throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Performs a dynamic query on the database and returns an ordered range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @param orderByComparator the comparator to order the results by (optionally null)
- * @return the ordered range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end,
- com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @param projection the projection to apply to the query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
- com.liferay.portal.kernel.dao.orm.Projection projection)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Album fetchAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the album with the matching UUID and company.
- *
- * @param uuid the album's UUID
- * @param companyId the primary key of the company
- * @return the matching album, or null if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Album fetchAlbumByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the album matching the UUID and group.
- *
- * @param uuid the album's UUID
- * @param groupId the primary key of the group
- * @return the matching album, or null if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Album fetchAlbumByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the album with the primary key.
- *
- * @param albumId the primary key of the album
- * @return the album
- * @throws PortalException if a album with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Album getAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- @Override
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public com.liferay.portal.model.PersistedModel getPersistedModel(
- java.io.Serializable primaryKeyObj)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the album with the matching UUID and company.
- *
- * @param uuid the album's UUID
- * @param companyId the primary key of the company
- * @return the matching album
- * @throws PortalException if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Album getAlbumByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the album matching the UUID and group.
- *
- * @param uuid the album's UUID
- * @param groupId the primary key of the group
- * @return the matching album
- * @throws PortalException if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Album getAlbumByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns a range of all the albums.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param start the lower bound of the range of albums
- * @param end the upper bound of the range of albums (not inclusive)
- * @return the range of albums
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getAlbums(
- int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the number of albums.
- *
- * @return the number of albums
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public int getAlbumsCount()
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Updates the album in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
- *
- * @param album the album
- * @return the album that was updated
- * @throws SystemException if a system exception occurred
- */
- public org.liferay.jukebox.model.Album updateAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- public java.lang.String getBeanIdentifier();
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- public void setBeanIdentifier(java.lang.String beanIdentifier);
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable;
-
- public org.liferay.jukebox.model.Album addAlbum(long userId, long artistId,
- java.lang.String name, int year, java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public void addEntryResources(org.liferay.jukebox.model.Album album,
- boolean addGroupPermissions, boolean addGuestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public void addEntryResources(org.liferay.jukebox.model.Album album,
- java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public void deleteAlbums(long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getAlbums(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getAlbums(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getAlbumsByArtistId(
- long artistId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public int getAlbumsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- public org.liferay.jukebox.model.Album moveAlbumToTrash(long userId,
- long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public org.liferay.jukebox.model.Album restoreAlbumFromTrash(long userId,
- long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public org.liferay.jukebox.model.Album updateAlbum(long userId,
- long albumId, long artistId, java.lang.String name, int year,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public void updateAsset(long userId, org.liferay.jukebox.model.Album album,
- long[] assetCategoryIds, java.lang.String[] assetTagNames,
- long[] assetLinkEntryIds)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalServiceClp.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalServiceClp.java
deleted file mode 100644
index a54efad834..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalServiceClp.java
+++ /dev/null
@@ -1,1364 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.service.InvokableLocalService;
-
-/**
- * @author Julio Camarero
- * @generated
- */
-public class AlbumLocalServiceClp implements AlbumLocalService {
- public AlbumLocalServiceClp(InvokableLocalService invokableLocalService) {
- _invokableLocalService = invokableLocalService;
-
- _methodName0 = "addAlbum";
-
- _methodParameterTypes0 = new String[] { "org.liferay.jukebox.model.Album" };
-
- _methodName1 = "createAlbum";
-
- _methodParameterTypes1 = new String[] { "long" };
-
- _methodName2 = "deleteAlbum";
-
- _methodParameterTypes2 = new String[] { "long" };
-
- _methodName3 = "deleteAlbum";
-
- _methodParameterTypes3 = new String[] { "org.liferay.jukebox.model.Album" };
-
- _methodName4 = "dynamicQuery";
-
- _methodParameterTypes4 = new String[] { };
-
- _methodName5 = "dynamicQuery";
-
- _methodParameterTypes5 = new String[] {
- "com.liferay.portal.kernel.dao.orm.DynamicQuery"
- };
-
- _methodName6 = "dynamicQuery";
-
- _methodParameterTypes6 = new String[] {
- "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int"
- };
-
- _methodName7 = "dynamicQuery";
-
- _methodParameterTypes7 = new String[] {
- "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int",
- "com.liferay.portal.kernel.util.OrderByComparator"
- };
-
- _methodName8 = "dynamicQueryCount";
-
- _methodParameterTypes8 = new String[] {
- "com.liferay.portal.kernel.dao.orm.DynamicQuery"
- };
-
- _methodName9 = "dynamicQueryCount";
-
- _methodParameterTypes9 = new String[] {
- "com.liferay.portal.kernel.dao.orm.DynamicQuery",
- "com.liferay.portal.kernel.dao.orm.Projection"
- };
-
- _methodName10 = "fetchAlbum";
-
- _methodParameterTypes10 = new String[] { "long" };
-
- _methodName11 = "fetchAlbumByUuidAndCompanyId";
-
- _methodParameterTypes11 = new String[] { "java.lang.String", "long" };
-
- _methodName12 = "fetchAlbumByUuidAndGroupId";
-
- _methodParameterTypes12 = new String[] { "java.lang.String", "long" };
-
- _methodName13 = "getAlbum";
-
- _methodParameterTypes13 = new String[] { "long" };
-
- _methodName14 = "getPersistedModel";
-
- _methodParameterTypes14 = new String[] { "java.io.Serializable" };
-
- _methodName15 = "getAlbumByUuidAndCompanyId";
-
- _methodParameterTypes15 = new String[] { "java.lang.String", "long" };
-
- _methodName16 = "getAlbumByUuidAndGroupId";
-
- _methodParameterTypes16 = new String[] { "java.lang.String", "long" };
-
- _methodName17 = "getAlbums";
-
- _methodParameterTypes17 = new String[] { "int", "int" };
-
- _methodName18 = "getAlbumsCount";
-
- _methodParameterTypes18 = new String[] { };
-
- _methodName19 = "updateAlbum";
-
- _methodParameterTypes19 = new String[] { "org.liferay.jukebox.model.Album" };
-
- _methodName20 = "getBeanIdentifier";
-
- _methodParameterTypes20 = new String[] { };
-
- _methodName21 = "setBeanIdentifier";
-
- _methodParameterTypes21 = new String[] { "java.lang.String" };
-
- _methodName23 = "addAlbum";
-
- _methodParameterTypes23 = new String[] {
- "long", "long", "java.lang.String", "int", "java.io.InputStream",
- "com.liferay.portal.service.ServiceContext"
- };
-
- _methodName24 = "addEntryResources";
-
- _methodParameterTypes24 = new String[] {
- "org.liferay.jukebox.model.Album", "boolean", "boolean"
- };
-
- _methodName25 = "addEntryResources";
-
- _methodParameterTypes25 = new String[] {
- "org.liferay.jukebox.model.Album", "java.lang.String[][]",
- "java.lang.String[][]"
- };
-
- _methodName26 = "deleteAlbums";
-
- _methodParameterTypes26 = new String[] { "long" };
-
- _methodName27 = "getAlbums";
-
- _methodParameterTypes27 = new String[] { "long" };
-
- _methodName28 = "getAlbums";
-
- _methodParameterTypes28 = new String[] { "long", "int", "int" };
-
- _methodName29 = "getAlbumsByArtistId";
-
- _methodParameterTypes29 = new String[] { "long" };
-
- _methodName30 = "getAlbumsCount";
-
- _methodParameterTypes30 = new String[] { "long" };
-
- _methodName31 = "moveAlbumToTrash";
-
- _methodParameterTypes31 = new String[] { "long", "long" };
-
- _methodName32 = "restoreAlbumFromTrash";
-
- _methodParameterTypes32 = new String[] { "long", "long" };
-
- _methodName33 = "updateAlbum";
-
- _methodParameterTypes33 = new String[] {
- "long", "long", "long", "java.lang.String", "int",
- "java.io.InputStream",
- "com.liferay.portal.service.ServiceContext"
- };
-
- _methodName34 = "updateAsset";
-
- _methodParameterTypes34 = new String[] {
- "long", "org.liferay.jukebox.model.Album", "long[][]",
- "java.lang.String[][]", "long[][]"
- };
- }
-
- @Override
- public org.liferay.jukebox.model.Album addAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName0,
- _methodParameterTypes0,
- new Object[] { ClpSerializer.translateInput(album) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album createAlbum(long albumId) {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName1,
- _methodParameterTypes1, new Object[] { albumId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album deleteAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName2,
- _methodParameterTypes2, new Object[] { albumId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album deleteAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName3,
- _methodParameterTypes3,
- new Object[] { ClpSerializer.translateInput(album) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName4,
- _methodParameterTypes4, new Object[] { });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName5,
- _methodParameterTypes5,
- new Object[] { ClpSerializer.translateInput(dynamicQuery) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end) throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName6,
- _methodParameterTypes6,
- new Object[] {
- ClpSerializer.translateInput(dynamicQuery),
-
- start,
-
- end
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end,
- com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName7,
- _methodParameterTypes7,
- new Object[] {
- ClpSerializer.translateInput(dynamicQuery),
-
- start,
-
- end,
-
- ClpSerializer.translateInput(orderByComparator)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName8,
- _methodParameterTypes8,
- new Object[] { ClpSerializer.translateInput(dynamicQuery) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Long)returnObj).longValue();
- }
-
- @Override
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
- com.liferay.portal.kernel.dao.orm.Projection projection)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName9,
- _methodParameterTypes9,
- new Object[] {
- ClpSerializer.translateInput(dynamicQuery),
-
- ClpSerializer.translateInput(projection)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Long)returnObj).longValue();
- }
-
- @Override
- public org.liferay.jukebox.model.Album fetchAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName10,
- _methodParameterTypes10, new Object[] { albumId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album fetchAlbumByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName11,
- _methodParameterTypes11,
- new Object[] { ClpSerializer.translateInput(uuid), companyId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album fetchAlbumByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName12,
- _methodParameterTypes12,
- new Object[] { ClpSerializer.translateInput(uuid), groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album getAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName13,
- _methodParameterTypes13, new Object[] { albumId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public com.liferay.portal.model.PersistedModel getPersistedModel(
- java.io.Serializable primaryKeyObj)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName14,
- _methodParameterTypes14,
- new Object[] { ClpSerializer.translateInput(primaryKeyObj) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album getAlbumByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName15,
- _methodParameterTypes15,
- new Object[] { ClpSerializer.translateInput(uuid), companyId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album getAlbumByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName16,
- _methodParameterTypes16,
- new Object[] { ClpSerializer.translateInput(uuid), groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getAlbums(
- int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName17,
- _methodParameterTypes17, new Object[] { start, end });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public int getAlbumsCount()
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName18,
- _methodParameterTypes18, new Object[] { });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Integer)returnObj).intValue();
- }
-
- @Override
- public org.liferay.jukebox.model.Album updateAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName19,
- _methodParameterTypes19,
- new Object[] { ClpSerializer.translateInput(album) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.lang.String getBeanIdentifier() {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName20,
- _methodParameterTypes20, new Object[] { });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.lang.String)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public void setBeanIdentifier(java.lang.String beanIdentifier) {
- try {
- _invokableLocalService.invokeMethod(_methodName21,
- _methodParameterTypes21,
- new Object[] { ClpSerializer.translateInput(beanIdentifier) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- throw new UnsupportedOperationException();
- }
-
- @Override
- public org.liferay.jukebox.model.Album addAlbum(long userId, long artistId,
- java.lang.String name, int year, java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName23,
- _methodParameterTypes23,
- new Object[] {
- userId,
-
- artistId,
-
- ClpSerializer.translateInput(name),
-
- year,
-
- ClpSerializer.translateInput(inputStream),
-
- ClpSerializer.translateInput(serviceContext)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public void addEntryResources(org.liferay.jukebox.model.Album album,
- boolean addGroupPermissions, boolean addGuestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- try {
- _invokableLocalService.invokeMethod(_methodName24,
- _methodParameterTypes24,
- new Object[] {
- ClpSerializer.translateInput(album),
-
- addGroupPermissions,
-
- addGuestPermissions
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- @Override
- public void addEntryResources(org.liferay.jukebox.model.Album album,
- java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- try {
- _invokableLocalService.invokeMethod(_methodName25,
- _methodParameterTypes25,
- new Object[] {
- ClpSerializer.translateInput(album),
-
- ClpSerializer.translateInput(groupPermissions),
-
- ClpSerializer.translateInput(guestPermissions)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- @Override
- public void deleteAlbums(long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- try {
- _invokableLocalService.invokeMethod(_methodName26,
- _methodParameterTypes26, new Object[] { groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- @Override
- public java.util.List getAlbums(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName27,
- _methodParameterTypes27, new Object[] { groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getAlbums(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName28,
- _methodParameterTypes28,
- new Object[] { groupId, start, end });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getAlbumsByArtistId(
- long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName29,
- _methodParameterTypes29, new Object[] { artistId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public int getAlbumsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName30,
- _methodParameterTypes30, new Object[] { groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Integer)returnObj).intValue();
- }
-
- @Override
- public org.liferay.jukebox.model.Album moveAlbumToTrash(long userId,
- long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName31,
- _methodParameterTypes31, new Object[] { userId, albumId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album restoreAlbumFromTrash(long userId,
- long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName32,
- _methodParameterTypes32, new Object[] { userId, albumId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album updateAlbum(long userId,
- long albumId, long artistId, java.lang.String name, int year,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName33,
- _methodParameterTypes33,
- new Object[] {
- userId,
-
- albumId,
-
- artistId,
-
- ClpSerializer.translateInput(name),
-
- year,
-
- ClpSerializer.translateInput(inputStream),
-
- ClpSerializer.translateInput(serviceContext)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public void updateAsset(long userId, org.liferay.jukebox.model.Album album,
- long[] assetCategoryIds, java.lang.String[] assetTagNames,
- long[] assetLinkEntryIds)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- try {
- _invokableLocalService.invokeMethod(_methodName34,
- _methodParameterTypes34,
- new Object[] {
- userId,
-
- ClpSerializer.translateInput(album),
-
- ClpSerializer.translateInput(assetCategoryIds),
-
- ClpSerializer.translateInput(assetTagNames),
-
- ClpSerializer.translateInput(assetLinkEntryIds)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- private InvokableLocalService _invokableLocalService;
- private String _methodName0;
- private String[] _methodParameterTypes0;
- private String _methodName1;
- private String[] _methodParameterTypes1;
- private String _methodName2;
- private String[] _methodParameterTypes2;
- private String _methodName3;
- private String[] _methodParameterTypes3;
- private String _methodName4;
- private String[] _methodParameterTypes4;
- private String _methodName5;
- private String[] _methodParameterTypes5;
- private String _methodName6;
- private String[] _methodParameterTypes6;
- private String _methodName7;
- private String[] _methodParameterTypes7;
- private String _methodName8;
- private String[] _methodParameterTypes8;
- private String _methodName9;
- private String[] _methodParameterTypes9;
- private String _methodName10;
- private String[] _methodParameterTypes10;
- private String _methodName11;
- private String[] _methodParameterTypes11;
- private String _methodName12;
- private String[] _methodParameterTypes12;
- private String _methodName13;
- private String[] _methodParameterTypes13;
- private String _methodName14;
- private String[] _methodParameterTypes14;
- private String _methodName15;
- private String[] _methodParameterTypes15;
- private String _methodName16;
- private String[] _methodParameterTypes16;
- private String _methodName17;
- private String[] _methodParameterTypes17;
- private String _methodName18;
- private String[] _methodParameterTypes18;
- private String _methodName19;
- private String[] _methodParameterTypes19;
- private String _methodName20;
- private String[] _methodParameterTypes20;
- private String _methodName21;
- private String[] _methodParameterTypes21;
- private String _methodName23;
- private String[] _methodParameterTypes23;
- private String _methodName24;
- private String[] _methodParameterTypes24;
- private String _methodName25;
- private String[] _methodParameterTypes25;
- private String _methodName26;
- private String[] _methodParameterTypes26;
- private String _methodName27;
- private String[] _methodParameterTypes27;
- private String _methodName28;
- private String[] _methodParameterTypes28;
- private String _methodName29;
- private String[] _methodParameterTypes29;
- private String _methodName30;
- private String[] _methodParameterTypes30;
- private String _methodName31;
- private String[] _methodParameterTypes31;
- private String _methodName32;
- private String[] _methodParameterTypes32;
- private String _methodName33;
- private String[] _methodParameterTypes33;
- private String _methodName34;
- private String[] _methodParameterTypes34;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalServiceUtil.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalServiceUtil.java
deleted file mode 100644
index da5e06c0e4..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalServiceUtil.java
+++ /dev/null
@@ -1,456 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
-import com.liferay.portal.kernel.util.ReferenceRegistry;
-import com.liferay.portal.service.InvokableLocalService;
-
-/**
- * Provides the local service utility for Album. This utility wraps
- * {@link org.liferay.jukebox.service.impl.AlbumLocalServiceImpl} and is the
- * primary access point for service operations in application layer code running
- * on the local server. Methods of this service will not have security checks
- * based on the propagated JAAS credentials because this service can only be
- * accessed from within the same VM.
- *
- * @author Julio Camarero
- * @see AlbumLocalService
- * @see org.liferay.jukebox.service.base.AlbumLocalServiceBaseImpl
- * @see org.liferay.jukebox.service.impl.AlbumLocalServiceImpl
- * @generated
- */
-public class AlbumLocalServiceUtil {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify this class directly. Add custom service methods to {@link org.liferay.jukebox.service.impl.AlbumLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
- */
-
- /**
- * Adds the album to the database. Also notifies the appropriate model listeners.
- *
- * @param album the album
- * @return the album that was added
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Album addAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().addAlbum(album);
- }
-
- /**
- * Creates a new album with the primary key. Does not add the album to the database.
- *
- * @param albumId the primary key for the new album
- * @return the new album
- */
- public static org.liferay.jukebox.model.Album createAlbum(long albumId) {
- return getService().createAlbum(albumId);
- }
-
- /**
- * Deletes the album with the primary key from the database. Also notifies the appropriate model listeners.
- *
- * @param albumId the primary key of the album
- * @return the album that was removed
- * @throws PortalException if a album with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Album deleteAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().deleteAlbum(albumId);
- }
-
- /**
- * Deletes the album from the database. Also notifies the appropriate model listeners.
- *
- * @param album the album
- * @return the album that was removed
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Album deleteAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().deleteAlbum(album);
- }
-
- public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
- return getService().dynamicQuery();
- }
-
- /**
- * Performs a dynamic query on the database and returns the matching rows.
- *
- * @param dynamicQuery the dynamic query
- * @return the matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public static java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().dynamicQuery(dynamicQuery);
- }
-
- /**
- * Performs a dynamic query on the database and returns a range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @return the range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public static java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end) throws com.liferay.portal.kernel.exception.SystemException {
- return getService().dynamicQuery(dynamicQuery, start, end);
- }
-
- /**
- * Performs a dynamic query on the database and returns an ordered range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @param orderByComparator the comparator to order the results by (optionally null)
- * @return the ordered range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public static java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end,
- com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService()
- .dynamicQuery(dynamicQuery, start, end, orderByComparator);
- }
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- public static long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().dynamicQueryCount(dynamicQuery);
- }
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @param projection the projection to apply to the query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- public static long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
- com.liferay.portal.kernel.dao.orm.Projection projection)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().dynamicQueryCount(dynamicQuery, projection);
- }
-
- public static org.liferay.jukebox.model.Album fetchAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().fetchAlbum(albumId);
- }
-
- /**
- * Returns the album with the matching UUID and company.
- *
- * @param uuid the album's UUID
- * @param companyId the primary key of the company
- * @return the matching album, or null if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Album fetchAlbumByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().fetchAlbumByUuidAndCompanyId(uuid, companyId);
- }
-
- /**
- * Returns the album matching the UUID and group.
- *
- * @param uuid the album's UUID
- * @param groupId the primary key of the group
- * @return the matching album, or null if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Album fetchAlbumByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().fetchAlbumByUuidAndGroupId(uuid, groupId);
- }
-
- /**
- * Returns the album with the primary key.
- *
- * @param albumId the primary key of the album
- * @return the album
- * @throws PortalException if a album with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Album getAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbum(albumId);
- }
-
- public static com.liferay.portal.model.PersistedModel getPersistedModel(
- java.io.Serializable primaryKeyObj)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().getPersistedModel(primaryKeyObj);
- }
-
- /**
- * Returns the album with the matching UUID and company.
- *
- * @param uuid the album's UUID
- * @param companyId the primary key of the company
- * @return the matching album
- * @throws PortalException if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Album getAlbumByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbumByUuidAndCompanyId(uuid, companyId);
- }
-
- /**
- * Returns the album matching the UUID and group.
- *
- * @param uuid the album's UUID
- * @param groupId the primary key of the group
- * @return the matching album
- * @throws PortalException if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Album getAlbumByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbumByUuidAndGroupId(uuid, groupId);
- }
-
- /**
- * Returns a range of all the albums.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param start the lower bound of the range of albums
- * @param end the upper bound of the range of albums (not inclusive)
- * @return the range of albums
- * @throws SystemException if a system exception occurred
- */
- public static java.util.List getAlbums(
- int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbums(start, end);
- }
-
- /**
- * Returns the number of albums.
- *
- * @return the number of albums
- * @throws SystemException if a system exception occurred
- */
- public static int getAlbumsCount()
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbumsCount();
- }
-
- /**
- * Updates the album in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
- *
- * @param album the album
- * @return the album that was updated
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Album updateAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().updateAlbum(album);
- }
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- public static java.lang.String getBeanIdentifier() {
- return getService().getBeanIdentifier();
- }
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- public static void setBeanIdentifier(java.lang.String beanIdentifier) {
- getService().setBeanIdentifier(beanIdentifier);
- }
-
- public static java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- return getService().invokeMethod(name, parameterTypes, arguments);
- }
-
- public static org.liferay.jukebox.model.Album addAlbum(long userId,
- long artistId, java.lang.String name, int year,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService()
- .addAlbum(userId, artistId, name, year, inputStream,
- serviceContext);
- }
-
- public static void addEntryResources(
- org.liferay.jukebox.model.Album album, boolean addGroupPermissions,
- boolean addGuestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- getService()
- .addEntryResources(album, addGroupPermissions, addGuestPermissions);
- }
-
- public static void addEntryResources(
- org.liferay.jukebox.model.Album album,
- java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- getService().addEntryResources(album, groupPermissions, guestPermissions);
- }
-
- public static void deleteAlbums(long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- getService().deleteAlbums(groupId);
- }
-
- public static java.util.List getAlbums(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbums(groupId);
- }
-
- public static java.util.List getAlbums(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbums(groupId, start, end);
- }
-
- public static java.util.List getAlbumsByArtistId(
- long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbumsByArtistId(artistId);
- }
-
- public static int getAlbumsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbumsCount(groupId);
- }
-
- public static org.liferay.jukebox.model.Album moveAlbumToTrash(
- long userId, long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().moveAlbumToTrash(userId, albumId);
- }
-
- public static org.liferay.jukebox.model.Album restoreAlbumFromTrash(
- long userId, long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().restoreAlbumFromTrash(userId, albumId);
- }
-
- public static org.liferay.jukebox.model.Album updateAlbum(long userId,
- long albumId, long artistId, java.lang.String name, int year,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService()
- .updateAlbum(userId, albumId, artistId, name, year,
- inputStream, serviceContext);
- }
-
- public static void updateAsset(long userId,
- org.liferay.jukebox.model.Album album, long[] assetCategoryIds,
- java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- getService()
- .updateAsset(userId, album, assetCategoryIds, assetTagNames,
- assetLinkEntryIds);
- }
-
- public static void clearService() {
- _service = null;
- }
-
- public static AlbumLocalService getService() {
- if (_service == null) {
- InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
- AlbumLocalService.class.getName());
-
- if (invokableLocalService instanceof AlbumLocalService) {
- _service = (AlbumLocalService)invokableLocalService;
- }
- else {
- _service = new AlbumLocalServiceClp(invokableLocalService);
- }
-
- ReferenceRegistry.registerReference(AlbumLocalServiceUtil.class,
- "_service");
- }
-
- return _service;
- }
-
- /**
- * @deprecated As of 6.2.0
- */
- public void setService(AlbumLocalService service) {
- }
-
- private static AlbumLocalService _service;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalServiceWrapper.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalServiceWrapper.java
deleted file mode 100644
index 9a71e0583e..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumLocalServiceWrapper.java
+++ /dev/null
@@ -1,471 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.service.ServiceWrapper;
-
-/**
- * Provides a wrapper for {@link AlbumLocalService}.
- *
- * @author Julio Camarero
- * @see AlbumLocalService
- * @generated
- */
-public class AlbumLocalServiceWrapper implements AlbumLocalService,
- ServiceWrapper {
- public AlbumLocalServiceWrapper(AlbumLocalService albumLocalService) {
- _albumLocalService = albumLocalService;
- }
-
- /**
- * Adds the album to the database. Also notifies the appropriate model listeners.
- *
- * @param album the album
- * @return the album that was added
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Album addAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.addAlbum(album);
- }
-
- /**
- * Creates a new album with the primary key. Does not add the album to the database.
- *
- * @param albumId the primary key for the new album
- * @return the new album
- */
- @Override
- public org.liferay.jukebox.model.Album createAlbum(long albumId) {
- return _albumLocalService.createAlbum(albumId);
- }
-
- /**
- * Deletes the album with the primary key from the database. Also notifies the appropriate model listeners.
- *
- * @param albumId the primary key of the album
- * @return the album that was removed
- * @throws PortalException if a album with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Album deleteAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.deleteAlbum(albumId);
- }
-
- /**
- * Deletes the album from the database. Also notifies the appropriate model listeners.
- *
- * @param album the album
- * @return the album that was removed
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Album deleteAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.deleteAlbum(album);
- }
-
- @Override
- public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
- return _albumLocalService.dynamicQuery();
- }
-
- /**
- * Performs a dynamic query on the database and returns the matching rows.
- *
- * @param dynamicQuery the dynamic query
- * @return the matching rows
- * @throws SystemException if a system exception occurred
- */
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.dynamicQuery(dynamicQuery);
- }
-
- /**
- * Performs a dynamic query on the database and returns a range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @return the range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end) throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.dynamicQuery(dynamicQuery, start, end);
- }
-
- /**
- * Performs a dynamic query on the database and returns an ordered range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @param orderByComparator the comparator to order the results by (optionally null)
- * @return the ordered range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end,
- com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.dynamicQuery(dynamicQuery, start, end,
- orderByComparator);
- }
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- @Override
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.dynamicQueryCount(dynamicQuery);
- }
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @param projection the projection to apply to the query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- @Override
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
- com.liferay.portal.kernel.dao.orm.Projection projection)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.dynamicQueryCount(dynamicQuery, projection);
- }
-
- @Override
- public org.liferay.jukebox.model.Album fetchAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.fetchAlbum(albumId);
- }
-
- /**
- * Returns the album with the matching UUID and company.
- *
- * @param uuid the album's UUID
- * @param companyId the primary key of the company
- * @return the matching album, or null if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Album fetchAlbumByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.fetchAlbumByUuidAndCompanyId(uuid, companyId);
- }
-
- /**
- * Returns the album matching the UUID and group.
- *
- * @param uuid the album's UUID
- * @param groupId the primary key of the group
- * @return the matching album, or null if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Album fetchAlbumByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.fetchAlbumByUuidAndGroupId(uuid, groupId);
- }
-
- /**
- * Returns the album with the primary key.
- *
- * @param albumId the primary key of the album
- * @return the album
- * @throws PortalException if a album with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Album getAlbum(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.getAlbum(albumId);
- }
-
- @Override
- public com.liferay.portal.model.PersistedModel getPersistedModel(
- java.io.Serializable primaryKeyObj)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.getPersistedModel(primaryKeyObj);
- }
-
- /**
- * Returns the album with the matching UUID and company.
- *
- * @param uuid the album's UUID
- * @param companyId the primary key of the company
- * @return the matching album
- * @throws PortalException if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Album getAlbumByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.getAlbumByUuidAndCompanyId(uuid, companyId);
- }
-
- /**
- * Returns the album matching the UUID and group.
- *
- * @param uuid the album's UUID
- * @param groupId the primary key of the group
- * @return the matching album
- * @throws PortalException if a matching album could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Album getAlbumByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.getAlbumByUuidAndGroupId(uuid, groupId);
- }
-
- /**
- * Returns a range of all the albums.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.AlbumModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param start the lower bound of the range of albums
- * @param end the upper bound of the range of albums (not inclusive)
- * @return the range of albums
- * @throws SystemException if a system exception occurred
- */
- @Override
- public java.util.List getAlbums(
- int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.getAlbums(start, end);
- }
-
- /**
- * Returns the number of albums.
- *
- * @return the number of albums
- * @throws SystemException if a system exception occurred
- */
- @Override
- public int getAlbumsCount()
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.getAlbumsCount();
- }
-
- /**
- * Updates the album in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
- *
- * @param album the album
- * @return the album that was updated
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Album updateAlbum(
- org.liferay.jukebox.model.Album album)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.updateAlbum(album);
- }
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- @Override
- public java.lang.String getBeanIdentifier() {
- return _albumLocalService.getBeanIdentifier();
- }
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- @Override
- public void setBeanIdentifier(java.lang.String beanIdentifier) {
- _albumLocalService.setBeanIdentifier(beanIdentifier);
- }
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- return _albumLocalService.invokeMethod(name, parameterTypes, arguments);
- }
-
- @Override
- public org.liferay.jukebox.model.Album addAlbum(long userId, long artistId,
- java.lang.String name, int year, java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.addAlbum(userId, artistId, name, year,
- inputStream, serviceContext);
- }
-
- @Override
- public void addEntryResources(org.liferay.jukebox.model.Album album,
- boolean addGroupPermissions, boolean addGuestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- _albumLocalService.addEntryResources(album, addGroupPermissions,
- addGuestPermissions);
- }
-
- @Override
- public void addEntryResources(org.liferay.jukebox.model.Album album,
- java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- _albumLocalService.addEntryResources(album, groupPermissions,
- guestPermissions);
- }
-
- @Override
- public void deleteAlbums(long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- _albumLocalService.deleteAlbums(groupId);
- }
-
- @Override
- public java.util.List getAlbums(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.getAlbums(groupId);
- }
-
- @Override
- public java.util.List getAlbums(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.getAlbums(groupId, start, end);
- }
-
- @Override
- public java.util.List getAlbumsByArtistId(
- long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.getAlbumsByArtistId(artistId);
- }
-
- @Override
- public int getAlbumsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.getAlbumsCount(groupId);
- }
-
- @Override
- public org.liferay.jukebox.model.Album moveAlbumToTrash(long userId,
- long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.moveAlbumToTrash(userId, albumId);
- }
-
- @Override
- public org.liferay.jukebox.model.Album restoreAlbumFromTrash(long userId,
- long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.restoreAlbumFromTrash(userId, albumId);
- }
-
- @Override
- public org.liferay.jukebox.model.Album updateAlbum(long userId,
- long albumId, long artistId, java.lang.String name, int year,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumLocalService.updateAlbum(userId, albumId, artistId, name,
- year, inputStream, serviceContext);
- }
-
- @Override
- public void updateAsset(long userId, org.liferay.jukebox.model.Album album,
- long[] assetCategoryIds, java.lang.String[] assetTagNames,
- long[] assetLinkEntryIds)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- _albumLocalService.updateAsset(userId, album, assetCategoryIds,
- assetTagNames, assetLinkEntryIds);
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
- */
- public AlbumLocalService getWrappedAlbumLocalService() {
- return _albumLocalService;
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
- */
- public void setWrappedAlbumLocalService(AlbumLocalService albumLocalService) {
- _albumLocalService = albumLocalService;
- }
-
- @Override
- public AlbumLocalService getWrappedService() {
- return _albumLocalService;
- }
-
- @Override
- public void setWrappedService(AlbumLocalService albumLocalService) {
- _albumLocalService = albumLocalService;
- }
-
- private AlbumLocalService _albumLocalService;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumService.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumService.java
deleted file mode 100644
index 2529b222b9..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumService.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.kernel.exception.PortalException;
-import com.liferay.portal.kernel.exception.SystemException;
-import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
-import com.liferay.portal.kernel.transaction.Isolation;
-import com.liferay.portal.kernel.transaction.Propagation;
-import com.liferay.portal.kernel.transaction.Transactional;
-import com.liferay.portal.security.ac.AccessControlled;
-import com.liferay.portal.service.BaseService;
-import com.liferay.portal.service.InvokableService;
-
-/**
- * Provides the remote service interface for Album. Methods of this
- * service are expected to have security checks based on the propagated JAAS
- * credentials because this service can be accessed remotely.
- *
- * @author Julio Camarero
- * @see AlbumServiceUtil
- * @see org.liferay.jukebox.service.base.AlbumServiceBaseImpl
- * @see org.liferay.jukebox.service.impl.AlbumServiceImpl
- * @generated
- */
-@AccessControlled
-@JSONWebService
-@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
- PortalException.class, SystemException.class})
-public interface AlbumService extends BaseService, InvokableService {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify or reference this interface directly. Always use {@link AlbumServiceUtil} to access the album remote service. Add custom service methods to {@link org.liferay.jukebox.service.impl.AlbumServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
- */
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- public java.lang.String getBeanIdentifier();
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- public void setBeanIdentifier(java.lang.String beanIdentifier);
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable;
-
- public org.liferay.jukebox.model.Album addAlbum(long artistId,
- java.lang.String name, int year, java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public org.liferay.jukebox.model.Album deleteAlbum(long albumId,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getAlbums(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getAlbums(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getAlbums(
- long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getAlbumsByArtistId(
- long groupId, long artistId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public int getAlbumsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public int getAlbumsCount(long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public int getAlbumsCountByArtistId(long groupId, long artistId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- public org.liferay.jukebox.model.Album moveAlbumToTrash(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public org.liferay.jukebox.model.Album restoreAlbumFromTrash(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public org.liferay.jukebox.model.Album updateAlbum(long albumId,
- long artistId, java.lang.String name, int year,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumServiceClp.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumServiceClp.java
deleted file mode 100644
index 2dce2b2c70..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumServiceClp.java
+++ /dev/null
@@ -1,575 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.service.InvokableService;
-
-/**
- * @author Julio Camarero
- * @generated
- */
-public class AlbumServiceClp implements AlbumService {
- public AlbumServiceClp(InvokableService invokableService) {
- _invokableService = invokableService;
-
- _methodName0 = "getBeanIdentifier";
-
- _methodParameterTypes0 = new String[] { };
-
- _methodName1 = "setBeanIdentifier";
-
- _methodParameterTypes1 = new String[] { "java.lang.String" };
-
- _methodName3 = "addAlbum";
-
- _methodParameterTypes3 = new String[] {
- "long", "java.lang.String", "int", "java.io.InputStream",
- "com.liferay.portal.service.ServiceContext"
- };
-
- _methodName4 = "deleteAlbum";
-
- _methodParameterTypes4 = new String[] {
- "long", "com.liferay.portal.service.ServiceContext"
- };
-
- _methodName5 = "getAlbums";
-
- _methodParameterTypes5 = new String[] { "long" };
-
- _methodName6 = "getAlbums";
-
- _methodParameterTypes6 = new String[] { "long", "int", "int" };
-
- _methodName7 = "getAlbums";
-
- _methodParameterTypes7 = new String[] { "long", "java.lang.String" };
-
- _methodName8 = "getAlbumsByArtistId";
-
- _methodParameterTypes8 = new String[] { "long", "long" };
-
- _methodName9 = "getAlbumsCount";
-
- _methodParameterTypes9 = new String[] { "long" };
-
- _methodName10 = "getAlbumsCount";
-
- _methodParameterTypes10 = new String[] { "long", "java.lang.String" };
-
- _methodName11 = "getAlbumsCountByArtistId";
-
- _methodParameterTypes11 = new String[] { "long", "long" };
-
- _methodName12 = "moveAlbumToTrash";
-
- _methodParameterTypes12 = new String[] { "long" };
-
- _methodName13 = "restoreAlbumFromTrash";
-
- _methodParameterTypes13 = new String[] { "long" };
-
- _methodName14 = "updateAlbum";
-
- _methodParameterTypes14 = new String[] {
- "long", "long", "java.lang.String", "int", "java.io.InputStream",
- "com.liferay.portal.service.ServiceContext"
- };
- }
-
- @Override
- public java.lang.String getBeanIdentifier() {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName0,
- _methodParameterTypes0, new Object[] { });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.lang.String)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public void setBeanIdentifier(java.lang.String beanIdentifier) {
- try {
- _invokableService.invokeMethod(_methodName1,
- _methodParameterTypes1,
- new Object[] { ClpSerializer.translateInput(beanIdentifier) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- throw new UnsupportedOperationException();
- }
-
- @Override
- public org.liferay.jukebox.model.Album addAlbum(long artistId,
- java.lang.String name, int year, java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName3,
- _methodParameterTypes3,
- new Object[] {
- artistId,
-
- ClpSerializer.translateInput(name),
-
- year,
-
- ClpSerializer.translateInput(inputStream),
-
- ClpSerializer.translateInput(serviceContext)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album deleteAlbum(long albumId,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName4,
- _methodParameterTypes4,
- new Object[] {
- albumId,
-
- ClpSerializer.translateInput(serviceContext)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getAlbums(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName5,
- _methodParameterTypes5, new Object[] { groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getAlbums(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName6,
- _methodParameterTypes6, new Object[] { groupId, start, end });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getAlbums(
- long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName7,
- _methodParameterTypes7,
- new Object[] { groupId, ClpSerializer.translateInput(
- keywords) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getAlbumsByArtistId(
- long groupId, long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName8,
- _methodParameterTypes8, new Object[] { groupId, artistId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public int getAlbumsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName9,
- _methodParameterTypes9, new Object[] { groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Integer)returnObj).intValue();
- }
-
- @Override
- public int getAlbumsCount(long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName10,
- _methodParameterTypes10,
- new Object[] { groupId, ClpSerializer.translateInput(
- keywords) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Integer)returnObj).intValue();
- }
-
- @Override
- public int getAlbumsCountByArtistId(long groupId, long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName11,
- _methodParameterTypes11, new Object[] { groupId, artistId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Integer)returnObj).intValue();
- }
-
- @Override
- public org.liferay.jukebox.model.Album moveAlbumToTrash(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName12,
- _methodParameterTypes12, new Object[] { albumId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album restoreAlbumFromTrash(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName13,
- _methodParameterTypes13, new Object[] { albumId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Album updateAlbum(long albumId,
- long artistId, java.lang.String name, int year,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName14,
- _methodParameterTypes14,
- new Object[] {
- albumId,
-
- artistId,
-
- ClpSerializer.translateInput(name),
-
- year,
-
- ClpSerializer.translateInput(inputStream),
-
- ClpSerializer.translateInput(serviceContext)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Album)ClpSerializer.translateOutput(returnObj);
- }
-
- private InvokableService _invokableService;
- private String _methodName0;
- private String[] _methodParameterTypes0;
- private String _methodName1;
- private String[] _methodParameterTypes1;
- private String _methodName3;
- private String[] _methodParameterTypes3;
- private String _methodName4;
- private String[] _methodParameterTypes4;
- private String _methodName5;
- private String[] _methodParameterTypes5;
- private String _methodName6;
- private String[] _methodParameterTypes6;
- private String _methodName7;
- private String[] _methodParameterTypes7;
- private String _methodName8;
- private String[] _methodParameterTypes8;
- private String _methodName9;
- private String[] _methodParameterTypes9;
- private String _methodName10;
- private String[] _methodParameterTypes10;
- private String _methodName11;
- private String[] _methodParameterTypes11;
- private String _methodName12;
- private String[] _methodParameterTypes12;
- private String _methodName13;
- private String[] _methodParameterTypes13;
- private String _methodName14;
- private String[] _methodParameterTypes14;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumServiceUtil.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumServiceUtil.java
deleted file mode 100644
index 2e944b99f7..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumServiceUtil.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
-import com.liferay.portal.kernel.util.ReferenceRegistry;
-import com.liferay.portal.service.InvokableService;
-
-/**
- * Provides the remote service utility for Album. This utility wraps
- * {@link org.liferay.jukebox.service.impl.AlbumServiceImpl} and is the
- * primary access point for service operations in application layer code running
- * on a remote server. Methods of this service are expected to have security
- * checks based on the propagated JAAS credentials because this service can be
- * accessed remotely.
- *
- * @author Julio Camarero
- * @see AlbumService
- * @see org.liferay.jukebox.service.base.AlbumServiceBaseImpl
- * @see org.liferay.jukebox.service.impl.AlbumServiceImpl
- * @generated
- */
-public class AlbumServiceUtil {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify this class directly. Add custom service methods to {@link org.liferay.jukebox.service.impl.AlbumServiceImpl} and rerun ServiceBuilder to regenerate this class.
- */
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- public static java.lang.String getBeanIdentifier() {
- return getService().getBeanIdentifier();
- }
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- public static void setBeanIdentifier(java.lang.String beanIdentifier) {
- getService().setBeanIdentifier(beanIdentifier);
- }
-
- public static java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- return getService().invokeMethod(name, parameterTypes, arguments);
- }
-
- public static org.liferay.jukebox.model.Album addAlbum(long artistId,
- java.lang.String name, int year, java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService()
- .addAlbum(artistId, name, year, inputStream, serviceContext);
- }
-
- public static org.liferay.jukebox.model.Album deleteAlbum(long albumId,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().deleteAlbum(albumId, serviceContext);
- }
-
- public static java.util.List getAlbums(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbums(groupId);
- }
-
- public static java.util.List getAlbums(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbums(groupId, start, end);
- }
-
- public static java.util.List getAlbums(
- long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbums(groupId, keywords);
- }
-
- public static java.util.List getAlbumsByArtistId(
- long groupId, long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbumsByArtistId(groupId, artistId);
- }
-
- public static int getAlbumsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbumsCount(groupId);
- }
-
- public static int getAlbumsCount(long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbumsCount(groupId, keywords);
- }
-
- public static int getAlbumsCountByArtistId(long groupId, long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getAlbumsCountByArtistId(groupId, artistId);
- }
-
- public static org.liferay.jukebox.model.Album moveAlbumToTrash(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().moveAlbumToTrash(albumId);
- }
-
- public static org.liferay.jukebox.model.Album restoreAlbumFromTrash(
- long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().restoreAlbumFromTrash(albumId);
- }
-
- public static org.liferay.jukebox.model.Album updateAlbum(long albumId,
- long artistId, java.lang.String name, int year,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService()
- .updateAlbum(albumId, artistId, name, year, inputStream,
- serviceContext);
- }
-
- public static void clearService() {
- _service = null;
- }
-
- public static AlbumService getService() {
- if (_service == null) {
- InvokableService invokableService = (InvokableService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
- AlbumService.class.getName());
-
- if (invokableService instanceof AlbumService) {
- _service = (AlbumService)invokableService;
- }
- else {
- _service = new AlbumServiceClp(invokableService);
- }
-
- ReferenceRegistry.registerReference(AlbumServiceUtil.class,
- "_service");
- }
-
- return _service;
- }
-
- /**
- * @deprecated As of 6.2.0
- */
- public void setService(AlbumService service) {
- }
-
- private static AlbumService _service;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumServiceWrapper.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumServiceWrapper.java
deleted file mode 100644
index da2cf14fb7..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/AlbumServiceWrapper.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.service.ServiceWrapper;
-
-/**
- * Provides a wrapper for {@link AlbumService}.
- *
- * @author Julio Camarero
- * @see AlbumService
- * @generated
- */
-public class AlbumServiceWrapper implements AlbumService,
- ServiceWrapper {
- public AlbumServiceWrapper(AlbumService albumService) {
- _albumService = albumService;
- }
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- @Override
- public java.lang.String getBeanIdentifier() {
- return _albumService.getBeanIdentifier();
- }
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- @Override
- public void setBeanIdentifier(java.lang.String beanIdentifier) {
- _albumService.setBeanIdentifier(beanIdentifier);
- }
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- return _albumService.invokeMethod(name, parameterTypes, arguments);
- }
-
- @Override
- public org.liferay.jukebox.model.Album addAlbum(long artistId,
- java.lang.String name, int year, java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumService.addAlbum(artistId, name, year, inputStream,
- serviceContext);
- }
-
- @Override
- public org.liferay.jukebox.model.Album deleteAlbum(long albumId,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumService.deleteAlbum(albumId, serviceContext);
- }
-
- @Override
- public java.util.List getAlbums(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumService.getAlbums(groupId);
- }
-
- @Override
- public java.util.List getAlbums(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumService.getAlbums(groupId, start, end);
- }
-
- @Override
- public java.util.List getAlbums(
- long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumService.getAlbums(groupId, keywords);
- }
-
- @Override
- public java.util.List getAlbumsByArtistId(
- long groupId, long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumService.getAlbumsByArtistId(groupId, artistId);
- }
-
- @Override
- public int getAlbumsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumService.getAlbumsCount(groupId);
- }
-
- @Override
- public int getAlbumsCount(long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumService.getAlbumsCount(groupId, keywords);
- }
-
- @Override
- public int getAlbumsCountByArtistId(long groupId, long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _albumService.getAlbumsCountByArtistId(groupId, artistId);
- }
-
- @Override
- public org.liferay.jukebox.model.Album moveAlbumToTrash(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumService.moveAlbumToTrash(albumId);
- }
-
- @Override
- public org.liferay.jukebox.model.Album restoreAlbumFromTrash(long albumId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumService.restoreAlbumFromTrash(albumId);
- }
-
- @Override
- public org.liferay.jukebox.model.Album updateAlbum(long albumId,
- long artistId, java.lang.String name, int year,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _albumService.updateAlbum(albumId, artistId, name, year,
- inputStream, serviceContext);
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
- */
- public AlbumService getWrappedAlbumService() {
- return _albumService;
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
- */
- public void setWrappedAlbumService(AlbumService albumService) {
- _albumService = albumService;
- }
-
- @Override
- public AlbumService getWrappedService() {
- return _albumService;
- }
-
- @Override
- public void setWrappedService(AlbumService albumService) {
- _albumService = albumService;
- }
-
- private AlbumService _albumService;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalService.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalService.java
deleted file mode 100644
index f6143d935f..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalService.java
+++ /dev/null
@@ -1,351 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.kernel.exception.PortalException;
-import com.liferay.portal.kernel.exception.SystemException;
-import com.liferay.portal.kernel.transaction.Isolation;
-import com.liferay.portal.kernel.transaction.Propagation;
-import com.liferay.portal.kernel.transaction.Transactional;
-import com.liferay.portal.service.BaseLocalService;
-import com.liferay.portal.service.InvokableLocalService;
-import com.liferay.portal.service.PersistedModelLocalService;
-
-/**
- * Provides the local service interface for Artist. Methods of this
- * service will not have security checks based on the propagated JAAS
- * credentials because this service can only be accessed from within the same
- * VM.
- *
- * @author Julio Camarero
- * @see ArtistLocalServiceUtil
- * @see org.liferay.jukebox.service.base.ArtistLocalServiceBaseImpl
- * @see org.liferay.jukebox.service.impl.ArtistLocalServiceImpl
- * @generated
- */
-@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
- PortalException.class, SystemException.class})
-public interface ArtistLocalService extends BaseLocalService,
- InvokableLocalService, PersistedModelLocalService {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify or reference this interface directly. Always use {@link ArtistLocalServiceUtil} to access the artist local service. Add custom service methods to {@link org.liferay.jukebox.service.impl.ArtistLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
- */
-
- /**
- * Adds the artist to the database. Also notifies the appropriate model listeners.
- *
- * @param artist the artist
- * @return the artist that was added
- * @throws SystemException if a system exception occurred
- */
- public org.liferay.jukebox.model.Artist addArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Creates a new artist with the primary key. Does not add the artist to the database.
- *
- * @param artistId the primary key for the new artist
- * @return the new artist
- */
- public org.liferay.jukebox.model.Artist createArtist(long artistId);
-
- /**
- * Deletes the artist with the primary key from the database. Also notifies the appropriate model listeners.
- *
- * @param artistId the primary key of the artist
- * @return the artist that was removed
- * @throws PortalException if a artist with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- public org.liferay.jukebox.model.Artist deleteArtist(long artistId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Deletes the artist from the database. Also notifies the appropriate model listeners.
- *
- * @param artist the artist
- * @return the artist that was removed
- * @throws SystemException if a system exception occurred
- */
- public org.liferay.jukebox.model.Artist deleteArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
-
- /**
- * Performs a dynamic query on the database and returns the matching rows.
- *
- * @param dynamicQuery the dynamic query
- * @return the matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Performs a dynamic query on the database and returns a range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.ArtistModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @return the range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end) throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Performs a dynamic query on the database and returns an ordered range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.ArtistModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @param orderByComparator the comparator to order the results by (optionally null)
- * @return the ordered range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end,
- com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @param projection the projection to apply to the query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
- com.liferay.portal.kernel.dao.orm.Projection projection)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Artist fetchArtist(long artistId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the artist with the matching UUID and company.
- *
- * @param uuid the artist's UUID
- * @param companyId the primary key of the company
- * @return the matching artist, or null if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Artist fetchArtistByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the artist matching the UUID and group.
- *
- * @param uuid the artist's UUID
- * @param groupId the primary key of the group
- * @return the matching artist, or null if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Artist fetchArtistByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the artist with the primary key.
- *
- * @param artistId the primary key of the artist
- * @return the artist
- * @throws PortalException if a artist with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Artist getArtist(long artistId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- @Override
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public com.liferay.portal.model.PersistedModel getPersistedModel(
- java.io.Serializable primaryKeyObj)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the artist with the matching UUID and company.
- *
- * @param uuid the artist's UUID
- * @param companyId the primary key of the company
- * @return the matching artist
- * @throws PortalException if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Artist getArtistByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the artist matching the UUID and group.
- *
- * @param uuid the artist's UUID
- * @param groupId the primary key of the group
- * @return the matching artist
- * @throws PortalException if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public org.liferay.jukebox.model.Artist getArtistByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns a range of all the artists.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.ArtistModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param start the lower bound of the range of artists
- * @param end the upper bound of the range of artists (not inclusive)
- * @return the range of artists
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getArtists(
- int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the number of artists.
- *
- * @return the number of artists
- * @throws SystemException if a system exception occurred
- */
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public int getArtistsCount()
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Updates the artist in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
- *
- * @param artist the artist
- * @return the artist that was updated
- * @throws SystemException if a system exception occurred
- */
- public org.liferay.jukebox.model.Artist updateArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- public java.lang.String getBeanIdentifier();
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- public void setBeanIdentifier(java.lang.String beanIdentifier);
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable;
-
- public org.liferay.jukebox.model.Artist addArtist(long userId,
- java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public void addEntryResources(org.liferay.jukebox.model.Artist artist,
- boolean addGroupPermissions, boolean addGuestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public void addEntryResources(org.liferay.jukebox.model.Artist artist,
- java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public void deleteArtists(long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getArtists(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getArtists(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public int getArtistsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- public org.liferay.jukebox.model.Artist updateArtist(long userId,
- long artistId, java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public void updateAsset(long userId,
- org.liferay.jukebox.model.Artist artist, long[] assetCategoryIds,
- java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalServiceClp.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalServiceClp.java
deleted file mode 100644
index 70769ace52..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalServiceClp.java
+++ /dev/null
@@ -1,1249 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.service.InvokableLocalService;
-
-/**
- * @author Julio Camarero
- * @generated
- */
-public class ArtistLocalServiceClp implements ArtistLocalService {
- public ArtistLocalServiceClp(InvokableLocalService invokableLocalService) {
- _invokableLocalService = invokableLocalService;
-
- _methodName0 = "addArtist";
-
- _methodParameterTypes0 = new String[] { "org.liferay.jukebox.model.Artist" };
-
- _methodName1 = "createArtist";
-
- _methodParameterTypes1 = new String[] { "long" };
-
- _methodName2 = "deleteArtist";
-
- _methodParameterTypes2 = new String[] { "long" };
-
- _methodName3 = "deleteArtist";
-
- _methodParameterTypes3 = new String[] { "org.liferay.jukebox.model.Artist" };
-
- _methodName4 = "dynamicQuery";
-
- _methodParameterTypes4 = new String[] { };
-
- _methodName5 = "dynamicQuery";
-
- _methodParameterTypes5 = new String[] {
- "com.liferay.portal.kernel.dao.orm.DynamicQuery"
- };
-
- _methodName6 = "dynamicQuery";
-
- _methodParameterTypes6 = new String[] {
- "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int"
- };
-
- _methodName7 = "dynamicQuery";
-
- _methodParameterTypes7 = new String[] {
- "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int",
- "com.liferay.portal.kernel.util.OrderByComparator"
- };
-
- _methodName8 = "dynamicQueryCount";
-
- _methodParameterTypes8 = new String[] {
- "com.liferay.portal.kernel.dao.orm.DynamicQuery"
- };
-
- _methodName9 = "dynamicQueryCount";
-
- _methodParameterTypes9 = new String[] {
- "com.liferay.portal.kernel.dao.orm.DynamicQuery",
- "com.liferay.portal.kernel.dao.orm.Projection"
- };
-
- _methodName10 = "fetchArtist";
-
- _methodParameterTypes10 = new String[] { "long" };
-
- _methodName11 = "fetchArtistByUuidAndCompanyId";
-
- _methodParameterTypes11 = new String[] { "java.lang.String", "long" };
-
- _methodName12 = "fetchArtistByUuidAndGroupId";
-
- _methodParameterTypes12 = new String[] { "java.lang.String", "long" };
-
- _methodName13 = "getArtist";
-
- _methodParameterTypes13 = new String[] { "long" };
-
- _methodName14 = "getPersistedModel";
-
- _methodParameterTypes14 = new String[] { "java.io.Serializable" };
-
- _methodName15 = "getArtistByUuidAndCompanyId";
-
- _methodParameterTypes15 = new String[] { "java.lang.String", "long" };
-
- _methodName16 = "getArtistByUuidAndGroupId";
-
- _methodParameterTypes16 = new String[] { "java.lang.String", "long" };
-
- _methodName17 = "getArtists";
-
- _methodParameterTypes17 = new String[] { "int", "int" };
-
- _methodName18 = "getArtistsCount";
-
- _methodParameterTypes18 = new String[] { };
-
- _methodName19 = "updateArtist";
-
- _methodParameterTypes19 = new String[] {
- "org.liferay.jukebox.model.Artist"
- };
-
- _methodName20 = "getBeanIdentifier";
-
- _methodParameterTypes20 = new String[] { };
-
- _methodName21 = "setBeanIdentifier";
-
- _methodParameterTypes21 = new String[] { "java.lang.String" };
-
- _methodName23 = "addArtist";
-
- _methodParameterTypes23 = new String[] {
- "long", "java.lang.String", "java.lang.String",
- "java.io.InputStream",
- "com.liferay.portal.service.ServiceContext"
- };
-
- _methodName24 = "addEntryResources";
-
- _methodParameterTypes24 = new String[] {
- "org.liferay.jukebox.model.Artist", "boolean", "boolean"
- };
-
- _methodName25 = "addEntryResources";
-
- _methodParameterTypes25 = new String[] {
- "org.liferay.jukebox.model.Artist", "java.lang.String[][]",
- "java.lang.String[][]"
- };
-
- _methodName26 = "deleteArtists";
-
- _methodParameterTypes26 = new String[] { "long" };
-
- _methodName27 = "getArtists";
-
- _methodParameterTypes27 = new String[] { "long" };
-
- _methodName28 = "getArtists";
-
- _methodParameterTypes28 = new String[] { "long", "int", "int" };
-
- _methodName29 = "getArtistsCount";
-
- _methodParameterTypes29 = new String[] { "long" };
-
- _methodName30 = "updateArtist";
-
- _methodParameterTypes30 = new String[] {
- "long", "long", "java.lang.String", "java.lang.String",
- "java.io.InputStream",
- "com.liferay.portal.service.ServiceContext"
- };
-
- _methodName31 = "updateAsset";
-
- _methodParameterTypes31 = new String[] {
- "long", "org.liferay.jukebox.model.Artist", "long[][]",
- "java.lang.String[][]", "long[][]"
- };
- }
-
- @Override
- public org.liferay.jukebox.model.Artist addArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName0,
- _methodParameterTypes0,
- new Object[] { ClpSerializer.translateInput(artist) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist createArtist(long artistId) {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName1,
- _methodParameterTypes1, new Object[] { artistId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist deleteArtist(long artistId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName2,
- _methodParameterTypes2, new Object[] { artistId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist deleteArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName3,
- _methodParameterTypes3,
- new Object[] { ClpSerializer.translateInput(artist) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName4,
- _methodParameterTypes4, new Object[] { });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (com.liferay.portal.kernel.dao.orm.DynamicQuery)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName5,
- _methodParameterTypes5,
- new Object[] { ClpSerializer.translateInput(dynamicQuery) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end) throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName6,
- _methodParameterTypes6,
- new Object[] {
- ClpSerializer.translateInput(dynamicQuery),
-
- start,
-
- end
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end,
- com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName7,
- _methodParameterTypes7,
- new Object[] {
- ClpSerializer.translateInput(dynamicQuery),
-
- start,
-
- end,
-
- ClpSerializer.translateInput(orderByComparator)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName8,
- _methodParameterTypes8,
- new Object[] { ClpSerializer.translateInput(dynamicQuery) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Long)returnObj).longValue();
- }
-
- @Override
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
- com.liferay.portal.kernel.dao.orm.Projection projection)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName9,
- _methodParameterTypes9,
- new Object[] {
- ClpSerializer.translateInput(dynamicQuery),
-
- ClpSerializer.translateInput(projection)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Long)returnObj).longValue();
- }
-
- @Override
- public org.liferay.jukebox.model.Artist fetchArtist(long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName10,
- _methodParameterTypes10, new Object[] { artistId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist fetchArtistByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName11,
- _methodParameterTypes11,
- new Object[] { ClpSerializer.translateInput(uuid), companyId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist fetchArtistByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName12,
- _methodParameterTypes12,
- new Object[] { ClpSerializer.translateInput(uuid), groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist getArtist(long artistId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName13,
- _methodParameterTypes13, new Object[] { artistId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public com.liferay.portal.model.PersistedModel getPersistedModel(
- java.io.Serializable primaryKeyObj)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName14,
- _methodParameterTypes14,
- new Object[] { ClpSerializer.translateInput(primaryKeyObj) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist getArtistByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName15,
- _methodParameterTypes15,
- new Object[] { ClpSerializer.translateInput(uuid), companyId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist getArtistByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName16,
- _methodParameterTypes16,
- new Object[] { ClpSerializer.translateInput(uuid), groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getArtists(
- int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName17,
- _methodParameterTypes17, new Object[] { start, end });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public int getArtistsCount()
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName18,
- _methodParameterTypes18, new Object[] { });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Integer)returnObj).intValue();
- }
-
- @Override
- public org.liferay.jukebox.model.Artist updateArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName19,
- _methodParameterTypes19,
- new Object[] { ClpSerializer.translateInput(artist) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.lang.String getBeanIdentifier() {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName20,
- _methodParameterTypes20, new Object[] { });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.lang.String)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public void setBeanIdentifier(java.lang.String beanIdentifier) {
- try {
- _invokableLocalService.invokeMethod(_methodName21,
- _methodParameterTypes21,
- new Object[] { ClpSerializer.translateInput(beanIdentifier) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- throw new UnsupportedOperationException();
- }
-
- @Override
- public org.liferay.jukebox.model.Artist addArtist(long userId,
- java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName23,
- _methodParameterTypes23,
- new Object[] {
- userId,
-
- ClpSerializer.translateInput(name),
-
- ClpSerializer.translateInput(bio),
-
- ClpSerializer.translateInput(inputStream),
-
- ClpSerializer.translateInput(serviceContext)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public void addEntryResources(org.liferay.jukebox.model.Artist artist,
- boolean addGroupPermissions, boolean addGuestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- try {
- _invokableLocalService.invokeMethod(_methodName24,
- _methodParameterTypes24,
- new Object[] {
- ClpSerializer.translateInput(artist),
-
- addGroupPermissions,
-
- addGuestPermissions
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- @Override
- public void addEntryResources(org.liferay.jukebox.model.Artist artist,
- java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- try {
- _invokableLocalService.invokeMethod(_methodName25,
- _methodParameterTypes25,
- new Object[] {
- ClpSerializer.translateInput(artist),
-
- ClpSerializer.translateInput(groupPermissions),
-
- ClpSerializer.translateInput(guestPermissions)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- @Override
- public void deleteArtists(long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- try {
- _invokableLocalService.invokeMethod(_methodName26,
- _methodParameterTypes26, new Object[] { groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- @Override
- public java.util.List getArtists(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName27,
- _methodParameterTypes27, new Object[] { groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getArtists(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName28,
- _methodParameterTypes28,
- new Object[] { groupId, start, end });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public int getArtistsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName29,
- _methodParameterTypes29, new Object[] { groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Integer)returnObj).intValue();
- }
-
- @Override
- public org.liferay.jukebox.model.Artist updateArtist(long userId,
- long artistId, java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableLocalService.invokeMethod(_methodName30,
- _methodParameterTypes30,
- new Object[] {
- userId,
-
- artistId,
-
- ClpSerializer.translateInput(name),
-
- ClpSerializer.translateInput(bio),
-
- ClpSerializer.translateInput(inputStream),
-
- ClpSerializer.translateInput(serviceContext)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public void updateAsset(long userId,
- org.liferay.jukebox.model.Artist artist, long[] assetCategoryIds,
- java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- try {
- _invokableLocalService.invokeMethod(_methodName31,
- _methodParameterTypes31,
- new Object[] {
- userId,
-
- ClpSerializer.translateInput(artist),
-
- ClpSerializer.translateInput(assetCategoryIds),
-
- ClpSerializer.translateInput(assetTagNames),
-
- ClpSerializer.translateInput(assetLinkEntryIds)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- private InvokableLocalService _invokableLocalService;
- private String _methodName0;
- private String[] _methodParameterTypes0;
- private String _methodName1;
- private String[] _methodParameterTypes1;
- private String _methodName2;
- private String[] _methodParameterTypes2;
- private String _methodName3;
- private String[] _methodParameterTypes3;
- private String _methodName4;
- private String[] _methodParameterTypes4;
- private String _methodName5;
- private String[] _methodParameterTypes5;
- private String _methodName6;
- private String[] _methodParameterTypes6;
- private String _methodName7;
- private String[] _methodParameterTypes7;
- private String _methodName8;
- private String[] _methodParameterTypes8;
- private String _methodName9;
- private String[] _methodParameterTypes9;
- private String _methodName10;
- private String[] _methodParameterTypes10;
- private String _methodName11;
- private String[] _methodParameterTypes11;
- private String _methodName12;
- private String[] _methodParameterTypes12;
- private String _methodName13;
- private String[] _methodParameterTypes13;
- private String _methodName14;
- private String[] _methodParameterTypes14;
- private String _methodName15;
- private String[] _methodParameterTypes15;
- private String _methodName16;
- private String[] _methodParameterTypes16;
- private String _methodName17;
- private String[] _methodParameterTypes17;
- private String _methodName18;
- private String[] _methodParameterTypes18;
- private String _methodName19;
- private String[] _methodParameterTypes19;
- private String _methodName20;
- private String[] _methodParameterTypes20;
- private String _methodName21;
- private String[] _methodParameterTypes21;
- private String _methodName23;
- private String[] _methodParameterTypes23;
- private String _methodName24;
- private String[] _methodParameterTypes24;
- private String _methodName25;
- private String[] _methodParameterTypes25;
- private String _methodName26;
- private String[] _methodParameterTypes26;
- private String _methodName27;
- private String[] _methodParameterTypes27;
- private String _methodName28;
- private String[] _methodParameterTypes28;
- private String _methodName29;
- private String[] _methodParameterTypes29;
- private String _methodName30;
- private String[] _methodParameterTypes30;
- private String _methodName31;
- private String[] _methodParameterTypes31;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalServiceUtil.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalServiceUtil.java
deleted file mode 100644
index add26ae3b1..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalServiceUtil.java
+++ /dev/null
@@ -1,436 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
-import com.liferay.portal.kernel.util.ReferenceRegistry;
-import com.liferay.portal.service.InvokableLocalService;
-
-/**
- * Provides the local service utility for Artist. This utility wraps
- * {@link org.liferay.jukebox.service.impl.ArtistLocalServiceImpl} and is the
- * primary access point for service operations in application layer code running
- * on the local server. Methods of this service will not have security checks
- * based on the propagated JAAS credentials because this service can only be
- * accessed from within the same VM.
- *
- * @author Julio Camarero
- * @see ArtistLocalService
- * @see org.liferay.jukebox.service.base.ArtistLocalServiceBaseImpl
- * @see org.liferay.jukebox.service.impl.ArtistLocalServiceImpl
- * @generated
- */
-public class ArtistLocalServiceUtil {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify this class directly. Add custom service methods to {@link org.liferay.jukebox.service.impl.ArtistLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
- */
-
- /**
- * Adds the artist to the database. Also notifies the appropriate model listeners.
- *
- * @param artist the artist
- * @return the artist that was added
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Artist addArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().addArtist(artist);
- }
-
- /**
- * Creates a new artist with the primary key. Does not add the artist to the database.
- *
- * @param artistId the primary key for the new artist
- * @return the new artist
- */
- public static org.liferay.jukebox.model.Artist createArtist(long artistId) {
- return getService().createArtist(artistId);
- }
-
- /**
- * Deletes the artist with the primary key from the database. Also notifies the appropriate model listeners.
- *
- * @param artistId the primary key of the artist
- * @return the artist that was removed
- * @throws PortalException if a artist with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Artist deleteArtist(long artistId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().deleteArtist(artistId);
- }
-
- /**
- * Deletes the artist from the database. Also notifies the appropriate model listeners.
- *
- * @param artist the artist
- * @return the artist that was removed
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Artist deleteArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().deleteArtist(artist);
- }
-
- public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
- return getService().dynamicQuery();
- }
-
- /**
- * Performs a dynamic query on the database and returns the matching rows.
- *
- * @param dynamicQuery the dynamic query
- * @return the matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public static java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().dynamicQuery(dynamicQuery);
- }
-
- /**
- * Performs a dynamic query on the database and returns a range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.ArtistModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @return the range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public static java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end) throws com.liferay.portal.kernel.exception.SystemException {
- return getService().dynamicQuery(dynamicQuery, start, end);
- }
-
- /**
- * Performs a dynamic query on the database and returns an ordered range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.ArtistModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @param orderByComparator the comparator to order the results by (optionally null)
- * @return the ordered range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @SuppressWarnings("rawtypes")
- public static java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end,
- com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService()
- .dynamicQuery(dynamicQuery, start, end, orderByComparator);
- }
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- public static long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().dynamicQueryCount(dynamicQuery);
- }
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @param projection the projection to apply to the query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- public static long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
- com.liferay.portal.kernel.dao.orm.Projection projection)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().dynamicQueryCount(dynamicQuery, projection);
- }
-
- public static org.liferay.jukebox.model.Artist fetchArtist(long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().fetchArtist(artistId);
- }
-
- /**
- * Returns the artist with the matching UUID and company.
- *
- * @param uuid the artist's UUID
- * @param companyId the primary key of the company
- * @return the matching artist, or null if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Artist fetchArtistByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().fetchArtistByUuidAndCompanyId(uuid, companyId);
- }
-
- /**
- * Returns the artist matching the UUID and group.
- *
- * @param uuid the artist's UUID
- * @param groupId the primary key of the group
- * @return the matching artist, or null if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Artist fetchArtistByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().fetchArtistByUuidAndGroupId(uuid, groupId);
- }
-
- /**
- * Returns the artist with the primary key.
- *
- * @param artistId the primary key of the artist
- * @return the artist
- * @throws PortalException if a artist with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Artist getArtist(long artistId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtist(artistId);
- }
-
- public static com.liferay.portal.model.PersistedModel getPersistedModel(
- java.io.Serializable primaryKeyObj)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().getPersistedModel(primaryKeyObj);
- }
-
- /**
- * Returns the artist with the matching UUID and company.
- *
- * @param uuid the artist's UUID
- * @param companyId the primary key of the company
- * @return the matching artist
- * @throws PortalException if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Artist getArtistByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtistByUuidAndCompanyId(uuid, companyId);
- }
-
- /**
- * Returns the artist matching the UUID and group.
- *
- * @param uuid the artist's UUID
- * @param groupId the primary key of the group
- * @return the matching artist
- * @throws PortalException if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Artist getArtistByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtistByUuidAndGroupId(uuid, groupId);
- }
-
- /**
- * Returns a range of all the artists.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.ArtistModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param start the lower bound of the range of artists
- * @param end the upper bound of the range of artists (not inclusive)
- * @return the range of artists
- * @throws SystemException if a system exception occurred
- */
- public static java.util.List getArtists(
- int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtists(start, end);
- }
-
- /**
- * Returns the number of artists.
- *
- * @return the number of artists
- * @throws SystemException if a system exception occurred
- */
- public static int getArtistsCount()
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtistsCount();
- }
-
- /**
- * Updates the artist in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
- *
- * @param artist the artist
- * @return the artist that was updated
- * @throws SystemException if a system exception occurred
- */
- public static org.liferay.jukebox.model.Artist updateArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().updateArtist(artist);
- }
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- public static java.lang.String getBeanIdentifier() {
- return getService().getBeanIdentifier();
- }
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- public static void setBeanIdentifier(java.lang.String beanIdentifier) {
- getService().setBeanIdentifier(beanIdentifier);
- }
-
- public static java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- return getService().invokeMethod(name, parameterTypes, arguments);
- }
-
- public static org.liferay.jukebox.model.Artist addArtist(long userId,
- java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService()
- .addArtist(userId, name, bio, inputStream, serviceContext);
- }
-
- public static void addEntryResources(
- org.liferay.jukebox.model.Artist artist, boolean addGroupPermissions,
- boolean addGuestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- getService()
- .addEntryResources(artist, addGroupPermissions, addGuestPermissions);
- }
-
- public static void addEntryResources(
- org.liferay.jukebox.model.Artist artist,
- java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- getService()
- .addEntryResources(artist, groupPermissions, guestPermissions);
- }
-
- public static void deleteArtists(long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- getService().deleteArtists(groupId);
- }
-
- public static java.util.List getArtists(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtists(groupId);
- }
-
- public static java.util.List getArtists(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtists(groupId, start, end);
- }
-
- public static int getArtistsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtistsCount(groupId);
- }
-
- public static org.liferay.jukebox.model.Artist updateArtist(long userId,
- long artistId, java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService()
- .updateArtist(userId, artistId, name, bio, inputStream,
- serviceContext);
- }
-
- public static void updateAsset(long userId,
- org.liferay.jukebox.model.Artist artist, long[] assetCategoryIds,
- java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- getService()
- .updateAsset(userId, artist, assetCategoryIds, assetTagNames,
- assetLinkEntryIds);
- }
-
- public static void clearService() {
- _service = null;
- }
-
- public static ArtistLocalService getService() {
- if (_service == null) {
- InvokableLocalService invokableLocalService = (InvokableLocalService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
- ArtistLocalService.class.getName());
-
- if (invokableLocalService instanceof ArtistLocalService) {
- _service = (ArtistLocalService)invokableLocalService;
- }
- else {
- _service = new ArtistLocalServiceClp(invokableLocalService);
- }
-
- ReferenceRegistry.registerReference(ArtistLocalServiceUtil.class,
- "_service");
- }
-
- return _service;
- }
-
- /**
- * @deprecated As of 6.2.0
- */
- public void setService(ArtistLocalService service) {
- }
-
- private static ArtistLocalService _service;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalServiceWrapper.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalServiceWrapper.java
deleted file mode 100644
index 3ca33c3c6f..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistLocalServiceWrapper.java
+++ /dev/null
@@ -1,450 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.service.ServiceWrapper;
-
-/**
- * Provides a wrapper for {@link ArtistLocalService}.
- *
- * @author Julio Camarero
- * @see ArtistLocalService
- * @generated
- */
-public class ArtistLocalServiceWrapper implements ArtistLocalService,
- ServiceWrapper {
- public ArtistLocalServiceWrapper(ArtistLocalService artistLocalService) {
- _artistLocalService = artistLocalService;
- }
-
- /**
- * Adds the artist to the database. Also notifies the appropriate model listeners.
- *
- * @param artist the artist
- * @return the artist that was added
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Artist addArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.addArtist(artist);
- }
-
- /**
- * Creates a new artist with the primary key. Does not add the artist to the database.
- *
- * @param artistId the primary key for the new artist
- * @return the new artist
- */
- @Override
- public org.liferay.jukebox.model.Artist createArtist(long artistId) {
- return _artistLocalService.createArtist(artistId);
- }
-
- /**
- * Deletes the artist with the primary key from the database. Also notifies the appropriate model listeners.
- *
- * @param artistId the primary key of the artist
- * @return the artist that was removed
- * @throws PortalException if a artist with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Artist deleteArtist(long artistId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.deleteArtist(artistId);
- }
-
- /**
- * Deletes the artist from the database. Also notifies the appropriate model listeners.
- *
- * @param artist the artist
- * @return the artist that was removed
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Artist deleteArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.deleteArtist(artist);
- }
-
- @Override
- public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
- return _artistLocalService.dynamicQuery();
- }
-
- /**
- * Performs a dynamic query on the database and returns the matching rows.
- *
- * @param dynamicQuery the dynamic query
- * @return the matching rows
- * @throws SystemException if a system exception occurred
- */
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.dynamicQuery(dynamicQuery);
- }
-
- /**
- * Performs a dynamic query on the database and returns a range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.ArtistModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @return the range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end) throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.dynamicQuery(dynamicQuery, start, end);
- }
-
- /**
- * Performs a dynamic query on the database and returns an ordered range of the matching rows.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.ArtistModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param dynamicQuery the dynamic query
- * @param start the lower bound of the range of model instances
- * @param end the upper bound of the range of model instances (not inclusive)
- * @param orderByComparator the comparator to order the results by (optionally null)
- * @return the ordered range of matching rows
- * @throws SystemException if a system exception occurred
- */
- @Override
- @SuppressWarnings("rawtypes")
- public java.util.List dynamicQuery(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
- int end,
- com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.dynamicQuery(dynamicQuery, start, end,
- orderByComparator);
- }
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- @Override
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.dynamicQueryCount(dynamicQuery);
- }
-
- /**
- * Returns the number of rows that match the dynamic query.
- *
- * @param dynamicQuery the dynamic query
- * @param projection the projection to apply to the query
- * @return the number of rows that match the dynamic query
- * @throws SystemException if a system exception occurred
- */
- @Override
- public long dynamicQueryCount(
- com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
- com.liferay.portal.kernel.dao.orm.Projection projection)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.dynamicQueryCount(dynamicQuery, projection);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist fetchArtist(long artistId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.fetchArtist(artistId);
- }
-
- /**
- * Returns the artist with the matching UUID and company.
- *
- * @param uuid the artist's UUID
- * @param companyId the primary key of the company
- * @return the matching artist, or null if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Artist fetchArtistByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.fetchArtistByUuidAndCompanyId(uuid, companyId);
- }
-
- /**
- * Returns the artist matching the UUID and group.
- *
- * @param uuid the artist's UUID
- * @param groupId the primary key of the group
- * @return the matching artist, or null if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Artist fetchArtistByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.fetchArtistByUuidAndGroupId(uuid, groupId);
- }
-
- /**
- * Returns the artist with the primary key.
- *
- * @param artistId the primary key of the artist
- * @return the artist
- * @throws PortalException if a artist with the primary key could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Artist getArtist(long artistId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.getArtist(artistId);
- }
-
- @Override
- public com.liferay.portal.model.PersistedModel getPersistedModel(
- java.io.Serializable primaryKeyObj)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.getPersistedModel(primaryKeyObj);
- }
-
- /**
- * Returns the artist with the matching UUID and company.
- *
- * @param uuid the artist's UUID
- * @param companyId the primary key of the company
- * @return the matching artist
- * @throws PortalException if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Artist getArtistByUuidAndCompanyId(
- java.lang.String uuid, long companyId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.getArtistByUuidAndCompanyId(uuid, companyId);
- }
-
- /**
- * Returns the artist matching the UUID and group.
- *
- * @param uuid the artist's UUID
- * @param groupId the primary key of the group
- * @return the matching artist
- * @throws PortalException if a matching artist could not be found
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Artist getArtistByUuidAndGroupId(
- java.lang.String uuid, long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.getArtistByUuidAndGroupId(uuid, groupId);
- }
-
- /**
- * Returns a range of all the artists.
- *
- *
- * Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.liferay.jukebox.model.impl.ArtistModelImpl}. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
- *
- *
- * @param start the lower bound of the range of artists
- * @param end the upper bound of the range of artists (not inclusive)
- * @return the range of artists
- * @throws SystemException if a system exception occurred
- */
- @Override
- public java.util.List getArtists(
- int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.getArtists(start, end);
- }
-
- /**
- * Returns the number of artists.
- *
- * @return the number of artists
- * @throws SystemException if a system exception occurred
- */
- @Override
- public int getArtistsCount()
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.getArtistsCount();
- }
-
- /**
- * Updates the artist in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
- *
- * @param artist the artist
- * @return the artist that was updated
- * @throws SystemException if a system exception occurred
- */
- @Override
- public org.liferay.jukebox.model.Artist updateArtist(
- org.liferay.jukebox.model.Artist artist)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.updateArtist(artist);
- }
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- @Override
- public java.lang.String getBeanIdentifier() {
- return _artistLocalService.getBeanIdentifier();
- }
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- @Override
- public void setBeanIdentifier(java.lang.String beanIdentifier) {
- _artistLocalService.setBeanIdentifier(beanIdentifier);
- }
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- return _artistLocalService.invokeMethod(name, parameterTypes, arguments);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist addArtist(long userId,
- java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.addArtist(userId, name, bio, inputStream,
- serviceContext);
- }
-
- @Override
- public void addEntryResources(org.liferay.jukebox.model.Artist artist,
- boolean addGroupPermissions, boolean addGuestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- _artistLocalService.addEntryResources(artist, addGroupPermissions,
- addGuestPermissions);
- }
-
- @Override
- public void addEntryResources(org.liferay.jukebox.model.Artist artist,
- java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- _artistLocalService.addEntryResources(artist, groupPermissions,
- guestPermissions);
- }
-
- @Override
- public void deleteArtists(long groupId)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- _artistLocalService.deleteArtists(groupId);
- }
-
- @Override
- public java.util.List getArtists(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.getArtists(groupId);
- }
-
- @Override
- public java.util.List getArtists(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.getArtists(groupId, start, end);
- }
-
- @Override
- public int getArtistsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.getArtistsCount(groupId);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist updateArtist(long userId,
- long artistId, java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artistLocalService.updateArtist(userId, artistId, name, bio,
- inputStream, serviceContext);
- }
-
- @Override
- public void updateAsset(long userId,
- org.liferay.jukebox.model.Artist artist, long[] assetCategoryIds,
- java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- _artistLocalService.updateAsset(userId, artist, assetCategoryIds,
- assetTagNames, assetLinkEntryIds);
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
- */
- public ArtistLocalService getWrappedArtistLocalService() {
- return _artistLocalService;
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
- */
- public void setWrappedArtistLocalService(
- ArtistLocalService artistLocalService) {
- _artistLocalService = artistLocalService;
- }
-
- @Override
- public ArtistLocalService getWrappedService() {
- return _artistLocalService;
- }
-
- @Override
- public void setWrappedService(ArtistLocalService artistLocalService) {
- _artistLocalService = artistLocalService;
- }
-
- private ArtistLocalService _artistLocalService;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistService.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistService.java
deleted file mode 100644
index 3b31878ddb..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistService.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.kernel.exception.PortalException;
-import com.liferay.portal.kernel.exception.SystemException;
-import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
-import com.liferay.portal.kernel.transaction.Isolation;
-import com.liferay.portal.kernel.transaction.Propagation;
-import com.liferay.portal.kernel.transaction.Transactional;
-import com.liferay.portal.security.ac.AccessControlled;
-import com.liferay.portal.service.BaseService;
-import com.liferay.portal.service.InvokableService;
-
-/**
- * Provides the remote service interface for Artist. Methods of this
- * service are expected to have security checks based on the propagated JAAS
- * credentials because this service can be accessed remotely.
- *
- * @author Julio Camarero
- * @see ArtistServiceUtil
- * @see org.liferay.jukebox.service.base.ArtistServiceBaseImpl
- * @see org.liferay.jukebox.service.impl.ArtistServiceImpl
- * @generated
- */
-@AccessControlled
-@JSONWebService
-@Transactional(isolation = Isolation.PORTAL, rollbackFor = {
- PortalException.class, SystemException.class})
-public interface ArtistService extends BaseService, InvokableService {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify or reference this interface directly. Always use {@link ArtistServiceUtil} to access the artist remote service. Add custom service methods to {@link org.liferay.jukebox.service.impl.ArtistServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
- */
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- public java.lang.String getBeanIdentifier();
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- public void setBeanIdentifier(java.lang.String beanIdentifier);
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable;
-
- public org.liferay.jukebox.model.Artist addArtist(java.lang.String name,
- java.lang.String bio, java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- public org.liferay.jukebox.model.Artist deleteArtist(long artistId,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getArtists(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getArtists(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public java.util.List getArtists(
- long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public int getArtistsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
- public int getArtistsCount(long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException;
-
- public org.liferay.jukebox.model.Artist updateArtist(long artistId,
- java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistServiceClp.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistServiceClp.java
deleted file mode 100644
index 2428c100d4..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistServiceClp.java
+++ /dev/null
@@ -1,425 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.service.InvokableService;
-
-/**
- * @author Julio Camarero
- * @generated
- */
-public class ArtistServiceClp implements ArtistService {
- public ArtistServiceClp(InvokableService invokableService) {
- _invokableService = invokableService;
-
- _methodName0 = "getBeanIdentifier";
-
- _methodParameterTypes0 = new String[] { };
-
- _methodName1 = "setBeanIdentifier";
-
- _methodParameterTypes1 = new String[] { "java.lang.String" };
-
- _methodName3 = "addArtist";
-
- _methodParameterTypes3 = new String[] {
- "java.lang.String", "java.lang.String", "java.io.InputStream",
- "com.liferay.portal.service.ServiceContext"
- };
-
- _methodName4 = "deleteArtist";
-
- _methodParameterTypes4 = new String[] {
- "long", "com.liferay.portal.service.ServiceContext"
- };
-
- _methodName5 = "getArtists";
-
- _methodParameterTypes5 = new String[] { "long" };
-
- _methodName6 = "getArtists";
-
- _methodParameterTypes6 = new String[] { "long", "int", "int" };
-
- _methodName7 = "getArtists";
-
- _methodParameterTypes7 = new String[] { "long", "java.lang.String" };
-
- _methodName8 = "getArtistsCount";
-
- _methodParameterTypes8 = new String[] { "long" };
-
- _methodName9 = "getArtistsCount";
-
- _methodParameterTypes9 = new String[] { "long", "java.lang.String" };
-
- _methodName10 = "updateArtist";
-
- _methodParameterTypes10 = new String[] {
- "long", "java.lang.String", "java.lang.String",
- "java.io.InputStream",
- "com.liferay.portal.service.ServiceContext"
- };
- }
-
- @Override
- public java.lang.String getBeanIdentifier() {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName0,
- _methodParameterTypes0, new Object[] { });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.lang.String)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public void setBeanIdentifier(java.lang.String beanIdentifier) {
- try {
- _invokableService.invokeMethod(_methodName1,
- _methodParameterTypes1,
- new Object[] { ClpSerializer.translateInput(beanIdentifier) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
- }
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- throw new UnsupportedOperationException();
- }
-
- @Override
- public org.liferay.jukebox.model.Artist addArtist(java.lang.String name,
- java.lang.String bio, java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName3,
- _methodParameterTypes3,
- new Object[] {
- ClpSerializer.translateInput(name),
-
- ClpSerializer.translateInput(bio),
-
- ClpSerializer.translateInput(inputStream),
-
- ClpSerializer.translateInput(serviceContext)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist deleteArtist(long artistId,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName4,
- _methodParameterTypes4,
- new Object[] {
- artistId,
-
- ClpSerializer.translateInput(serviceContext)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getArtists(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName5,
- _methodParameterTypes5, new Object[] { groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getArtists(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName6,
- _methodParameterTypes6, new Object[] { groupId, start, end });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public java.util.List getArtists(
- long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName7,
- _methodParameterTypes7,
- new Object[] { groupId, ClpSerializer.translateInput(
- keywords) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (java.util.List)ClpSerializer.translateOutput(returnObj);
- }
-
- @Override
- public int getArtistsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName8,
- _methodParameterTypes8, new Object[] { groupId });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Integer)returnObj).intValue();
- }
-
- @Override
- public int getArtistsCount(long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName9,
- _methodParameterTypes9,
- new Object[] { groupId, ClpSerializer.translateInput(
- keywords) });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return ((Integer)returnObj).intValue();
- }
-
- @Override
- public org.liferay.jukebox.model.Artist updateArtist(long artistId,
- java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- Object returnObj = null;
-
- try {
- returnObj = _invokableService.invokeMethod(_methodName10,
- _methodParameterTypes10,
- new Object[] {
- artistId,
-
- ClpSerializer.translateInput(name),
-
- ClpSerializer.translateInput(bio),
-
- ClpSerializer.translateInput(inputStream),
-
- ClpSerializer.translateInput(serviceContext)
- });
- }
- catch (Throwable t) {
- t = ClpSerializer.translateThrowable(t);
-
- if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
- throw (com.liferay.portal.kernel.exception.PortalException)t;
- }
-
- if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
- throw (com.liferay.portal.kernel.exception.SystemException)t;
- }
-
- if (t instanceof RuntimeException) {
- throw (RuntimeException)t;
- }
- else {
- throw new RuntimeException(t.getClass().getName() +
- " is not a valid exception");
- }
- }
-
- return (org.liferay.jukebox.model.Artist)ClpSerializer.translateOutput(returnObj);
- }
-
- private InvokableService _invokableService;
- private String _methodName0;
- private String[] _methodParameterTypes0;
- private String _methodName1;
- private String[] _methodParameterTypes1;
- private String _methodName3;
- private String[] _methodParameterTypes3;
- private String _methodName4;
- private String[] _methodParameterTypes4;
- private String _methodName5;
- private String[] _methodParameterTypes5;
- private String _methodName6;
- private String[] _methodParameterTypes6;
- private String _methodName7;
- private String[] _methodParameterTypes7;
- private String _methodName8;
- private String[] _methodParameterTypes8;
- private String _methodName9;
- private String[] _methodParameterTypes9;
- private String _methodName10;
- private String[] _methodParameterTypes10;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistServiceUtil.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistServiceUtil.java
deleted file mode 100644
index e9fbbfcbf8..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistServiceUtil.java
+++ /dev/null
@@ -1,151 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
-import com.liferay.portal.kernel.util.ReferenceRegistry;
-import com.liferay.portal.service.InvokableService;
-
-/**
- * Provides the remote service utility for Artist. This utility wraps
- * {@link org.liferay.jukebox.service.impl.ArtistServiceImpl} and is the
- * primary access point for service operations in application layer code running
- * on a remote server. Methods of this service are expected to have security
- * checks based on the propagated JAAS credentials because this service can be
- * accessed remotely.
- *
- * @author Julio Camarero
- * @see ArtistService
- * @see org.liferay.jukebox.service.base.ArtistServiceBaseImpl
- * @see org.liferay.jukebox.service.impl.ArtistServiceImpl
- * @generated
- */
-public class ArtistServiceUtil {
- /*
- * NOTE FOR DEVELOPERS:
- *
- * Never modify this class directly. Add custom service methods to {@link org.liferay.jukebox.service.impl.ArtistServiceImpl} and rerun ServiceBuilder to regenerate this class.
- */
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- public static java.lang.String getBeanIdentifier() {
- return getService().getBeanIdentifier();
- }
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- public static void setBeanIdentifier(java.lang.String beanIdentifier) {
- getService().setBeanIdentifier(beanIdentifier);
- }
-
- public static java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- return getService().invokeMethod(name, parameterTypes, arguments);
- }
-
- public static org.liferay.jukebox.model.Artist addArtist(
- java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().addArtist(name, bio, inputStream, serviceContext);
- }
-
- public static org.liferay.jukebox.model.Artist deleteArtist(long artistId,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService().deleteArtist(artistId, serviceContext);
- }
-
- public static java.util.List getArtists(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtists(groupId);
- }
-
- public static java.util.List getArtists(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtists(groupId, start, end);
- }
-
- public static java.util.List getArtists(
- long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtists(groupId, keywords);
- }
-
- public static int getArtistsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtistsCount(groupId);
- }
-
- public static int getArtistsCount(long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- return getService().getArtistsCount(groupId, keywords);
- }
-
- public static org.liferay.jukebox.model.Artist updateArtist(long artistId,
- java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return getService()
- .updateArtist(artistId, name, bio, inputStream,
- serviceContext);
- }
-
- public static void clearService() {
- _service = null;
- }
-
- public static ArtistService getService() {
- if (_service == null) {
- InvokableService invokableService = (InvokableService)PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(),
- ArtistService.class.getName());
-
- if (invokableService instanceof ArtistService) {
- _service = (ArtistService)invokableService;
- }
- else {
- _service = new ArtistServiceClp(invokableService);
- }
-
- ReferenceRegistry.registerReference(ArtistServiceUtil.class,
- "_service");
- }
-
- return _service;
- }
-
- /**
- * @deprecated As of 6.2.0
- */
- public void setService(ArtistService service) {
- }
-
- private static ArtistService _service;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistServiceWrapper.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistServiceWrapper.java
deleted file mode 100644
index e87bca2853..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ArtistServiceWrapper.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.service.ServiceWrapper;
-
-/**
- * Provides a wrapper for {@link ArtistService}.
- *
- * @author Julio Camarero
- * @see ArtistService
- * @generated
- */
-public class ArtistServiceWrapper implements ArtistService,
- ServiceWrapper {
- public ArtistServiceWrapper(ArtistService artistService) {
- _artistService = artistService;
- }
-
- /**
- * Returns the Spring bean ID for this bean.
- *
- * @return the Spring bean ID for this bean
- */
- @Override
- public java.lang.String getBeanIdentifier() {
- return _artistService.getBeanIdentifier();
- }
-
- /**
- * Sets the Spring bean ID for this bean.
- *
- * @param beanIdentifier the Spring bean ID for this bean
- */
- @Override
- public void setBeanIdentifier(java.lang.String beanIdentifier) {
- _artistService.setBeanIdentifier(beanIdentifier);
- }
-
- @Override
- public java.lang.Object invokeMethod(java.lang.String name,
- java.lang.String[] parameterTypes, java.lang.Object[] arguments)
- throws java.lang.Throwable {
- return _artistService.invokeMethod(name, parameterTypes, arguments);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist addArtist(java.lang.String name,
- java.lang.String bio, java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artistService.addArtist(name, bio, inputStream, serviceContext);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist deleteArtist(long artistId,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artistService.deleteArtist(artistId, serviceContext);
- }
-
- @Override
- public java.util.List getArtists(
- long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistService.getArtists(groupId);
- }
-
- @Override
- public java.util.List getArtists(
- long groupId, int start, int end)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistService.getArtists(groupId, start, end);
- }
-
- @Override
- public java.util.List getArtists(
- long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistService.getArtists(groupId, keywords);
- }
-
- @Override
- public int getArtistsCount(long groupId)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistService.getArtistsCount(groupId);
- }
-
- @Override
- public int getArtistsCount(long groupId, java.lang.String keywords)
- throws com.liferay.portal.kernel.exception.SystemException {
- return _artistService.getArtistsCount(groupId, keywords);
- }
-
- @Override
- public org.liferay.jukebox.model.Artist updateArtist(long artistId,
- java.lang.String name, java.lang.String bio,
- java.io.InputStream inputStream,
- com.liferay.portal.service.ServiceContext serviceContext)
- throws com.liferay.portal.kernel.exception.PortalException,
- com.liferay.portal.kernel.exception.SystemException {
- return _artistService.updateArtist(artistId, name, bio, inputStream,
- serviceContext);
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
- */
- public ArtistService getWrappedArtistService() {
- return _artistService;
- }
-
- /**
- * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
- */
- public void setWrappedArtistService(ArtistService artistService) {
- _artistService = artistService;
- }
-
- @Override
- public ArtistService getWrappedService() {
- return _artistService;
- }
-
- @Override
- public void setWrappedService(ArtistService artistService) {
- _artistService = artistService;
- }
-
- private ArtistService _artistService;
-}
\ No newline at end of file
diff --git a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ClpSerializer.java b/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ClpSerializer.java
deleted file mode 100644
index 26d1ff0230..0000000000
--- a/tools/tests/com.liferay.ide.upgrade.problems.core.tests/jsptests/jukebox-portlet/docroot/WEB-INF/service/org/liferay/jukebox/service/ClpSerializer.java
+++ /dev/null
@@ -1,358 +0,0 @@
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-package org.liferay.jukebox.service;
-
-import com.liferay.portal.kernel.exception.PortalException;
-import com.liferay.portal.kernel.exception.SystemException;
-import com.liferay.portal.kernel.io.unsync.UnsyncByteArrayInputStream;
-import com.liferay.portal.kernel.io.unsync.UnsyncByteArrayOutputStream;
-import com.liferay.portal.kernel.log.Log;
-import com.liferay.portal.kernel.log.LogFactoryUtil;
-import com.liferay.portal.kernel.util.ClassLoaderObjectInputStream;
-import com.liferay.portal.kernel.util.PropsUtil;
-import com.liferay.portal.kernel.util.Validator;
-import com.liferay.portal.model.BaseModel;
-
-import org.liferay.jukebox.model.AlbumClp;
-import org.liferay.jukebox.model.ArtistClp;
-import org.liferay.jukebox.model.SongClp;
-
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
-
-import java.lang.reflect.Method;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * @author Julio Camarero
- */
-public class ClpSerializer {
- public static String getServletContextName() {
- if (Validator.isNotNull(_servletContextName)) {
- return _servletContextName;
- }
-
- synchronized (ClpSerializer.class) {
- if (Validator.isNotNull(_servletContextName)) {
- return _servletContextName;
- }
-
- try {
- ClassLoader classLoader = ClpSerializer.class.getClassLoader();
-
- Class> portletPropsClass = classLoader.loadClass(
- "com.liferay.util.portlet.PortletProps");
-
- Method getMethod = portletPropsClass.getMethod("get",
- new Class>[] { String.class });
-
- String portletPropsServletContextName = (String)getMethod.invoke(null,
- "jukebox-portlet-deployment-context");
-
- if (Validator.isNotNull(portletPropsServletContextName)) {
- _servletContextName = portletPropsServletContextName;
- }
- }
- catch (Throwable t) {
- if (_log.isInfoEnabled()) {
- _log.info(
- "Unable to locate deployment context from portlet properties");
- }
- }
-
- if (Validator.isNull(_servletContextName)) {
- try {
- String propsUtilServletContextName = PropsUtil.get(
- "jukebox-portlet-deployment-context");
-
- if (Validator.isNotNull(propsUtilServletContextName)) {
- _servletContextName = propsUtilServletContextName;
- }
- }
- catch (Throwable t) {
- if (_log.isInfoEnabled()) {
- _log.info(
- "Unable to locate deployment context from portal properties");
- }
- }
- }
-
- if (Validator.isNull(_servletContextName)) {
- _servletContextName = "jukebox-portlet";
- }
-
- return _servletContextName;
- }
- }
-
- public static Object translateInput(BaseModel> oldModel) {
- Class> oldModelClass = oldModel.getClass();
-
- String oldModelClassName = oldModelClass.getName();
-
- if (oldModelClassName.equals(AlbumClp.class.getName())) {
- return translateInputAlbum(oldModel);
- }
-
- if (oldModelClassName.equals(ArtistClp.class.getName())) {
- return translateInputArtist(oldModel);
- }
-
- if (oldModelClassName.equals(SongClp.class.getName())) {
- return translateInputSong(oldModel);
- }
-
- return oldModel;
- }
-
- public static Object translateInput(List