This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set ($LayoutLocalService = $serviceLocator.findService("com.liferay.portal.service.LayoutLocalService")) | |
#set ($JournalArticleLocalService = $serviceLocator.findService("com.liferay.portlet.journal.service.JournalArticleLocalService")) | |
#if(!$entries.isEmpty()) | |
<div class="comentariosCuyuntura"> | |
<div class="container"> | |
<ul class="blockComentarios"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="https://platform.linkedin.com/in.js"> | |
api_key: 77n96cw5jr1gb9 | |
onLoad: onLinkedInLoad,onLinkedInAuth | |
authorize: false | |
</script> | |
<div id="displayUpdates"></div> | |
<script type="text/javascript"> | |
function onLinkedInLoad() { | |
IN.Event.on(IN, "auth", onLinkedInAuth); | |
console.log("On auth"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Your Website</title> | |
<script type="text/javascript" src="https://platform.linkedin.com/in.js"> | |
api_key: 77n96cw5jr1gb9 | |
onLoad: onLinkedInLoad, onLinkedInAuth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void checkFilePermissions(DLFileEntry dlFileEntry) { | |
try { | |
long id1 = CounterLocalServiceUtil.increment(ResourcePermission.class.getName()); | |
long id2 = CounterLocalServiceUtil.increment(ResourcePermission.class.getName()); | |
long id3 = CounterLocalServiceUtil.increment(ResourcePermission.class.getName()); | |
ResourcePermission rp1 = ResourcePermissionLocalServiceUtil.createResourcePermission( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Metadata | |
SearchParams sp = new SearchParams(companyId, groupId, locale, userId, start, end); | |
SearchParams sp = SearchUtils.generateSc(sp); // Generamos el search context que necesitamos para crear querys | |
// Query string | |
sp.setQuery(inputQuery); // String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vass; | |
import com.liferay.portal.kernel.language.LanguageUtil; | |
import com.liferay.portal.kernel.struts.BaseStrutsAction; | |
import com.liferay.portal.kernel.util.LocaleUtil; | |
import com.liferay.portal.kernel.util.StringPool; | |
import com.liferay.portal.kernel.util.Validator; | |
import com.liferay.portal.kernel.workflow.WorkflowConstants; | |
import com.liferay.portal.kernel.xml.Document; | |
import com.liferay.portal.kernel.xml.Element; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vass.index; | |
import com.liferay.portal.kernel.search.BooleanClause; | |
import com.liferay.portal.kernel.search.BooleanClauseFactoryUtil; | |
import com.liferay.portal.kernel.search.BooleanClauseOccur; | |
import com.liferay.portal.kernel.search.BooleanQuery; | |
import com.liferay.portal.kernel.search.BooleanQueryFactoryUtil; | |
import com.liferay.portal.kernel.search.Document; | |
import com.liferay.portal.kernel.search.Hits; | |
import com.liferay.portal.kernel.search.Indexer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="porlet-block-pie"> | |
<div class="container"> | |
<div class="pieBlockForma"> | |
<div class="span4"> | |
<div class="pieFormaCaja"> | |
<img alt="" src="/iese-theme/images/pieMasonry.png" /> | |
<div class="textoFormacionCajas cajaRoja"> | |
<p>Revista Alumni</p> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static String nextRngString() { | |
for (int idx = 0; idx < buf.length; ++idx) | |
buf[idx] = symbols[random.nextInt(symbols.length)]; | |
return new String(buf); | |
} | |
/* ***************************** | |
* **** Private constants ***** | |
***************************** */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.movistar.latam.colportal.util; | |
import javax.xml.ws.BindingProvider; | |
/** | |
* Utils relacionadas con las llamadas a servicios web | |
* @author sergio | |
*/ | |
public class WsUtil { | |