Skip to content

Commit

Permalink
WCM-364 Regen
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo Garcia committed Jun 29, 2015
1 parent 9f0e113 commit 607bfeb
Show file tree
Hide file tree
Showing 19 changed files with 680 additions and 63 deletions.
3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -321,6 +321,11 @@ public com.liferay.content.targeting.model.TrackingActionInstance addTrackingAct
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;

@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public com.liferay.content.targeting.model.TrackingActionInstance fetchTrackingActionInstance(
long campaignId, java.lang.String alias)
throws com.liferay.portal.kernel.exception.SystemException;

@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<com.liferay.content.targeting.model.TrackingActionInstance> getTrackingActionInstances(
long campaignId)
Expand Down
Expand Up @@ -141,29 +141,33 @@ public TrackingActionInstanceLocalServiceClp(
"com.liferay.portal.service.ServiceContext"
};

_methodName24 = "getTrackingActionInstances";
_methodName24 = "fetchTrackingActionInstance";

_methodParameterTypes24 = new String[] { "long" };
_methodParameterTypes24 = new String[] { "long", "java.lang.String" };

_methodName25 = "getTrackingActionInstances";

_methodParameterTypes25 = new String[] {
"long", "java.lang.String", "long", "java.lang.String"
};
_methodParameterTypes25 = new String[] { "long" };

_methodName26 = "getTrackingActionInstances";

_methodParameterTypes26 = new String[] {
"long", "java.lang.String", "long", "java.lang.String"
};

_methodName27 = "getTrackingActionInstances";

_methodParameterTypes27 = new String[] {
"long", "java.lang.String", "java.lang.String"
};

_methodName27 = "getTrackingActionInstancesCount";
_methodName28 = "getTrackingActionInstancesCount";

_methodParameterTypes27 = new String[] { "long" };
_methodParameterTypes28 = new String[] { "long" };

_methodName28 = "updateTrackingActionInstance";
_methodName29 = "updateTrackingActionInstance";

_methodParameterTypes28 = new String[] {
_methodParameterTypes29 = new String[] {
"long", "java.lang.String", "java.lang.String", "long",
"java.lang.String", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
Expand Down Expand Up @@ -924,15 +928,46 @@ public com.liferay.content.targeting.model.TrackingActionInstance addTrackingAct
return (com.liferay.content.targeting.model.TrackingActionInstance)ClpSerializer.translateOutput(returnObj);
}

@Override
public com.liferay.content.targeting.model.TrackingActionInstance fetchTrackingActionInstance(
long campaignId, java.lang.String alias)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;

try {
returnObj = _invokableLocalService.invokeMethod(_methodName24,
_methodParameterTypes24,
new Object[] { campaignId, ClpSerializer.translateInput(
alias) });
}
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 (com.liferay.content.targeting.model.TrackingActionInstance)ClpSerializer.translateOutput(returnObj);
}

@Override
public java.util.List<com.liferay.content.targeting.model.TrackingActionInstance> getTrackingActionInstances(
long campaignId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;

try {
returnObj = _invokableLocalService.invokeMethod(_methodName24,
_methodParameterTypes24, new Object[] { campaignId });
returnObj = _invokableLocalService.invokeMethod(_methodName25,
_methodParameterTypes25, new Object[] { campaignId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
Expand Down Expand Up @@ -961,8 +996,8 @@ public java.util.List<com.liferay.content.targeting.model.TrackingActionInstance
Object returnObj = null;

try {
returnObj = _invokableLocalService.invokeMethod(_methodName25,
_methodParameterTypes25,
returnObj = _invokableLocalService.invokeMethod(_methodName26,
_methodParameterTypes26,
new Object[] {
campaignId,

Expand Down Expand Up @@ -999,8 +1034,8 @@ public java.util.List<com.liferay.content.targeting.model.TrackingActionInstance
Object returnObj = null;

try {
returnObj = _invokableLocalService.invokeMethod(_methodName26,
_methodParameterTypes26,
returnObj = _invokableLocalService.invokeMethod(_methodName27,
_methodParameterTypes27,
new Object[] {
campaignId,

Expand Down Expand Up @@ -1034,8 +1069,8 @@ public int getTrackingActionInstancesCount(long campaignId)
Object returnObj = null;

try {
returnObj = _invokableLocalService.invokeMethod(_methodName27,
_methodParameterTypes27, new Object[] { campaignId });
returnObj = _invokableLocalService.invokeMethod(_methodName28,
_methodParameterTypes28, new Object[] { campaignId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
Expand Down Expand Up @@ -1068,8 +1103,8 @@ public com.liferay.content.targeting.model.TrackingActionInstance updateTracking
Object returnObj = null;

try {
returnObj = _invokableLocalService.invokeMethod(_methodName28,
_methodParameterTypes28,
returnObj = _invokableLocalService.invokeMethod(_methodName29,
_methodParameterTypes29,
new Object[] {
trackingActionInstanceId,

Expand Down Expand Up @@ -1168,4 +1203,6 @@ public com.liferay.content.targeting.model.TrackingActionInstance updateTracking
private String[] _methodParameterTypes27;
private String _methodName28;
private String[] _methodParameterTypes28;
private String _methodName29;
private String[] _methodParameterTypes29;
}
Expand Up @@ -358,6 +358,12 @@ public static com.liferay.content.targeting.model.TrackingActionInstance addTrac
eventType, typeSettings, serviceContext);
}

public static com.liferay.content.targeting.model.TrackingActionInstance fetchTrackingActionInstance(
long campaignId, java.lang.String alias)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().fetchTrackingActionInstance(campaignId, alias);
}

public static java.util.List<com.liferay.content.targeting.model.TrackingActionInstance> getTrackingActionInstances(
long campaignId)
throws com.liferay.portal.kernel.exception.SystemException {
Expand Down
Expand Up @@ -374,6 +374,14 @@ public com.liferay.content.targeting.model.TrackingActionInstance addTrackingAct
referrerClassPK, elementId, eventType, typeSettings, serviceContext);
}

@Override
public com.liferay.content.targeting.model.TrackingActionInstance fetchTrackingActionInstance(
long campaignId, java.lang.String alias)
throws com.liferay.portal.kernel.exception.SystemException {
return _trackingActionInstanceLocalService.fetchTrackingActionInstance(campaignId,
alias);
}

@Override
public java.util.List<com.liferay.content.targeting.model.TrackingActionInstance> getTrackingActionInstances(
long campaignId)
Expand Down
Expand Up @@ -85,6 +85,10 @@ public com.liferay.content.targeting.model.TrackingActionInstance deleteTracking
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException;

@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public com.liferay.content.targeting.model.TrackingActionInstance fetchTrackingActionInstance(
long campaignId, java.lang.String alias) throws java.lang.Exception;

@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<com.liferay.content.targeting.model.TrackingActionInstance> getTrackingActionInstances(
long campaignId)
Expand Down
Expand Up @@ -46,17 +46,21 @@ public TrackingActionInstanceServiceClp(InvokableService invokableService) {

_methodParameterTypes4 = new String[] { "long" };

_methodName5 = "getTrackingActionInstances";
_methodName5 = "fetchTrackingActionInstance";

_methodParameterTypes5 = new String[] { "long" };
_methodParameterTypes5 = new String[] { "long", "java.lang.String" };

_methodName6 = "getTrackingActionInstancesCount";
_methodName6 = "getTrackingActionInstances";

_methodParameterTypes6 = new String[] { "long" };

_methodName7 = "updateTrackingActionInstance";
_methodName7 = "getTrackingActionInstancesCount";

_methodParameterTypes7 = new String[] {
_methodParameterTypes7 = new String[] { "long" };

_methodName8 = "updateTrackingActionInstance";

_methodParameterTypes8 = new String[] {
"long", "java.lang.String", "java.lang.String", "long",
"java.lang.String", "java.lang.String", "java.lang.String",
"com.liferay.portal.service.ServiceContext"
Expand Down Expand Up @@ -207,15 +211,45 @@ public com.liferay.content.targeting.model.TrackingActionInstance deleteTracking
return (com.liferay.content.targeting.model.TrackingActionInstance)ClpSerializer.translateOutput(returnObj);
}

@Override
public com.liferay.content.targeting.model.TrackingActionInstance fetchTrackingActionInstance(
long campaignId, java.lang.String alias) throws java.lang.Exception {
Object returnObj = null;

try {
returnObj = _invokableService.invokeMethod(_methodName5,
_methodParameterTypes5,
new Object[] { campaignId, ClpSerializer.translateInput(
alias) });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);

if (t instanceof java.lang.Exception) {
throw (java.lang.Exception)t;
}

if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}

return (com.liferay.content.targeting.model.TrackingActionInstance)ClpSerializer.translateOutput(returnObj);
}

@Override
public java.util.List<com.liferay.content.targeting.model.TrackingActionInstance> getTrackingActionInstances(
long campaignId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;

try {
returnObj = _invokableService.invokeMethod(_methodName5,
_methodParameterTypes5, new Object[] { campaignId });
returnObj = _invokableService.invokeMethod(_methodName6,
_methodParameterTypes6, new Object[] { campaignId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
Expand All @@ -242,8 +276,8 @@ public int getTrackingActionInstancesCount(long campaignId)
Object returnObj = null;

try {
returnObj = _invokableService.invokeMethod(_methodName6,
_methodParameterTypes6, new Object[] { campaignId });
returnObj = _invokableService.invokeMethod(_methodName7,
_methodParameterTypes7, new Object[] { campaignId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
Expand Down Expand Up @@ -276,8 +310,8 @@ public com.liferay.content.targeting.model.TrackingActionInstance updateTracking
Object returnObj = null;

try {
returnObj = _invokableService.invokeMethod(_methodName7,
_methodParameterTypes7,
returnObj = _invokableService.invokeMethod(_methodName8,
_methodParameterTypes8,
new Object[] {
trackingActionInstanceId,

Expand Down Expand Up @@ -334,4 +368,6 @@ public com.liferay.content.targeting.model.TrackingActionInstance updateTracking
private String[] _methodParameterTypes6;
private String _methodName7;
private String[] _methodParameterTypes7;
private String _methodName8;
private String[] _methodParameterTypes8;
}
Expand Up @@ -90,6 +90,11 @@ public static com.liferay.content.targeting.model.TrackingActionInstance deleteT
.deleteTrackingActionInstance(trackingActionInstanceId);
}

public static com.liferay.content.targeting.model.TrackingActionInstance fetchTrackingActionInstance(
long campaignId, java.lang.String alias) throws java.lang.Exception {
return getService().fetchTrackingActionInstance(campaignId, alias);
}

public static java.util.List<com.liferay.content.targeting.model.TrackingActionInstance> getTrackingActionInstances(
long campaignId)
throws com.liferay.portal.kernel.exception.SystemException {
Expand Down
Expand Up @@ -86,6 +86,13 @@ public com.liferay.content.targeting.model.TrackingActionInstance deleteTracking
return _trackingActionInstanceService.deleteTrackingActionInstance(trackingActionInstanceId);
}

@Override
public com.liferay.content.targeting.model.TrackingActionInstance fetchTrackingActionInstance(
long campaignId, java.lang.String alias) throws java.lang.Exception {
return _trackingActionInstanceService.fetchTrackingActionInstance(campaignId,
alias);
}

@Override
public java.util.List<com.liferay.content.targeting.model.TrackingActionInstance> getTrackingActionInstances(
long campaignId)
Expand Down

0 comments on commit 607bfeb

Please sign in to comment.