Class TrsServiceControl
java.lang.Object
com.sodius.oslc.server.trs.services.TrsServiceControl
Encapsulates control variables for a Base and ChangeLog computation.
- Since:
- 1.10.0
-
Constructor Summary
ConstructorsConstructorDescriptionTrsServiceControl(URI domain) Constructs an instance specifying the underlying TRS domain URI. -
Method Summary
Modifier and TypeMethodDescriptionGets the base cut-off event.Gets the date of the last base update.Gets the date of the last change log update.Gets the underlying TRS feed domain that this instance controls.longGets the last base member id.Gets the last TRS functional user to perform a rebuild.longGets the last order of change log's events.booleanDetermines whether the base has been computed or not.voidsetBaseCutoffEvent(ChangeEventSeed baseCutoffEvent) Sets the base cut-off event.voidsetBaseUpdate(Date baseUpdate) Sets the date of the last base update.voidsetChangeLogUpdate(Date changeLogUpdate) Sets the date of the last change log update.voidsetLastBaseMemberId(long id) Sets the last base member id.voidsetLastBuilderUser(String lastBuilderUser) Sets the last TRS functional user to perform a rebuild.voidsetLastEventOrder(long lastEventOrder) Sets the last order of change log's events.
-
Constructor Details
-
TrsServiceControl
Constructs an instance specifying the underlying TRS domain URI.- Parameters:
domain- underlying TRS domain URI.
-
-
Method Details
-
isBaseComputed
public boolean isBaseComputed()Determines whether the base has been computed or not.- Returns:
trueif base has been computed;falseotherwise.
-
getDomain
Gets the underlying TRS feed domain that this instance controls.- Returns:
- underlying TRS feed domain that this instance controls.
-
getBaseUpdate
Gets the date of the last base update.- Returns:
- the date of the last base update.
-
setBaseUpdate
Sets the date of the last base update.- Parameters:
baseUpdate- the date of the last base update.
-
getBaseCutoffEvent
Gets the base cut-off event.- Returns:
- the base cut-off event.
-
setBaseCutoffEvent
Sets the base cut-off event.- Parameters:
baseCutoffEvent- base cut-off event.
-
getLastBaseMemberId
public long getLastBaseMemberId()Gets the last base member id.- Returns:
- last base member id.
-
setLastBaseMemberId
public void setLastBaseMemberId(long id) Sets the last base member id.- Parameters:
id- last base member id.
-
getChangeLogUpdate
Gets the date of the last change log update.- Returns:
- the date of the last change log update.
-
setChangeLogUpdate
Sets the date of the last change log update.- Parameters:
changeLogUpdate- the date of the last change log update.
-
getLastEventOrder
public long getLastEventOrder()Gets the last order of change log's events.- Returns:
- the last order of change log's events.
- Since:
- 4.0.0
-
setLastEventOrder
public void setLastEventOrder(long lastEventOrder) Sets the last order of change log's events.- Parameters:
lastEventOrder- the last order of the change log's events.- Since:
- 4.0.0
-
getLastBuilderUser
Gets the last TRS functional user to perform a rebuild.- Returns:
- the last TRS functional user to perform a rebuild
-
setLastBuilderUser
Sets the last TRS functional user to perform a rebuild.- Parameters:
lastBuilderUser- the last TRS functional user to perform a rebuild.
-