/branches/v3/impl/conf/language/MessageResources.properties |
---|
2186,6 → 2186,7 |
document.repository.metadata.publisher=Entidate |
document.repository.metadata.subTitle=Sub Titulo |
document.repository.metadata.description=Descrição |
document.repository.metadata.subject=Assunto |
config.separators.configuration=Configuração de Separadores do eEscola |
/branches/v3/impl/src/java/pt/estgp/estgweb/services/data/repositorydocuments/RepositoryDocumentService.java |
---|
219,6 → 219,7 |
persistent.setSubtitle(view.getSubtitle()); |
persistent.setPublisher(view.getPublisher()); |
persistent.setDescription(view.getDescription()); |
persistent.setSubject(view.getSubject()); |
persistent.setPublishDate(view.getPublishDate()); |
persistent.setCloseDate(view.getCloseDate()); |
persistent.setInternalIdentifier(view.getInternalIdentifier()); |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/RepositoryFile.hbm.xml |
---|
64,6 → 64,9 |
<property name="description" type="string"> |
<column name="description" sql-type="TEXT"/> |
</property> |
<property name="subject" type="string"> |
<column name="subject" sql-type="TEXT" default=""/> |
</property> |
<property name="publisher" type="string"/> |
<property name="authorsJson" type="pt.estgp.estgweb.services.data.repositorydocuments.EnhancedDocumentPersons"> |
<column name="authorsJson" sql-type="TEXT"/> |
/branches/v3/impl/src/web/user/repositoryDocuments/adminDocument.jsp |
---|
396,6 → 396,12 |
</div> |
<div class="form-group"> |
<label class="col-md-2 control-label">Assunto</label> |
<div class="col-md-10"> |
<input class="form-control" type="text" ng-model="doc.subject"> |
</div> |
</div> |
<div class="form-group"> |
<label class="col-md-2 control-label">Descrição</label> |
<div class="col-md-10"> |
<textarea rows="6" class="form-control" ng-model="doc.description"> |
/branches/v3/impl/src/web/user/repositoryDocuments/showInterfaceDocsFragment.jsp |
---|
77,11 → 77,13 |
<%String contributor = printMetadataPersons("document.repository.metadata.contributor",doc.getContributorsJson(),request,response.getWriter());%> |
<%String publisher = printMetadata("document.repository.metadata.publisher", doc.getPublisher(), request, response.getWriter());%> |
<%String description = printMetadata("document.repository.metadata.description", doc.getDescription(), request, response.getWriter());%> |
<%String subject = printMetadata("document.repository.metadata.subject", doc.getSubject(), request, response.getWriter());%> |
<% |
if(subTitle.length() > 0 || |
internalIdentifier.length() > 0 || |
//publishDateStr.length() > 0 || |
description.length() > 0 || |
subject.length() > 0 || |
closeDateStr.length() > 0 || |
author.length() > 0 || |
contributor.length() > 0 || |
91,8 → 93,9 |
<div class="repository-metadata clearfix"> |
<table border="0" style="border: 0;width: 100%"> |
<tbody> |
<%=subTitle%> |
<%=subject%> |
<%=description%> |
<%=subTitle%> |
<%=internalIdentifier%> |
<%=closeDateStr%> |
<%=author%> |
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RepositoryDocument.java |
---|
1,5 → 1,5 |
package pt.estgp.estgweb.domain; |
// Generated 28/Mai/2017 14:34:06 by Hibernate Tools 3.2.0.b9 |
// Generated 3/Jun/2017 20:45:30 by Hibernate Tools 3.2.0.b9 |
import java.util.Date; |
21,6 → 21,7 |
private String title; |
private String subtitle; |
private String description; |
private String subject; |
private String publisher; |
private DocumentPersons authorsJson; |
private DocumentPersons contributorsJson; |
91,6 → 92,13 |
public void setDescription(String description) { |
this.description = description; |
} |
public String getSubject() { |
return this.subject; |
} |
public void setSubject(String subject) { |
this.subject = subject; |
} |
public String getPublisher() { |
return this.publisher; |
} |