MONA

ABDULRHMAN A ALGHAMDI

Faculty of Applied College

Applied College

The Applied College seeks to develop the skills and capabilities of its students. It will continue to invest in the fields of education and training to equip young men and women for future employment. The college will also redouble its efforts to ensure that the results of its educational system are aligned with the needs of the labor market.

Menu applied College

Asset Publisher

An error occurred while processing the template.
Java method "static com.liferay.document.library.kernel.service.DLAppLocalServiceUtil.getFileEntryByUuidAndGroupId(String, long)" threw an exception; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: dlFile = dlAppLocalServiceUtil.getFil...  [in template "20100#20136#2308507" at line 50, column 13]
	- Reached through: #assign-container  [in template "20100#20136#2308507" at line 46, column 13]
----
1<script src="${themeDisplay.getPathThemeRoot()}/assets/vendor/masterslider/masterslider.min.js"></script> 
2<#assign color_scheme = themeDisplay.getColorScheme().getCssClass()> 
3<#assign dlAppLocalServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLAppLocalServiceUtil"] > 
4<#assign dlUtil = staticUtil["com.liferay.document.library.kernel.util.DLUtil"] > 
5<#if !entries?has_content> 
6<#if !themeDisplay.isSignedIn()> 
7${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)} 
8</#if> 
9<div class="alert alert-info"> 
10   <@liferay_ui["message"] key="there-are-no-results" /> 
11</div> 
12</#if> 
13<#assign cnt=0/> 
14<#assign cnt2=0/> 
15<section id="fcv" class="g-bg-secondary g-pt-50 g-pb-50"> 
16   <div class="container"> 
17      <div class="row g-mb-70" dir="ltr"> 
18         <div  id="masterslider"  class="mx-auto master-slider ms-skin-default ms-wk g-brd-around g-brd-2" style="width: 100%; height: 490px !importnat;"> 
19            <#list entries as entry> 
20            <#assign 
21            entry = entry 
22            pdate=entry.getPublishDate() 
23            assetRenderer = entry.getAssetRenderer() 
24            entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) 
25            journalArticle = assetRenderer.getArticle() 
26            viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent")) 
27            /> 
28            <#assign docXml = saxReaderUtil.read(assetRenderer.getArticle().getContentByLocale(locale)) /> 
29            <#assign FullName = docXml.valueOf("//dynamic-element[@name='FullName']/dynamic-content/text()") /> 
30            <#assign s_image = docXml.valueOf("//dynamic-element[@name='s_image']/dynamic-content/text()") /> 
31            <#assign specialization = docXml.valueOf("//dynamic-element[@name='specialization']/dynamic-content/text()") /> 
32            <#assign UploadCV = docXml.valueOf("//dynamic-element[@name='UploadCV']/dynamic-content/text()") /> 
33            <#assign urlTitle = journalArticle.getUrlTitle()> 
34            <#assign articleId = journalArticle.getArticleId()> 
35            <#assign redirect = portalUtil.getCurrentURL(request)> 
36            <#if s_image?has_content    > 
37            <#assign s_image = s_image 
38            dlFile_hashmap = jsonFactoryUtil.createJSONObject(s_image) 
39            uuid = dlFile_hashmap.uuid 
40            groupId = dlFile_hashmap.groupId 
41            dlFile = dlAppLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupId?number) 
42            s_image_url =  dlUtil.getPreviewURL(dlFile, dlFile.getFileVersion(),themeDisplay,'') 
43
44            </#if> 
45            <#if UploadCV?has_content    > 
46            <#assign UploadCV = UploadCV 
47            dlFile_hashmap = jsonFactoryUtil.createJSONObject(UploadCV) 
48            uuid = dlFile_hashmap.uuid 
49            groupId = dlFile_hashmap.groupId 
50            dlFile = dlAppLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupId?number) 
51            UploadCV_url =  dlUtil.getPreviewURL(dlFile, dlFile.getFileVersion(),themeDisplay,'') 
52
53            </#if> 
54            <#assign GroupLocalServiceUtil  = staticUtil["com.liferay.portal.kernel.service.GroupLocalServiceUtil"] 
55            mysite = GroupLocalServiceUtil.getGroup(assetRenderer.getGroupId()).getDescription(locale)/> 
56            <#if cnt2 = 0> 
57            <div class="ms-slide row"  data-delay="5"> 
58               </#if> 
59               <div class="cv-card col-lg-4 col-sm-6"> 
60                  <div class="content-card g-mb-30 u-shadow-v1-3"> 
61                     <!-- Figure --> 
62                     <figure class="text-center"> 
63                        <!-- Figure Image --> 
64                        <img class="img-fluid mx-auto  g-mb-20" src="${s_image_url}" alt="Image Description"> 
65                        <!-- End Figure Image --> 
66                        <!-- Figure Info --> 
67                        <div class="g-mb-20 g-mx-10"> 
68                           <h3 class="h3 g-color-bu-blue g-font-weight-700  g-mb-5"> ${FullName}</h3> 
69                           <h5 class="56 g-color-bu-blue g-font-weight-400  g-mb-13"> ${specialization}</h5> 
70                        </div> 
71                        <!-- End Info --> 
72                        <!-- Figure Social Icons --> 
73                        <ul class="list-unstyled mb-10 d-flex align-items-center justify-content-center"> 
74                           <li class="list-inline-item g-mx-5"> 
75                              <a class="u-icon-v1 g-color-bu-blue u-icon-size--l" href="${UploadCV_url}"> 
76                              <i class="fa fa-file"></i> 
77                              </a> 
78                           </li> 
79                           <li class="list-inline-item g-mx-5"> 
80                             <a href="${UploadCV_url}"> <h6 class="h6 g-color-bu-blue g-font-weight-600 g-mb-5 g-mt-5">Download CV</h6> </a> 
81                           </li> 
82                        </ul> 
83                        <!-- End Figure Social Icons --> 
84                     </figure> 
85                     <!-- End Figure --> 
86                     <div class="asset-abstract"> 
87                        <div class="pull-right"> 
88                           <@getPrintIcon /> 
89                           <@getFlagsIcon /> 
90                           <@getEditIcon /> 
91                        </div> 
92                     </div> 
93                  </div> 
94               </div> 
95               <#if cnt2 = 2> 
96            </div> 
97            </#if> 
98            <#assign cnt2=cnt2+1/> 
99            <#if cnt2 = 3> 
100            <#assign cnt2=0/> 
101            </#if> 
102            </#list> 
103         </div> 
104      </div> 
105   </div> 
106</section> 
107<#macro getDiscussion> 
108<#if getterUtil.getBoolean(enableComments) && assetRenderer.isCommentable()> 
109<br /> 
110<#assign discussionURL = renderResponse.createActionURL() /> 
111${discussionURL.setParameter("javax.portlet.action", "invokeTaglibDiscussion")} 
112<@liferay_comment["discussion"] 
113className=entry.getClassName() 
114classPK=entry.getClassPK() 
115formAction=discussionURL?string 
116formName="fm" + entry.getClassPK() 
117ratingsEnabled=getterUtil.getBoolean(enableCommentRatings) 
118redirect=currentURL 
119userId=assetRenderer.getUserId() 
120/> 
121</#if> 
122</#macro> 
123<#macro getEditIcon> 
124<#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())> 
125<#assign redirectURL = renderResponse.createRenderURL() /> 
126${redirectURL.setParameter("mvcPath", "/add_asset_redirect.jsp")} 
127${redirectURL.setWindowState("pop_up")} 
128<#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL)!"" /> 
129<#if validator.isNotNull(editPortletURL)> 
130<#assign title = languageUtil.format(locale, "edit-x", entryTitle, false) /> 
131<@liferay_ui["icon"] 
132cssClass="icon-monospaced visible-interaction" 
133icon="pencil" 
134markupView="lexicon" 
135message=title 
136url="javascript:Liferay.Util.openWindow({id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});" 
137/> 
138</#if> 
139</#if> 
140</#macro> 
141<#macro getFlagsIcon> 
142<#if getterUtil.getBoolean(enableFlags)> 
143<@liferay_flags["flags"] 
144className=entry.getClassName() 
145classPK=entry.getClassPK() 
146contentTitle=entry.getTitle(locale) 
147label=false 
148reportedUserId=entry.getUserId() 
149/> 
150</#if> 
151</#macro> 
152<#macro getMetadataField 
153fieldName 
154
155<#if stringUtil.split(metadataFields)?seq_contains(fieldName)> 
156<span class="metadata-entry metadata-${fieldName}"> 
157<#assign dateFormat = "dd MMM yyyy" /> 
158<#if stringUtil.equals(fieldName, "author")> 
159<@liferay.language key="by" /> ${htmlUtil.escape(portalUtil.getUserName(assetRenderer.getUserId(), assetRenderer.getUserName()))} 
160<#elseif stringUtil.equals(fieldName, "categories")> 
161<@liferay_asset["asset-categories-summary"] 
162className=entry.getClassName() 
163classPK=entry.getClassPK() 
164portletURL=renderResponse.createRenderURL() 
165/> 
166<#elseif stringUtil.equals(fieldName, "create-date")> 
167${dateUtil.getDate(entry.getCreateDate(), dateFormat, locale)} 
168<#elseif stringUtil.equals(fieldName, "expiration-date")> 
169${dateUtil.getDate(entry.getExpirationDate(), dateFormat, locale)} 
170<#elseif stringUtil.equals(fieldName, "modified-date")> 
171${dateUtil.getDate(entry.getModifiedDate(), dateFormat, locale)} 
172<#elseif stringUtil.equals(fieldName, "priority")> 
173${entry.getPriority()} 
174<#elseif stringUtil.equals(fieldName, "publish-date")> 
175${dateUtil.getDate(entry.getPublishDate(), dateFormat, locale)} 
176<#elseif stringUtil.equals(fieldName, "tags")> 
177<@liferay_asset["asset-tags-summary"] 
178className=entry.getClassName() 
179classPK=entry.getClassPK() 
180portletURL=renderResponse.createRenderURL() 
181/> 
182<#elseif stringUtil.equals(fieldName, "view-count")> 
183${entry.getViewCount()} <@liferay.language key="views" /> 
184</#if> 
185</span> 
186</#if> 
187</#macro> 
188<#macro getPrintIcon> 
189<#if getterUtil.getBoolean(enablePrint)> 
190<#assign printURL = renderResponse.createRenderURL() /> 
191${printURL.setParameter("mvcPath", "/view_content.jsp")} 
192${printURL.setParameter("assetEntryId", entry.getEntryId()?string)} 
193${printURL.setParameter("viewMode", "print")} 
194${printURL.setParameter("type", entry.getAssetRendererFactory().getType())} 
195<#if assetRenderer.getUrlTitle()?? && validator.isNotNull(assetRenderer.getUrlTitle())> 
196<#if assetRenderer.getGroupId() != themeDisplay.getScopeGroupId()> 
197${printURL.setParameter("groupId", assetRenderer.getGroupId()?string)} 
198</#if> 
199${printURL.setParameter("urlTitle", assetRenderer.getUrlTitle())} 
200</#if> 
201${printURL.setWindowState("pop_up")} 
202<@liferay_ui["icon"] 
203iconCssClass="icon-print" 
204message="print" 
205url="javascript:Liferay.Util.openWindow({id:'" + renderResponse.getNamespace() + "printAsset', title: '" + languageUtil.format(locale, "print-x-x", ["hide-accessible", entryTitle], false) + "', uri: '" + htmlUtil.escapeURL(printURL.toString()) + "'});" 
206/> 
207</#if> 
208</#macro> 
209<#macro getRatings> 
210<#if getterUtil.getBoolean(enableRatings) && assetRenderer.isRatable()> 
211<div class="asset-ratings"> 
212   <@liferay_ui["ratings"] 
213   className=entry.getClassName() 
214   classPK=entry.getClassPK() 
215   /> 
216</div> 
217</#if> 
218</#macro> 
219<#macro getRelatedAssets> 
220<#if getterUtil.getBoolean(enableRelatedAssets)> 
221<@liferay_asset["asset-links"] 
222assetEntryId=entry.getEntryId() 
223viewInContext=!stringUtil.equals(assetLinkBehavior, "showFullContent") 
224/> 
225</#if> 
226</#macro> 
227<#macro getSocialBookmarks> 
228<@liferay_social_bookmarks["bookmarks"] 
229className=entry.getClassName() 
230classPK=entry.getClassPK() 
231displayStyle="${socialBookmarksDisplayStyle}" 
232target="_blank" 
233title=entry.getTitle(locale) 
234url=viewURL 
235/> 
236</#macro> 
237<script> 
238   var slider = new MasterSlider(); 
239    
240   slider.control('arrows'); 
241   slider.control('bullets', {autohide: false, align: 'bottom', margin: 10}); 
242   slider.control('scrollbar', {dir: 'h', color: '#333'}); 
243    
244   slider.setup('masterslider', { 
245       width: 960, 
246       height: 560, 
247       space: 5, 
248       view: 'box', 
249       autoplay: true 
250   }); 
251    
252</script> 
253<style> 
254   .master-slider img, .ms-slide-bgvideocont video { 
255   max-width: 132px; 
256   height: 132px; 
257
258   .ms-bar { 
259   display: none; 
260
261   .g-bu-bg-blue_opacity:hover { 
262   background-color: rgb(25 47 89 / 58%) !important; 
263
264   .master-slider img, .ms-slide-bgvideocont video{ 
265   max-width: none !important; 
266   height: 152px !important; 
267
268   .ms-view{ 
269   width: 900px !important; 
270   height: 360px;    
271
272   .cv-card 
273
274   padding:10px !important; 
275   height: 400px; 
276   background-color:#fff !important 
277
278   .cv-card .content-card 
279
280   height:97%; 
281
282   .cv-card .list-unstyled 
283
284   left: 13%; 
285   position: absolute; 
286   bottom: 20px; 
287
288   .ms-nav-next, 
289   .ms-nav-prev 
290
291   display: none; 
292
293   .ms-bullets 
294
295   bottom: -50px !important; 
296
297   .cv-card h3 
298
299   font-size:20px; 
300
301</style> 

MembersFacultiesWeb