Fiscalia Provincial

Fiscalía Provincial de Segovia

Publicador de continguts

Bandera de Segovia
  • Fiscal Jefe Provincial:

    María Inmaculada Martínez García

  • Teniente Fiscal:

    Elena Martín Mayo


 

La Fiscalía Provincial ejerce las funciones del Ministerio Fiscal en el ámbito de la provincia y su sede está en Segovia.

Con el fin de adaptar su organización a las circunstancias y necesidades de su territorio, existen unidades diferenciadas de la Fiscalía Provincial pero bajo su dependencia.

La distribución territorial de los partidos judiciales que son atendidos por la Fiscalía es la siguiente:

  • Fiscalía Provincial que abarca los partidos judiciales de Cuellar, Santa María la Real de Nieva, Segovia y Sepúlveda.

Última actualització: d’octubre de 2025

Información de contacto

Correu electrònic: fiscalia.segovia@justicia.es

Telèfon: 921463240

Adreça: Avda. Gerardo Diego, 3. Planta 2ª. 40004. Segovia

Categoria
FECHA DE PUBLICACIÓN
Fecha de inicio
Fecha final
305 Resultats
Ordena
S'ha produït un error mentre es processava la plantilla.
Java method "com.sun.proxy.$Proxy1049.getFriendlyURLEntryLocalization(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1049 object "com.liferay.friendly.url.service.impl.FriendlyURLEntryLocalServiceImpl@318051ea"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign friendlyURLEntryLocalization ...  [in template "13333257#13333299#13752006" at line 31, column 41]
----
1<#assign classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService")/> 
2<#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")/> 
3<#assign dlFileEntryTypeLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryTypeLocalService")/> 
4<#assign dlFileEntryMetadataLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryMetadataLocalService")/> 
5<#assign friendlyURLLocalService = serviceLocator.findService("com.liferay.friendly.url.service.FriendlyURLEntryLocalService")/> 
6<#assign storageEngineManagerUtil = objectUtil("com.liferay.dynamic.data.mapping.kernel.StorageEngineManagerUtil")/> 
7 
8<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")/> 
9<#assign layout = themeDisplay.getLayout()> 
10	<#if layout??> 
11		<#if layout.isPrivateLayout()> 
12			 <#assign fiscalRepositoryGroup = groupLocalService.getGroup(companyId, "FISCAL_Zona_Privada")/> 
13		<#else> 
14				<#assign fiscalRepositoryGroup = groupLocalService.getGroup(companyId, "Guest")/> 
15		</#if> 
16		<#assign repositoryFriendlyUrl = fiscalRepositoryGroup.getFriendlyURL()/>     
17    <#assign imgUrlBase = "/documents/d"+repositoryFriendlyUrl+"/"/> 
18	</#if> 
19		 
20<#assign documentUrlPrincipal = ""/> 
21 
22<#if entries?has_content> 
23	<ul class="mj-results-list"> 
24		<#list entries as curEntry> 
25			<li class="mj-box__information w-100"> 
26				<#assign dlFileEntry = dlFileEntryLocalService.getDLFileEntry(curEntry.classPK) /> 
27				<#assign classNameId = classNameLocalService.getClassNameId("com.liferay.portal.kernel.repository.model.FileEntry") /> 
28			<#-- 	<#assign friendlyURLEntry = friendlyURLLocalService.getMainFriendlyURLEntry(classNameId, curEntry.classPK) />   --> 
29				<#assign friendlyURLEntry = friendlyURLLocalService.fetchMainFriendlyURLEntry(classNameId, curEntry.classPK)!"" /> 
30				<#if friendlyURLEntry?? && friendlyURLEntry!="" > 
31				   	<#assign friendlyURLEntryLocalization = friendlyURLLocalService.getFriendlyURLEntryLocalization(friendlyURLEntry.getFriendlyURLEntryId(), themeDisplay.getLanguageId()) /> 
32				</#if>			 
33				<#if dlFileEntry.getSize() gt 0 && friendlyURLEntryLocalization?? > 
34					<#assign documentUrlPrincipal = getDocumentUrl(repositoryFriendlyUrl, friendlyURLEntryLocalization.getUrlTitle(), false)/> 
35				<#else> 
36					<#assign documentUrlPrincipal = ""/> 
37				</#if> 
38 
39				<#assign descripcion = dlFileEntry.getDescription() /> 
40				<#assign fileEntryType = dlFileEntryTypeLocalService.getFileEntryType(dlFileEntry.getFileEntryTypeId()) /> 
41				<#assign fileEntryMetadata = dlFileEntryMetadataLocalService.getFileEntryMetadata(fileEntryType.getDataDefinitionId(), dlFileEntry.getLatestFileVersion(true).getFileVersionId()) /> 
42				<#assign ddmFormValues = storageEngineManagerUtil.getDDMFormValues(fileEntryMetadata.getDDMStorageId()) /> 
43				<#assign ddmFormFieldValues = ddmFormValues.getDDMFormFieldValues()/> 
44 
45				<#-- start  --> 
46				<#list ddmFormFieldValues as field> 
47					<#assign reference = field.getFieldReference() /> 
48					<#if reference=="titulo" > 
49						<#assign documentTitulo = (field.getValue().getString(locale)?has_content)?then(field.getValue().getString(locale),dlFileEntry.fileName) /> 
50					<#elseif reference=="tituloUrl" > 
51						<#assign documentTituloUrl = field.getValue().getString(locale)/> 
52					<#elseif reference=="url" > 
53						<#assign documentUrl = field.getValue().getString(locale)/> 
54					<#elseif reference=="fecha"> 
55						<#assign documentFecha = field.getValue().getString(locale)/> 
56					<#elseif reference=="ca_document" > 
57						<#assign documentJsonRaw = field.getValue().getString(locale)!"{}" /> 
58						<#if documentJsonRaw?? && documentJsonRaw!="{}">					 
59							<#assign documentJson = documentJsonRaw?eval/>								 
60							<#assign documentUrlCA = getDocumentUrl(repositoryFriendlyUrl, getUrlTitle(documentJson,themeDisplay.getLanguageId()), false)/> 
61						<#else> 
62							<#assign documentUrlCA = ""> 
63						</#if> 
64					<#elseif reference=="gl_document" > 
65						<#assign documentJsonRaw = field.getValue().getString(locale) /> 
66						<#if documentJsonRaw?? && documentJsonRaw!="{}"> 
67							<#assign documentJson = documentJsonRaw?eval/>							 
68							<#assign documentUrlGL = getDocumentUrl(repositoryFriendlyUrl, getUrlTitle(documentJson,themeDisplay.getLanguageId()), false)/> 
69						<#else> 
70							<#assign documentUrlGL = ""> 
71						</#if> 
72					<#elseif reference=="va_document" > 
73						<#assign documentJsonRaw = field.getValue().getString(locale) /> 
74						<#if documentJsonRaw?? && documentJsonRaw!="{}"> 
75							<#assign documentJson = documentJsonRaw?eval/>						 
76							<#assign documentUrlVA = getDocumentUrl(repositoryFriendlyUrl, getUrlTitle(documentJson,themeDisplay.getLanguageId()), false)/> 
77						<#else> 
78							<#assign documentUrlVA = ""> 
79						</#if> 
80					<#elseif reference=="eu_document" > 
81						<#assign documentJsonRaw = field.getValue().getString(locale) /> 
82						<#if documentJsonRaw?? && documentJsonRaw!="{}"> 
83							<#assign documentJson = documentJsonRaw?eval/>							 
84							<#assign documentUrlEU = getDocumentUrl(repositoryFriendlyUrl, getUrlTitle(documentJson,themeDisplay.getLanguageId()), false)/> 
85						<#else> 
86							<#assign documentUrlEU = ""> 
87						</#if> 
88					<#elseif reference=="en_document" > 
89						<#assign documentJsonRaw = field.getValue().getString(locale) /> 
90						<#if documentJsonRaw?? && documentJsonRaw!="{}"> 
91							<#assign documentJson = documentJsonRaw?eval/>						 
92							<#assign documentUrlEN = getDocumentUrl(repositoryFriendlyUrl, getUrlTitle(documentJson,themeDisplay.getLanguageId()), false)/> 
93						<#else> 
94							<#assign documentUrlEN = ""> 
95						</#if> 
96					</#if> 
97 
98				</#list> 
99 
100				<#-- html --> 
101				<div class="mj-box__information--top-wrapper"> 
102					<#if documentTitulo?? && documentTitulo!=""> 
103						<p class="mj-box__information--title bold"> 
104							<#if documentUrlPrincipal?? && documentUrlPrincipal!="">  
105								<a href="${documentUrlPrincipal}?download=false" target="_blank" title="<@liferay.language key='opens-new-window'/>">${htmlUtil.escape(documentTitulo)} 
106								</a> 
107							<#else> 
108								${htmlUtil.escape(documentTitulo)} 
109							</#if> 
110						</p> 
111					</#if> 
112					<#if documentTituloUrl?? && documentTituloUrl!=""> 
113						<a class="mj-link mb-10 d-inline-block" href="${htmlUtil.escape(documentUrl)}" target="_blank" aria-label="${languageUtil.format(locale, 'x-opens-new-window', htmlUtil.escape(documentTituloUrl), false)}"> 
114							${htmlUtil.escape(documentTituloUrl)} 
115						</a> 
116					</#if> 
117					<#if descripcion?? && descripcion!=""> 
118						<p class="mj-box__information--text"> 
119							${htmlUtil.escape(descripcion)} 
120						</p> 
121					</#if> 
122				</div> 
123				<div class="mj-box__information--bottom-wrapper"> 
124					<div> 
125						<#if documentUrlPrincipal?? && documentUrlPrincipal!=""> 
126							<a href="${documentUrlPrincipal}" class="mj-link-download mr-2" download aria-label="${languageUtil.format(locale, 'download-x', htmlUtil.escape(documentTitulo), false)}" title="<@liferay.language key='download' /> ${htmlUtil.escape(documentTitulo)}"><@liferay.language key="download" /></a> 
127						</#if> 
128						<#if documentUrlCA?? && documentUrlCA!=""> 
129							<@printDownloadFlag documentUrlCA "ca_es" /> 
130						</#if> 
131						<#if documentUrlGL?? && documentUrlGL!=""> 
132						<@printDownloadFlag documentUrlGL "gl_es" /> 
133						</#if> 
134						<#if documentUrlVA?? && documentUrlVA!=""> 
135							<@printDownloadFlag documentUrlVA "va_es" /> 
136						</#if> 
137						<#if documentUrlEU?? && documentUrlEU!=""> 
138							<@printDownloadFlag documentUrlEU "eu_es" /> 
139						</#if> 
140						<#if documentUrlEN?? && documentUrlEN!=""> 
141							<@printDownloadFlag documentUrlEN "en_gb" /> 
142						</#if> 
143					</div> 
144					<#if documentFecha?? && documentFecha!=""> 
145						<#assign documentFecha_DateObj = dateUtil.parseDate("yyyy-MM-dd", documentFecha, locale)>  
146						<#assign documentFechaFormat = dateUtil.getDate(documentFecha_DateObj, "dd/MM/yyyy", locale)/> 
147						<time class="mj-datetime" datetime="${documentFecha_DateObj?date?iso_utc}">${documentFechaFormat}</time> 
148					</#if> 
149				</div> 
150			</li> 
151		</#list> 
152	</ul> 
153</#if> 
154							 
155<#function getUrlTitle documentJson languageId>	 
156	<#assign urlTitle = "" /> 
157	<#assign classPK = documentJson.classPK!""/> 
158	<#if classPK?string==""> 
159		<#assign classPK = documentJson.fileEntryId!""/> 
160	</#if> 
161	<#if classPK?? &&  classPK?string!=""> 
162		<#assign dlFileEntry = dlFileEntryLocalService.getDLFileEntry(classPK?number) /> 
163		<#assign classNameId = classNameLocalService.getClassNameId("com.liferay.portal.kernel.repository.model.FileEntry") /> 
164		<#assign friendlyURLEntry = friendlyURLLocalService.fetchMainFriendlyURLEntry(classNameId, classPK?number)!"" /> 
165		<#if friendlyURLEntry?? && friendlyURLEntry!="" > 
166			<#assign friendlyURLEntryLocalization = friendlyURLLocalService.getFriendlyURLEntryLocalization(friendlyURLEntry.getFriendlyURLEntryId(), languageId) /> 
167			<#if dlFileEntry.getSize() gt 0 && friendlyURLEntryLocalization?? >	 
168				<#assign urlTitle = friendlyURLEntryLocalization.getUrlTitle() /> 
169			</#if>			 
170		</#if>			 
171	</#if> 
172	<#return urlTitle> 
173</#function>	 
174 
175 
176<#function getDocumentUrl repositoryUrl urlTitle isDownload>	 
177	<#if repositoryUrl?? && repositoryUrl!="" && urlTitle?? && urlTitle!="" > 
178		<#if isDownload?? && isDownload==true > 
179			<#return "/documents/d"+repositoryUrl+"/"+urlTitle+"?download=true"> 
180		<#else> 
181			<#return "/documents/d"+repositoryUrl+"/"+urlTitle > 
182		</#if> 
183	<#else> 
184		<#return ""> 
185	</#if> 
186</#function> 
187 
188<#macro printDownloadFlag documentUrl localeFlag> 
189	<#if localeFlag == 'ca_es'> 
190		<#assign language = 'catalán' /> 
191	<#elseif localeFlag == 'gl_es'> 
192		<#assign language = 'gallego' /> 
193	<#elseif localeFlag == 'va_es'> 
194		<#assign language = 'valenciano' /> 
195	<#elseif localeFlag == 'eu_es'> 
196		<#assign language = 'euskera' /> 
197	<#elseif localeFlag == 'en_gb'> 
198		<#assign language = 'inglés' /> 
199	</#if> 
200 
201	<a href="${documentUrl}" class="mr-1" download target="_blank" title="<@liferay.language key='download' /> ${htmlUtil.escape(documentTitulo)} > ${language}"> 
202		<img src="${imgUrlBase}${localeFlag}" /> 
203	</a> 
204</#macro>