Skip to content

Commit

Permalink
LPS-65107 autogenerated
Browse files Browse the repository at this point in the history
  • Loading branch information
juliocamarero authored and brianchandotcom committed Apr 29, 2016
1 parent ffb25c8 commit 772cf7c
Show file tree
Hide file tree
Showing 8 changed files with 249 additions and 17 deletions.
Expand Up @@ -268,6 +268,51 @@ public static com.liferay.asset.kernel.model.AssetEntry incrementViewCounter(
}
}

public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
HttpPrincipal httpPrincipal, long groupId, java.util.Date createDate,
java.util.Date modifiedDate, java.lang.String className, long classPK,
java.lang.String classUuid, long classTypeId, long[] categoryIds,
java.lang.String[] tagNames, boolean listable, boolean visible,
java.util.Date startDate, java.util.Date endDate,
java.util.Date publishDate, java.util.Date expirationDate,
java.lang.String mimeType, java.lang.String title,
java.lang.String description, java.lang.String summary,
java.lang.String url, java.lang.String layoutUuid, int height,
int width, java.lang.Double priority)
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(AssetEntryServiceUtil.class,
"updateEntry", _updateEntryParameterTypes7);

MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
createDate, modifiedDate, className, classPK, classUuid,
classTypeId, categoryIds, tagNames, listable, visible,
startDate, endDate, publishDate, expirationDate, mimeType,
title, description, summary, url, layoutUuid, height,
width, priority);

Object returnObj = null;

try {
returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler);
}
catch (Exception e) {
if (e instanceof com.liferay.portal.kernel.exception.PortalException) {
throw (com.liferay.portal.kernel.exception.PortalException)e;
}

throw new com.liferay.portal.kernel.exception.SystemException(e);
}

return (com.liferay.asset.kernel.model.AssetEntry)returnObj;
}
catch (com.liferay.portal.kernel.exception.SystemException se) {
_log.error(se, se);

throw se;
}
}

public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
HttpPrincipal httpPrincipal, long groupId, java.util.Date createDate,
java.util.Date modifiedDate, java.lang.String className, long classPK,
Expand All @@ -282,7 +327,7 @@ public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(AssetEntryServiceUtil.class,
"updateEntry", _updateEntryParameterTypes7);
"updateEntry", _updateEntryParameterTypes8);

MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
createDate, modifiedDate, className, classPK, classUuid,
Expand Down Expand Up @@ -326,7 +371,7 @@ public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
throws com.liferay.portal.kernel.exception.PortalException {
try {
MethodKey methodKey = new MethodKey(AssetEntryServiceUtil.class,
"updateEntry", _updateEntryParameterTypes8);
"updateEntry", _updateEntryParameterTypes9);

MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
createDate, modifiedDate, className, classPK, classUuid,
Expand Down Expand Up @@ -379,6 +424,16 @@ public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
java.lang.String.class, long.class
};
private static final Class<?>[] _updateEntryParameterTypes7 = new Class[] {
long.class, java.util.Date.class, java.util.Date.class,
java.lang.String.class, long.class, java.lang.String.class,
long.class, long[].class, java.lang.String[].class, boolean.class,
boolean.class, java.util.Date.class, java.util.Date.class,
java.util.Date.class, java.util.Date.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, java.lang.String.class,
java.lang.String.class, int.class, int.class, java.lang.Double.class
};
private static final Class<?>[] _updateEntryParameterTypes8 = new Class[] {
long.class, java.util.Date.class, java.util.Date.class,
java.lang.String.class, long.class, java.lang.String.class,
long.class, long[].class, java.lang.String[].class, boolean.class,
Expand All @@ -388,7 +443,7 @@ public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
java.lang.String.class, java.lang.String.class, int.class, int.class,
java.lang.Double.class
};
private static final Class<?>[] _updateEntryParameterTypes8 = new Class[] {
private static final Class<?>[] _updateEntryParameterTypes9 = new Class[] {
long.class, java.util.Date.class, java.util.Date.class,
java.lang.String.class, long.class, java.lang.String.class,
long.class, long[].class, java.lang.String[].class, boolean.class,
Expand Down
Expand Up @@ -168,6 +168,41 @@ public static com.liferay.asset.kernel.model.AssetEntrySoap incrementViewCounter
}
}

public static com.liferay.asset.kernel.model.AssetEntrySoap updateEntry(
long groupId, java.util.Date createDate, java.util.Date modifiedDate,
java.lang.String className, long classPK, java.lang.String classUuid,
long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
boolean listable, boolean visible, java.util.Date startDate,
java.util.Date endDate, java.util.Date publishDate,
java.util.Date expirationDate, java.lang.String mimeType,
java.lang.String title, java.lang.String description,
java.lang.String summary, java.lang.String url,
java.lang.String layoutUuid, int height, int width,
java.lang.Double priority) throws RemoteException {
try {
com.liferay.asset.kernel.model.AssetEntry returnValue = AssetEntryServiceUtil.updateEntry(groupId,
createDate, modifiedDate, className, classPK, classUuid,
classTypeId, categoryIds, tagNames, listable, visible,
startDate, endDate, publishDate, expirationDate, mimeType,
title, description, summary, url, layoutUuid, height,
width, priority);

return com.liferay.asset.kernel.model.AssetEntrySoap.toSoapModel(returnValue);
}
catch (Exception e) {
_log.error(e, e);

throw new RemoteException(e.getMessage());
}
}

/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, Date,
Date, String, long, String, long, long[], String[], boolean,
boolean, Date, Date, Date, Date, String, String, String,
String, String, String, int, int, Double)}
*/
@Deprecated
public static com.liferay.asset.kernel.model.AssetEntrySoap updateEntry(
long groupId, java.util.Date createDate, java.util.Date modifiedDate,
java.lang.String className, long classPK, java.lang.String classUuid,
Expand Down Expand Up @@ -198,8 +233,8 @@ public static com.liferay.asset.kernel.model.AssetEntrySoap updateEntry(
/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, Date,
Date, String, long, String, long, long[], String[], boolean,
boolean, Date, Date, Date, String, String, String, String,
String, String, int, int, Double)}
boolean, Date, Date, Date, Date, String, String, String,
String, String, String, int, int, Double)}
*/
@Deprecated
public static com.liferay.asset.kernel.model.AssetEntrySoap updateEntry(
Expand Down
Expand Up @@ -191,6 +191,13 @@ public AssetEntry updateEntry(long userId, long groupId,
java.lang.String className, long classPK, long[] categoryIds,
java.lang.String[] tagNames) throws PortalException;

/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, long,
Date, Date, String, long, String, long, long[], String[],
boolean, boolean, Date, Date, Date, Date, String, String,
String, String, String, String, int, int, Double)}
*/
@java.lang.Deprecated
public AssetEntry updateEntry(long userId, long groupId, Date createDate,
Date modifiedDate, java.lang.String className, long classPK,
java.lang.String classUuid, long classTypeId, long[] categoryIds,
Expand All @@ -201,11 +208,21 @@ public AssetEntry updateEntry(long userId, long groupId, Date createDate,
java.lang.String url, java.lang.String layoutUuid, int height,
int width, java.lang.Double priority) throws PortalException;

public AssetEntry updateEntry(long userId, long groupId, Date createDate,
Date modifiedDate, java.lang.String className, long classPK,
java.lang.String classUuid, long classTypeId, long[] categoryIds,
java.lang.String[] tagNames, boolean listable, boolean visible,
Date startDate, Date endDate, Date publishDate, Date expirationDate,
java.lang.String mimeType, java.lang.String title,
java.lang.String description, java.lang.String summary,
java.lang.String url, java.lang.String layoutUuid, int height,
int width, java.lang.Double priority) throws PortalException;

/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, long,
Date, Date, String, long, String, long, long[], String[],
boolean, boolean, Date, Date, Date, String, String, String,
String, String, String, int, int, Double)}
boolean, boolean, Date, Date, Date, Date, String, String,
String, String, String, String, int, int, Double)}
*/
@java.lang.Deprecated
public AssetEntry updateEntry(long userId, long groupId, Date createDate,
Expand Down
Expand Up @@ -233,6 +233,13 @@ public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
categoryIds, tagNames);
}

/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, long,
Date, Date, String, long, String, long, long[], String[],
boolean, boolean, Date, Date, Date, Date, String, String,
String, String, String, String, int, int, Double)}
*/
@Deprecated
public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
long userId, long groupId, java.util.Date createDate,
java.util.Date modifiedDate, java.lang.String className, long classPK,
Expand All @@ -253,11 +260,31 @@ public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
priority);
}

public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
long userId, long groupId, java.util.Date createDate,
java.util.Date modifiedDate, java.lang.String className, long classPK,
java.lang.String classUuid, long classTypeId, long[] categoryIds,
java.lang.String[] tagNames, boolean listable, boolean visible,
java.util.Date startDate, java.util.Date endDate,
java.util.Date publishDate, java.util.Date expirationDate,
java.lang.String mimeType, java.lang.String title,
java.lang.String description, java.lang.String summary,
java.lang.String url, java.lang.String layoutUuid, int height,
int width, java.lang.Double priority)
throws com.liferay.portal.kernel.exception.PortalException {
return getService()
.updateEntry(userId, groupId, createDate, modifiedDate,
className, classPK, classUuid, classTypeId, categoryIds, tagNames,
listable, visible, startDate, endDate, publishDate, expirationDate,
mimeType, title, description, summary, url, layoutUuid, height,
width, priority);
}

/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, long,
Date, Date, String, long, String, long, long[], String[],
boolean, boolean, Date, Date, Date, String, String, String,
String, String, String, int, int, Double)}
boolean, boolean, Date, Date, Date, Date, String, String,
String, String, String, String, int, int, Double)}
*/
@Deprecated
public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
Expand Down
Expand Up @@ -246,6 +246,13 @@ public com.liferay.asset.kernel.model.AssetEntry updateEntry(long userId,
classPK, categoryIds, tagNames);
}

/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, long,
Date, Date, String, long, String, long, long[], String[],
boolean, boolean, Date, Date, Date, Date, String, String,
String, String, String, String, int, int, Double)}
*/
@Deprecated
@Override
public com.liferay.asset.kernel.model.AssetEntry updateEntry(long userId,
long groupId, java.util.Date createDate, java.util.Date modifiedDate,
Expand All @@ -265,11 +272,31 @@ public com.liferay.asset.kernel.model.AssetEntry updateEntry(long userId,
layoutUuid, height, width, priority);
}

@Override
public com.liferay.asset.kernel.model.AssetEntry updateEntry(long userId,
long groupId, java.util.Date createDate, java.util.Date modifiedDate,
java.lang.String className, long classPK, java.lang.String classUuid,
long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
boolean listable, boolean visible, java.util.Date startDate,
java.util.Date endDate, java.util.Date publishDate,
java.util.Date expirationDate, java.lang.String mimeType,
java.lang.String title, java.lang.String description,
java.lang.String summary, java.lang.String url,
java.lang.String layoutUuid, int height, int width,
java.lang.Double priority)
throws com.liferay.portal.kernel.exception.PortalException {
return _assetEntryLocalService.updateEntry(userId, groupId, createDate,
modifiedDate, className, classPK, classUuid, classTypeId,
categoryIds, tagNames, listable, visible, startDate, endDate,
publishDate, expirationDate, mimeType, title, description, summary,
url, layoutUuid, height, width, priority);
}

/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, long,
Date, Date, String, long, String, long, long[], String[],
boolean, boolean, Date, Date, Date, String, String, String,
String, String, String, int, int, Double)}
boolean, boolean, Date, Date, Date, Date, String, String,
String, String, String, String, int, int, Double)}
*/
@Deprecated
@Override
Expand Down
Expand Up @@ -62,6 +62,13 @@ public interface AssetEntryService extends BaseService {
public AssetEntry incrementViewCounter(java.lang.String className,
long classPK) throws PortalException;

/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, Date,
Date, String, long, String, long, long[], String[], boolean,
boolean, Date, Date, Date, Date, String, String, String,
String, String, String, int, int, Double)}
*/
@java.lang.Deprecated
public AssetEntry updateEntry(long groupId, Date createDate,
Date modifiedDate, java.lang.String className, long classPK,
java.lang.String classUuid, long classTypeId, long[] categoryIds,
Expand All @@ -72,11 +79,21 @@ public AssetEntry updateEntry(long groupId, Date createDate,
java.lang.String url, java.lang.String layoutUuid, int height,
int width, java.lang.Double priority) throws PortalException;

public AssetEntry updateEntry(long groupId, Date createDate,
Date modifiedDate, java.lang.String className, long classPK,
java.lang.String classUuid, long classTypeId, long[] categoryIds,
java.lang.String[] tagNames, boolean listable, boolean visible,
Date startDate, Date endDate, Date publishDate, Date expirationDate,
java.lang.String mimeType, java.lang.String title,
java.lang.String description, java.lang.String summary,
java.lang.String url, java.lang.String layoutUuid, int height,
int width, java.lang.Double priority) throws PortalException;

/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, Date,
Date, String, long, String, long, long[], String[], boolean,
boolean, Date, Date, Date, String, String, String, String,
String, String, int, int, Double)}
boolean, Date, Date, Date, Date, String, String, String,
String, String, String, int, int, Double)}
*/
@java.lang.Deprecated
public AssetEntry updateEntry(long groupId, Date createDate,
Expand Down
Expand Up @@ -58,6 +58,13 @@ public static com.liferay.asset.kernel.model.AssetEntry incrementViewCounter(
return getService().incrementViewCounter(className, classPK);
}

/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, Date,
Date, String, long, String, long, long[], String[], boolean,
boolean, Date, Date, Date, Date, String, String, String,
String, String, String, int, int, Double)}
*/
@Deprecated
public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
long groupId, java.util.Date createDate, java.util.Date modifiedDate,
java.lang.String className, long classPK, java.lang.String classUuid,
Expand All @@ -76,11 +83,31 @@ public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
description, summary, url, layoutUuid, height, width, priority);
}

public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
long groupId, java.util.Date createDate, java.util.Date modifiedDate,
java.lang.String className, long classPK, java.lang.String classUuid,
long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
boolean listable, boolean visible, java.util.Date startDate,
java.util.Date endDate, java.util.Date publishDate,
java.util.Date expirationDate, java.lang.String mimeType,
java.lang.String title, java.lang.String description,
java.lang.String summary, java.lang.String url,
java.lang.String layoutUuid, int height, int width,
java.lang.Double priority)
throws com.liferay.portal.kernel.exception.PortalException {
return getService()
.updateEntry(groupId, createDate, modifiedDate, className,
classPK, classUuid, classTypeId, categoryIds, tagNames, listable,
visible, startDate, endDate, publishDate, expirationDate, mimeType,
title, description, summary, url, layoutUuid, height, width,
priority);
}

/**
* @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, Date,
Date, String, long, String, long, long[], String[], boolean,
boolean, Date, Date, Date, String, String, String, String,
String, String, int, int, Double)}
boolean, Date, Date, Date, Date, String, String, String,
String, String, String, int, int, Double)}
*/
@Deprecated
public static com.liferay.asset.kernel.model.AssetEntry updateEntry(
Expand Down

0 comments on commit 772cf7c

Please sign in to comment.