nl.knowledgeplaza.dh.service.entry
Class EntryServiceImpl
java.lang.Object
javax.servlet.GenericServlet
com.caucho.burlap.server.BurlapServlet
nl.knowledgeplaza.dh.service.ServiceImpl
nl.knowledgeplaza.dh.service.entry.EntryServiceImpl
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, EntryService, Service
public class EntryServiceImpl
- extends ServiceImpl
- implements EntryService
This is the implementation of the EntryService.
- Version:
- $Revision: 1.27 $
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Methods inherited from class com.caucho.burlap.server.BurlapServlet |
getServletInfo, init, setAPIClass, setService |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCECODE_VERSION
public static final java.lang.String SOURCECODE_VERSION
- Standard variable for determining version of a class file.
- See Also:
- Constant Field Values
EntryServiceImpl
public EntryServiceImpl()
getTemplateNames
public java.lang.String[] getTemplateNames()
- get all template names
- Specified by:
getTemplateNames in interface EntryService
- Returns:
- array of template names
getTemplateProjectNrs
public java.lang.Long[] getTemplateProjectNrs(java.lang.String name)
- Get all projectnr for the specified template
- Specified by:
getTemplateProjectNrs in interface EntryService
- Parameters:
name -
- Returns:
- array of projectnr
addProjectToTemplate
public void addProjectToTemplate(java.lang.String name,
long projectnr)
- Specified by:
addProjectToTemplate in interface EntryService
removeProjectFromTemplate
public void removeProjectFromTemplate(java.lang.String name,
long projectnr)
- Specified by:
removeProjectFromTemplate in interface EntryService
getProjectChilderen
public Project[] getProjectChilderen(Project parent)
- Specified by:
getProjectChilderen in interface EntryService
getProjectName
public java.lang.String getProjectName(long nr)
- Return the name of a project.
- Specified by:
getProjectName in interface EntryService
- Returns:
- name, null if not found
isBookable
public boolean isBookable(long projectnr,
java.lang.String dayString)
- Get an allocation for the current user in the specified timeframe for the specified project.
- Specified by:
isBookable in interface EntryService
- Parameters:
projectnr - day -
- Returns:
getHours
public Hour[] getHours(java.lang.String dayString)
- Specified by:
getHours in interface EntryService
setHours
public void setHours(java.lang.String dayString,
Hour[] hours)
- Specified by:
setHours in interface EntryService
getTimecartStatus
public long getTimecartStatus(java.lang.String dayString)
- Specified by:
getTimecartStatus in interface EntryService
setTimecartStatus
public void setTimecartStatus(java.lang.String dayString,
int status,
int oristatus)
- Specified by:
setTimecartStatus in interface EntryService
getDayTotal
public double getDayTotal(java.lang.String dayString)
- Specified by:
getDayTotal in interface EntryService
getDayTotals
public java.util.SortedMap<java.lang.String,java.lang.Double> getDayTotals(java.lang.String dayString)
- Specified by:
getDayTotals in interface EntryService
getProjectTotals
public java.util.LinkedHashMap<java.lang.Integer,java.lang.Double> getProjectTotals(java.lang.String dayString)
- Specified by:
getProjectTotals in interface EntryService
changePassword
public boolean changePassword(java.lang.String oldpwd,
java.lang.String newpwd)
- Specified by:
changePassword in interface EntryService
Copyright © 2010 KnowledgePlaza. All Rights Reserved.