org.jeinnov.jeitime.api.service.projet
Class ProjetManager

java.lang.Object
  extended by org.jeinnov.jeitime.api.service.projet.ProjetManager

public class ProjetManager
extends java.lang.Object


Constructor Summary
ProjetManager()
           
 
Method Summary
 void closeProject(int id)
           
 void delete(int id)
           
 ProjetTO get(int id)
           
 java.util.List<ProjetTO> getAll()
           
 java.util.List<ProjetTO> getAllClose()
           
 java.util.List<ProjetTO> getAllForCollabNotClose(int idColl)
           
 java.util.List<ProjetTO> getAllForCollabNotLock(int idColl)
           
 java.util.List<ProjetTO> getAllLock()
           
 java.util.List<ProjetTO> getAllNotClose()
           
 java.util.List<ProjetTO> getAllNotLock()
           
static ProjetManager getInstance()
           
 ProjetTO getProjectNotClose(int id)
           
 ProjetTO getProjectNotLock(int id)
           
 boolean isInLienTachUtil(int id)
           
 void lockProject(int id)
           
 void openProject(int id)
           
 int saveOrUpdate(ProjetTO projet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjetManager

public ProjetManager()
Method Detail

getInstance

public static ProjetManager getInstance()

get

public ProjetTO get(int id)
             throws ProjetException
Throws:
ProjetException

getProjectNotLock

public ProjetTO getProjectNotLock(int id)
                           throws ProjetException
Throws:
ProjetException

getProjectNotClose

public ProjetTO getProjectNotClose(int id)
                            throws ProjetException
Throws:
ProjetException

getAll

public java.util.List<ProjetTO> getAll()

getAllNotLock

public java.util.List<ProjetTO> getAllNotLock()

getAllLock

public java.util.List<ProjetTO> getAllLock()

getAllNotClose

public java.util.List<ProjetTO> getAllNotClose()

getAllClose

public java.util.List<ProjetTO> getAllClose()

getAllForCollabNotLock

public java.util.List<ProjetTO> getAllForCollabNotLock(int idColl)
                                                throws ProjetException
Throws:
ProjetException

getAllForCollabNotClose

public java.util.List<ProjetTO> getAllForCollabNotClose(int idColl)
                                                 throws ProjetException
Throws:
ProjetException

saveOrUpdate

public int saveOrUpdate(ProjetTO projet)
                 throws ProjetException
Throws:
ProjetException

closeProject

public void closeProject(int id)
                  throws ProjetException
Throws:
ProjetException

openProject

public void openProject(int id)
                 throws ProjetException
Throws:
ProjetException

lockProject

public void lockProject(int id)
                 throws ProjetException
Throws:
ProjetException

delete

public void delete(int id)
            throws ProjetException
Throws:
ProjetException

isInLienTachUtil

public boolean isInLienTachUtil(int id)


Copyright © 2011. All Rights Reserved.