Package org.cyclos.entities.marketplace
Class AdHistoryLog
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.marketplace.AdHistoryLog
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
@Entity public class AdHistoryLog extends NetworkedEntity
Keeps tracks of changes in publication dates or hidden property for ads
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description AdHistoryLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicAdgetAd()DategetEndDate()NetworkgetNetwork()Returns the network this entity belongs toDatePeriodgetPublicationPeriod()DategetStartDate()booleanisHidden()booleanisRemovedFromOwner()voidsetAd(BasicAd ad)voidsetEndDate(Date endDate)voidsetHidden(boolean hidden)voidsetPublicationPeriod(DatePeriod publicationPeriod)voidsetRemovedFromOwner(boolean removedFromOwner)voidsetStartDate(Date startDate)-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAd
public BasicAd getAd()
-
getEndDate
public Date getEndDate()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getPublicationPeriod
public DatePeriod getPublicationPeriod()
-
getStartDate
public Date getStartDate()
-
isHidden
public boolean isHidden()
-
isRemovedFromOwner
public boolean isRemovedFromOwner()
-
setAd
public void setAd(BasicAd ad)
-
setEndDate
public void setEndDate(Date endDate)
-
setHidden
public void setHidden(boolean hidden)
-
setPublicationPeriod
public void setPublicationPeriod(DatePeriod publicationPeriod)
-
setRemovedFromOwner
public void setRemovedFromOwner(boolean removedFromOwner)
-
setStartDate
public void setStartDate(Date startDate)
-
-