Package de.xima.fc.gui.model.project
Class EntityProjectTemplate
- java.lang.Object
-
- de.xima.fc.gui.model.project.EntityProjectTemplate
-
- All Implemented Interfaces:
IProjectTemplateViewModel
,IProjectTemplate
public class EntityProjectTemplate extends Object implements IProjectTemplateViewModel
-
-
Constructor Summary
Constructors Constructor Description EntityProjectTemplate(Projekt project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Projekt
getEntity()
String
getTemplateDescription(Locale locale)
Getter für die lokalisierbare Template-BeschreibungInputStream
getTemplateFileSteam()
Getter für denInputStream
aus welchem das Formular-Template bezogen werden kannString
getTemplateName(Locale locale)
Getter für den lokalisierbaren Template-Namenorg.primefaces.model.StreamedContent
getThumbnail(Locale locale)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.project.IProjectTemplate
getThumbnailFileStream
-
-
-
-
Constructor Detail
-
EntityProjectTemplate
public EntityProjectTemplate(Projekt project)
-
-
Method Detail
-
getTemplateName
public String getTemplateName(Locale locale)
Description copied from interface:IProjectTemplate
Getter für den lokalisierbaren Template-Namen- Specified by:
getTemplateName
in interfaceIProjectTemplate
- Parameters:
locale
-Locale
- Returns:
String
der Name
-
getTemplateDescription
public String getTemplateDescription(Locale locale)
Description copied from interface:IProjectTemplate
Getter für die lokalisierbare Template-Beschreibung- Specified by:
getTemplateDescription
in interfaceIProjectTemplate
- Parameters:
locale
-Locale
- Returns:
String
die Beschreibung
-
getTemplateFileSteam
public InputStream getTemplateFileSteam()
Description copied from interface:IProjectTemplate
Getter für denInputStream
aus welchem das Formular-Template bezogen werden kann- Specified by:
getTemplateFileSteam
in interfaceIProjectTemplate
- Returns:
InputStream
-
getThumbnail
public org.primefaces.model.StreamedContent getThumbnail(Locale locale)
- Specified by:
getThumbnail
in interfaceIProjectTemplateViewModel
-
getEntity
public Projekt getEntity()
- Specified by:
getEntity
in interfaceIProjectTemplate
-
-