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

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

public class BranchImpl
extends java.lang.Object
implements org.outerj.daisy.repository.variant.Branch


Nested Class Summary
 class BranchImpl.IntimateAccess
           
 
Field Summary
 
Fields inherited from interface org.outerj.daisy.repository.variant.Branch
MAIN_BRANCH_ID, MAIN_BRANCH_NAME
 
Constructor Summary
BranchImpl(VariantStrategy strategy, java.lang.String name, AuthenticatedUser currentUser)
           
 
Method Summary
 java.lang.String getDescription()
           
 long getId()
           
 BranchImpl.IntimateAccess getIntimateAccess(VariantStrategy strategy)
           
 java.util.Date getLastModified()
           
 long getLastModifier()
           
 java.lang.String getName()
           
 long getUpdateCount()
           
 org.outerx.daisy.x10.BranchDocument getXml()
           
 void makeReadOnly()
           
 void save()
           
 void setAllFromXml(org.outerx.daisy.x10.BranchDocument.Branch branchXml)
           
 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

BranchImpl

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

getId

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

getName

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

getDescription

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

setName

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

setDescription

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

save

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

getLastModifier

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

getLastModified

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

getUpdateCount

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

getXml

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

setAllFromXml

public void setAllFromXml(org.outerx.daisy.x10.BranchDocument.Branch branchXml)
Specified by:
setAllFromXml in interface org.outerj.daisy.repository.variant.Branch

makeReadOnly

public void makeReadOnly()

getIntimateAccess

public BranchImpl.IntimateAccess getIntimateAccess(VariantStrategy strategy)


Copyright © -2005 . All Rights Reserved.