org.gnomekr.potron.web.view
Class TranslationView

java.lang.Object
  extended by org.gnomekr.potron.web.view.AbstractFacesView
      extended by org.gnomekr.potron.web.view.TranslationView

public class TranslationView
extends AbstractFacesView

TranslationView.java

Version:
$Revision 1.1 $ $Date: 2005/09/11 05:49:45 $
Author:
Xavier Cho

Constructor Summary
TranslationView()
           
 
Method Summary
 String addTranslation()
           
 String getComment()
           
 String getEncoding()
           
 org.apache.myfaces.custom.fileupload.UploadedFile getFile()
           
 long getId()
           
 long getLanguageTeamId()
           
 List<SelectItem> getLanguageTeams()
           
 String getName()
           
 IProjectManager getProjectManager()
           
 long getTemplateId()
           
 ITranslationManager getTranslationManager()
           
 List<Translation> getTranslations()
           
 String removeTranslation()
           
 void setComment(String comment)
           
 void setEncoding(String encoding)
           
 void setFile(org.apache.myfaces.custom.fileupload.UploadedFile file)
           
 void setId(long id)
           
 void setLanguageTeamId(long languageTeamId)
           
 void setName(String name)
           
 void setProjectManager(IProjectManager projectManager)
           
 void setTemplateId(long templateId)
           
 void setTranslationManager(ITranslationManager translationManager)
           
 String updateTranslation()
           
 
Methods inherited from class org.gnomekr.potron.web.view.AbstractFacesView
getCurrentUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslationView

public TranslationView()
Method Detail

getProjectManager

public IProjectManager getProjectManager()
Returns:

getTranslationManager

public ITranslationManager getTranslationManager()
Returns:

getLanguageTeams

public List<SelectItem> getLanguageTeams()

addTranslation

public String addTranslation()

updateTranslation

public String updateTranslation()

removeTranslation

public String removeTranslation()

getTranslations

public List<Translation> getTranslations()

setId

public void setId(long id)
Parameters:
id -

getComment

public String getComment()
Returns:
Returns the comment.

setComment

public void setComment(String comment)
Parameters:
comment - The comment to set.

getLanguageTeamId

public long getLanguageTeamId()
Returns:
Returns the languageTeamId.

setLanguageTeamId

public void setLanguageTeamId(long languageTeamId)
Parameters:
languageTeamId - The languageTeamId to set.

getName

public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - The name to set.

getTemplateId

public long getTemplateId()
Returns:
Returns the templateId.

setTemplateId

public void setTemplateId(long templateId)
Parameters:
templateId - The templateId to set.

getId

public long getId()
Returns:
Returns the id.

setProjectManager

public void setProjectManager(IProjectManager projectManager)
Parameters:
projectManager - The projectManager to set.

setTranslationManager

public void setTranslationManager(ITranslationManager translationManager)
Parameters:
translationManager - The translationManager to set.

getEncoding

public String getEncoding()
Returns:

setEncoding

public void setEncoding(String encoding)
Parameters:
encoding -

getFile

public org.apache.myfaces.custom.fileupload.UploadedFile getFile()

setFile

public void setFile(org.apache.myfaces.custom.fileupload.UploadedFile file)


Copyright © 2000-2005 Gnome Korea. All Rights Reserved.