org.outerj.daisy.repository.commonimpl.variant
Class LanguageImpl

java.lang.Object
  extended byorg.outerj.daisy.repository.commonimpl.variant.LanguageImpl
All Implemented Interfaces:
org.outerj.daisy.repository.variant.Language

public class LanguageImpl
extends java.lang.Object
implements org.outerj.daisy.repository.variant.Language


Nested Class Summary
 class LanguageImpl.IntimateAccess
           
 
Field Summary
 
Fields inherited from interface org.outerj.daisy.repository.variant.Language
DEFAULT_LANGUAGE_ID, DEFAULT_LANGUAGE_NAME
 
Constructor Summary
LanguageImpl(VariantStrategy strategy, java.lang.String name, AuthenticatedUser currentUser)
           
 
Method Summary
 java.lang.String getDescription()
           
 long getId()
           
 LanguageImpl.IntimateAccess getIntimateAccess(VariantStrategy strategy)
           
 java.util.Date getLastModified()
           
 long getLastModifier()
           
 java.lang.String getName()
           
 long getUpdateCount()
           
 org.outerx.daisy.x10.LanguageDocument getXml()
           
 void makeReadOnly()
           
 void save()
           
 void setAllFromXml(org.outerx.daisy.x10.LanguageDocument.Language languageXml)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LanguageImpl

public LanguageImpl(VariantStrategy strategy,
                    java.lang.String name,
                    AuthenticatedUser currentUser)
Method Detail

getId

public long getId()
Specified by:
getId in interface org.outerj.daisy.repository.variant.Language

getName

public java.lang.String getName()
Specified by:
getName in interface org.outerj.daisy.repository.variant.Language

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface org.outerj.daisy.repository.variant.Language

setName

public void setName(java.lang.String name)
Specified by:
setName in interface org.outerj.daisy.repository.variant.Language

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface org.outerj.daisy.repository.variant.Language

save

public void save()
          throws org.outerj.daisy.repository.RepositoryException
Specified by:
save in interface org.outerj.daisy.repository.variant.Language
Throws:
org.outerj.daisy.repository.RepositoryException

getLastModifier

public long getLastModifier()
Specified by:
getLastModifier in interface org.outerj.daisy.repository.variant.Language

getLastModified

public java.util.Date getLastModified()
Specified by:
getLastModified in interface org.outerj.daisy.repository.variant.Language

getUpdateCount

public long getUpdateCount()
Specified by:
getUpdateCount in interface org.outerj.daisy.repository.variant.Language

getXml

public org.outerx.daisy.x10.LanguageDocument getXml()
Specified by:
getXml in interface org.outerj.daisy.repository.variant.Language

setAllFromXml

public void setAllFromXml(org.outerx.daisy.x10.LanguageDocument.Language languageXml)
Specified by:
setAllFromXml in interface org.outerj.daisy.repository.variant.Language

makeReadOnly

public void makeReadOnly()

getIntimateAccess

public LanguageImpl.IntimateAccess getIntimateAccess(VariantStrategy strategy)


Copyright © -2005 . All Rights Reserved.