Skip to content

Commit

Permalink
LPS-31923 Autogenerated
Browse files Browse the repository at this point in the history
  • Loading branch information
juanferrub authored and brianchandotcom committed Dec 26, 2012
1 parent fbc91e8 commit 5e70cf5
Show file tree
Hide file tree
Showing 8 changed files with 190 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,51 @@
* @generated
*/
public class DDMStructureServiceHttp {
public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
HttpPrincipal httpPrincipal, long userId, long groupId,
java.lang.String parentStructureKey, long classNameId,
java.lang.String structureKey,
java.util.Map<java.util.Locale, java.lang.String> nameMap,
java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
java.lang.String xsd, java.lang.String storageType, int type,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"addStructure", _addStructureParameterTypes0);

MethodHandler methodHandler = new MethodHandler(methodKey, userId,
groupId, parentStructureKey, classNameId, structureKey,
nameMap, descriptionMap, xsd, storageType, type,
serviceContext);

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;
}

if (e instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)e;
}

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

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

throw se;
}
}

public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
HttpPrincipal httpPrincipal, long userId, long groupId,
long classNameId,
Expand All @@ -65,7 +110,7 @@ public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStruc
com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"addStructure", _addStructureParameterTypes0);
"addStructure", _addStructureParameterTypes1);

MethodHandler methodHandler = new MethodHandler(methodKey, userId,
groupId, classNameId, nameMap, descriptionMap, xsd,
Expand Down Expand Up @@ -108,7 +153,7 @@ public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStruc
com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"addStructure", _addStructureParameterTypes1);
"addStructure", _addStructureParameterTypes2);

MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
parentStructureId, classNameId, structureKey, nameMap,
Expand Down Expand Up @@ -149,7 +194,7 @@ public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure copyStru
com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"copyStructure", _copyStructureParameterTypes2);
"copyStructure", _copyStructureParameterTypes3);

MethodHandler methodHandler = new MethodHandler(methodKey,
structureId, nameMap, descriptionMap, serviceContext);
Expand Down Expand Up @@ -186,7 +231,7 @@ public static void deleteStructure(HttpPrincipal httpPrincipal,
com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"deleteStructure", _deleteStructureParameterTypes3);
"deleteStructure", _deleteStructureParameterTypes4);

MethodHandler methodHandler = new MethodHandler(methodKey,
structureId);
Expand Down Expand Up @@ -219,7 +264,7 @@ public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStr
com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"fetchStructure", _fetchStructureParameterTypes4);
"fetchStructure", _fetchStructureParameterTypes5);

MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
structureKey);
Expand Down Expand Up @@ -256,7 +301,7 @@ public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStruc
com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"getStructure", _getStructureParameterTypes5);
"getStructure", _getStructureParameterTypes6);

MethodHandler methodHandler = new MethodHandler(methodKey,
structureId);
Expand Down Expand Up @@ -293,7 +338,7 @@ public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStruc
com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"getStructure", _getStructureParameterTypes6);
"getStructure", _getStructureParameterTypes7);

MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
structureKey);
Expand Down Expand Up @@ -331,7 +376,7 @@ public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStruc
com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"getStructure", _getStructureParameterTypes7);
"getStructure", _getStructureParameterTypes8);

MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
structureKey, includeGlobalStructures);
Expand Down Expand Up @@ -367,7 +412,7 @@ public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStr
throws com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"getStructures", _getStructuresParameterTypes8);
"getStructures", _getStructuresParameterTypes9);

MethodHandler methodHandler = new MethodHandler(methodKey, groupId);

Expand Down Expand Up @@ -398,7 +443,7 @@ public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStr
throws com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"getStructures", _getStructuresParameterTypes9);
"getStructures", _getStructuresParameterTypes10);

MethodHandler methodHandler = new MethodHandler(methodKey, groupIds);

Expand Down Expand Up @@ -431,7 +476,7 @@ public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStr
throws com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"search", _searchParameterTypes10);
"search", _searchParameterTypes11);

MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, groupIds, classNameIds, keywords, start, end,
Expand Down Expand Up @@ -468,7 +513,7 @@ public static java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStr
throws com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"search", _searchParameterTypes11);
"search", _searchParameterTypes12);

MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, groupIds, classNameIds, name, description,
Expand Down Expand Up @@ -502,7 +547,7 @@ public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
throws com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"searchCount", _searchCountParameterTypes12);
"searchCount", _searchCountParameterTypes13);

MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, groupIds, classNameIds, keywords);
Expand Down Expand Up @@ -536,7 +581,7 @@ public static int searchCount(HttpPrincipal httpPrincipal, long companyId,
throws com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"searchCount", _searchCountParameterTypes13);
"searchCount", _searchCountParameterTypes14);

MethodHandler methodHandler = new MethodHandler(methodKey,
companyId, groupIds, classNameIds, name, description,
Expand Down Expand Up @@ -574,7 +619,7 @@ public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateSt
com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"updateStructure", _updateStructureParameterTypes14);
"updateStructure", _updateStructureParameterTypes15);

MethodHandler methodHandler = new MethodHandler(methodKey,
structureId, parentStructureId, nameMap, descriptionMap,
Expand Down Expand Up @@ -617,7 +662,7 @@ public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateSt
com.liferay.portal.kernel.exception.SystemException {
try {
MethodKey methodKey = new MethodKey(DDMStructureServiceUtil.class,
"updateStructure", _updateStructureParameterTypes15);
"updateStructure", _updateStructureParameterTypes16);

MethodHandler methodHandler = new MethodHandler(methodKey, groupId,
parentStructureId, structureKey, nameMap, descriptionMap,
Expand Down Expand Up @@ -651,66 +696,72 @@ public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateSt

private static Log _log = LogFactoryUtil.getLog(DDMStructureServiceHttp.class);
private static final Class<?>[] _addStructureParameterTypes0 = new Class[] {
long.class, long.class, java.lang.String.class, long.class,
java.lang.String.class, java.util.Map.class, java.util.Map.class,
java.lang.String.class, java.lang.String.class, int.class,
com.liferay.portal.service.ServiceContext.class
};
private static final Class<?>[] _addStructureParameterTypes1 = new Class[] {
long.class, long.class, long.class, java.util.Map.class,
java.util.Map.class, java.lang.String.class,
com.liferay.portal.service.ServiceContext.class
};
private static final Class<?>[] _addStructureParameterTypes1 = new Class[] {
private static final Class<?>[] _addStructureParameterTypes2 = new Class[] {
long.class, long.class, long.class, java.lang.String.class,
java.util.Map.class, java.util.Map.class, java.lang.String.class,
java.lang.String.class, int.class,
com.liferay.portal.service.ServiceContext.class
};
private static final Class<?>[] _copyStructureParameterTypes2 = new Class[] {
private static final Class<?>[] _copyStructureParameterTypes3 = new Class[] {
long.class, java.util.Map.class, java.util.Map.class,
com.liferay.portal.service.ServiceContext.class
};
private static final Class<?>[] _deleteStructureParameterTypes3 = new Class[] {
private static final Class<?>[] _deleteStructureParameterTypes4 = new Class[] {
long.class
};
private static final Class<?>[] _fetchStructureParameterTypes4 = new Class[] {
private static final Class<?>[] _fetchStructureParameterTypes5 = new Class[] {
long.class, java.lang.String.class
};
private static final Class<?>[] _getStructureParameterTypes5 = new Class[] {
private static final Class<?>[] _getStructureParameterTypes6 = new Class[] {
long.class
};
private static final Class<?>[] _getStructureParameterTypes6 = new Class[] {
private static final Class<?>[] _getStructureParameterTypes7 = new Class[] {
long.class, java.lang.String.class
};
private static final Class<?>[] _getStructureParameterTypes7 = new Class[] {
private static final Class<?>[] _getStructureParameterTypes8 = new Class[] {
long.class, java.lang.String.class, boolean.class
};
private static final Class<?>[] _getStructuresParameterTypes8 = new Class[] {
private static final Class<?>[] _getStructuresParameterTypes9 = new Class[] {
long.class
};
private static final Class<?>[] _getStructuresParameterTypes9 = new Class[] {
private static final Class<?>[] _getStructuresParameterTypes10 = new Class[] {
long[].class
};
private static final Class<?>[] _searchParameterTypes10 = new Class[] {
private static final Class<?>[] _searchParameterTypes11 = new Class[] {
long.class, long[].class, long[].class, java.lang.String.class,
int.class, int.class,
com.liferay.portal.kernel.util.OrderByComparator.class
};
private static final Class<?>[] _searchParameterTypes11 = new Class[] {
private static final Class<?>[] _searchParameterTypes12 = new Class[] {
long.class, long[].class, long[].class, java.lang.String.class,
java.lang.String.class, java.lang.String.class, int.class,
boolean.class, int.class, int.class,
com.liferay.portal.kernel.util.OrderByComparator.class
};
private static final Class<?>[] _searchCountParameterTypes12 = new Class[] {
private static final Class<?>[] _searchCountParameterTypes13 = new Class[] {
long.class, long[].class, long[].class, java.lang.String.class
};
private static final Class<?>[] _searchCountParameterTypes13 = new Class[] {
private static final Class<?>[] _searchCountParameterTypes14 = new Class[] {
long.class, long[].class, long[].class, java.lang.String.class,
java.lang.String.class, java.lang.String.class, int.class,
boolean.class
};
private static final Class<?>[] _updateStructureParameterTypes14 = new Class[] {
private static final Class<?>[] _updateStructureParameterTypes15 = new Class[] {
long.class, long.class, java.util.Map.class, java.util.Map.class,
java.lang.String.class,
com.liferay.portal.service.ServiceContext.class
};
private static final Class<?>[] _updateStructureParameterTypes15 = new Class[] {
private static final Class<?>[] _updateStructureParameterTypes16 = new Class[] {
long.class, long.class, java.lang.String.class, java.util.Map.class,
java.util.Map.class, java.lang.String.class,
com.liferay.portal.service.ServiceContext.class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,36 @@
* @generated
*/
public class DDMStructureServiceSoap {
public static com.liferay.portlet.dynamicdatamapping.model.DDMStructureSoap addStructure(
long userId, long groupId, java.lang.String parentStructureKey,
long classNameId, java.lang.String structureKey,
java.lang.String[] nameMapLanguageIds,
java.lang.String[] nameMapValues,
java.lang.String[] descriptionMapLanguageIds,
java.lang.String[] descriptionMapValues, java.lang.String xsd,
java.lang.String storageType, int type,
com.liferay.portal.service.ServiceContext serviceContext)
throws RemoteException {
try {
Map<Locale, String> nameMap = LocalizationUtil.getLocalizationMap(nameMapLanguageIds,
nameMapValues);
Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
descriptionMapValues);

com.liferay.portlet.dynamicdatamapping.model.DDMStructure returnValue =
DDMStructureServiceUtil.addStructure(userId, groupId,
parentStructureKey, classNameId, structureKey, nameMap,
descriptionMap, xsd, storageType, type, serviceContext);

return com.liferay.portlet.dynamicdatamapping.model.DDMStructureSoap.toSoapModel(returnValue);
}
catch (Exception e) {
_log.error(e, e);

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

public static com.liferay.portlet.dynamicdatamapping.model.DDMStructureSoap addStructure(
long userId, long groupId, long classNameId,
java.lang.String[] nameMapLanguageIds,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,16 @@ public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateDDMStruct
*/
public void setBeanIdentifier(java.lang.String beanIdentifier);

public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
long userId, long groupId, java.lang.String parentStructureKey,
long classNameId, java.lang.String structureKey,
java.util.Map<java.util.Locale, java.lang.String> nameMap,
java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
java.lang.String xsd, java.lang.String storageType, int type,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;

public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
long userId, long groupId, long parentStructureId, long classNameId,
java.lang.String structureKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,21 @@ public static void setBeanIdentifier(java.lang.String beanIdentifier) {
getService().setBeanIdentifier(beanIdentifier);
}

public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
long userId, long groupId, java.lang.String parentStructureKey,
long classNameId, java.lang.String structureKey,
java.util.Map<java.util.Locale, java.lang.String> nameMap,
java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
java.lang.String xsd, java.lang.String storageType, int type,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return getService()
.addStructure(userId, groupId, parentStructureKey,
classNameId, structureKey, nameMap, descriptionMap, xsd,
storageType, type, serviceContext);
}

public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
long userId, long groupId, long parentStructureId, long classNameId,
java.lang.String structureKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,20 @@ public void setBeanIdentifier(java.lang.String beanIdentifier) {
_ddmStructureLocalService.setBeanIdentifier(beanIdentifier);
}

public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
long userId, long groupId, java.lang.String parentStructureKey,
long classNameId, java.lang.String structureKey,
java.util.Map<java.util.Locale, java.lang.String> nameMap,
java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
java.lang.String xsd, java.lang.String storageType, int type,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException {
return _ddmStructureLocalService.addStructure(userId, groupId,
parentStructureKey, classNameId, structureKey, nameMap,
descriptionMap, xsd, storageType, type, serviceContext);
}

public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
long userId, long groupId, long parentStructureId, long classNameId,
java.lang.String structureKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ public interface DDMStructureService extends BaseService {
*/
public void setBeanIdentifier(java.lang.String beanIdentifier);

public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
long userId, long groupId, java.lang.String parentStructureKey,
long classNameId, java.lang.String structureKey,
java.util.Map<java.util.Locale, java.lang.String> nameMap,
java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
java.lang.String xsd, java.lang.String storageType, int type,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;

public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
long userId, long groupId, long classNameId,
java.util.Map<java.util.Locale, java.lang.String> nameMap,
Expand Down
Loading

0 comments on commit 5e70cf5

Please sign in to comment.