Click or drag to resize
Service3LProTime Class

[This is preliminary documentation and is subject to change.]

WebService för Tidredovisning
Inheritance Hierarchy
SystemObject
  _3LProServicesService3LProBase
    _3LProServices.TimeServiceService3LProTime

Namespace: _3LProServices.TimeService
Assembly: 3LProServices (in 3LProServices.dll) Version: 15.2.1.19 (15.2.1.19)
Syntax
public class Service3LProTime : Service3LProBase, 
	IService3LProTime

The Service3LProTime type exposes the following members.

Constructors
  NameDescription
Public methodService3LProTime
Constructor för webtjänsten. Sätter upp loggning från AppSettings LogFile och LogLevel i web.config
Top
Properties
  NameDescription
Public propertyAllProjects
Alla projekt
Public propertyAllTimeCodes
Alla tidkoder
Public propertyAllWorkTypes
Alla arbetsarter
Top
Methods
  NameDescription
Public methodchangeBillableTime
Public methodchangeCompany
Byter aktuellt företag för inloggad användare
Public methodchangePassword
Byter lösenord för inloggad användare
Public methoddeleteTimeFavorite
Public methoddeleteTimeRow
Tar bort en tidrad permanent från databasen
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodgetAttestOverviewForEmployees
Public methodgetAttestOverviewPerEmployeeForProject
Public methodgetAttestOverviewPerProject
Public methodgetAttestOverviewPerProjectForEmployee
Public methodgetCompanies
Public methodgetCurrentPeriod
Protected methodgetDbConnectionString
Returnerar rätt connectionstring till databasen beroende på om vi kör i debug, release eller under Unit tests
(Inherited from Service3LProBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodgetOverviewForLatestPeriod
Ger översikt över aktuell tidredovisningsperiod för inloggad användare
Public methodgetOverviewForPeriod
Ger översikt över tidredovisningsperioden för inloggad användare
Public methodgetPeriods
Ger lista med tidperioder framåt och bakåt i tiden
Public methodgetTimeFavorites
Public methodgetTimeInformation
Ger sammansatt information om giltiga tidkoder etc för inloggad användare
Public methodgetTimeInformationForEmployee
Ger sammansatt information om giltiga tidkoder etc för angiven användare
Public methodgetTimeRowsForDay
Ger lista på tidrader för angiven dag
Public methodgetTimeRowsForProjectAndEmployee
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodgetValidTimeCombinations
Lista med giltiga TimeCombinations för inloggad användare som kan användas för att registrera tidrader på. Per företag, om företag byts måste ny lista hämtas
Public methodgetValidTimeCombinationsForEmployee
Lista med giltiga TimeCombinations för angiven användare som kan användas för att registrera tidrader på. Per företag, om företag byts måste ny lista hämtas
Protected methodinitDbConnection
Ska alltid användas då en webtjänst behöver en DB-transaktion! Metoden hanterar databasuppkopplingar för Release/Debug och UnitTests
(Inherited from Service3LProBase.)
Public methodlogin
Login för tidredovisning
Public methodmakeAttestOverviewRows
Public methodmarkPeriodAsDone
Klarmarkerar en tidredovisningsperiod
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodsaveTimeFavorite
Public methodsaveTimeRow
Sparar en ny eller uppdaterad tidrad
Public methodsaveTimeRowAsDone
Sparar en ny eller uppdaterad tidrad och klarmarkerar den
Public methodsetAttestForTimeRows
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also