Skip to content

Commit

Permalink
LPD-32072 buildService
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjiheigel authored and brianchandotcom committed Aug 8, 2024
1 parent fb90fa5 commit ae5b605
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,17 @@ public class DLFileEntryTypeServiceHttp {
}
}

public static void deleteFileEntryTypeByExternalReferenceCode(
HttpPrincipal httpPrincipal, String externalReferenceCode,
long groupId)
public static void deleteFileEntryType(
HttpPrincipal httpPrincipal, long fileEntryTypeId)
throws com.liferay.portal.kernel.exception.PortalException {

try {
MethodKey methodKey = new MethodKey(
DLFileEntryTypeServiceUtil.class,
"deleteFileEntryTypeByExternalReferenceCode",
_deleteFileEntryTypeByExternalReferenceCodeParameterTypes1);
DLFileEntryTypeServiceUtil.class, "deleteFileEntryType",
_deleteFileEntryTypeParameterTypes1);

MethodHandler methodHandler = new MethodHandler(
methodKey, externalReferenceCode, groupId);
methodKey, fileEntryTypeId);

try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
Expand All @@ -126,17 +124,19 @@ public static void deleteFileEntryTypeByExternalReferenceCode(
}
}

public static void deleteFileEntryType(
HttpPrincipal httpPrincipal, long fileEntryTypeId)
public static void deleteFileEntryTypeByExternalReferenceCode(
HttpPrincipal httpPrincipal, String externalReferenceCode,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException {

try {
MethodKey methodKey = new MethodKey(
DLFileEntryTypeServiceUtil.class, "deleteFileEntryType",
_deleteFileEntryTypeParameterTypes2);
DLFileEntryTypeServiceUtil.class,
"deleteFileEntryTypeByExternalReferenceCode",
_deleteFileEntryTypeByExternalReferenceCodeParameterTypes2);

MethodHandler methodHandler = new MethodHandler(
methodKey, fileEntryTypeId);
methodKey, externalReferenceCode, groupId);

try {
TunnelUtil.invoke(httpPrincipal, methodHandler);
Expand Down Expand Up @@ -726,11 +726,11 @@ public static int searchCount(
java.util.Map.class, java.util.Map.class,
com.liferay.portal.kernel.service.ServiceContext.class
};
private static final Class<?>[] _deleteFileEntryTypeParameterTypes1 =
new Class[] {long.class};
private static final Class<?>[]
_deleteFileEntryTypeByExternalReferenceCodeParameterTypes1 =
_deleteFileEntryTypeByExternalReferenceCodeParameterTypes2 =
new Class[] {String.class, long.class};
private static final Class<?>[] _deleteFileEntryTypeParameterTypes2 =
new Class[] {long.class};
private static final Class<?>[]
_fetchFileEntryTypeByExternalReferenceCodeParameterTypes3 =
new Class[] {String.class, long.class};
Expand Down

0 comments on commit ae5b605

Please sign in to comment.