+++ /dev/null
-/**
- *
- */
-package fr.mbdx.util;
-
-import java.io.Serializable;
-
-import org.alfresco.cmis.client.AlfrescoDocument;
-
-public class Acte implements Serializable {
-
- private static final long serialVersionUID = -6696937649082702302L;
-
- private String id = null;
- private String nodeRef = null;
- private String url = null;
- private String name = null;
- private String title = null;
- private String nature = null;
- private String matiere = null;
- private String dureeTimerActiviti = null;
-
- public Acte() {
-
- }
-
- public Acte(AlfrescoDocument doc, String id, Integer tempoTraitementActiviti) {
- this.nodeRef = doc.getId();
- this.id = id;
- this.title = doc.getProperty("cm:title").getValueAsString();
- this.dureeTimerActiviti = "PT" + tempoTraitementActiviti + "S";
- }
-
- /**
- * @return the nodeRef
- */
- public String getNodeRef() {
- return nodeRef;
- }
-
- /**
- * @param nodeRef
- * the nodeRef to set
- */
- public void setNodeRef(String nodeRef) {
- this.nodeRef = nodeRef;
- }
-
- /**
- * @return the url
- */
- public String getUrl() {
- return url;
- }
-
- /**
- * @param url
- * the url to set
- */
- public void setUrl(String url) {
- this.url = url;
- }
-
- /**
- * @return the name
- */
- public String getName() {
- return name;
- }
-
- /**
- * @param name
- * the name to set
- */
- public void setName(String name) {
- this.name = name;
- }
-
- /**
- * @return the title
- */
- public String getTitle() {
- return title;
- }
-
- /**
- * @param title
- * the title to set
- */
- public void setTitle(String title) {
- this.title = title;
- }
-
- /**
- * @return the nature
- */
- public String getNature() {
- return nature;
- }
-
- /**
- * @param nature
- * the nature to set
- */
- public void setNature(String nature) {
- this.nature = nature;
- }
-
- /**
- * @return the matiere
- */
- public String getMatiere() {
- return matiere;
- }
-
- /**
- * @param matiere
- * the matiere to set
- */
- public void setMatiere(String matiere) {
- this.matiere = matiere;
- }
-
- /**
- * @return the id
- */
- public String getId() {
- return id;
- }
-
- /**
- * @param id
- * the id to set
- */
- public void setId(String id) {
- this.id = id;
- }
-
- public String getDureeTimerActiviti() {
- return dureeTimerActiviti;
- }
-
- public void setDureeTimerActiviti(String dureeTimerActiviti) {
- this.dureeTimerActiviti = dureeTimerActiviti;
- }
-
-}