Package org.cyclos.entities.system
Class EntityLog
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.system.EntityLog
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity
@Entity public class EntityLog extends NetworkedEntity implements DefinesNetwork
Change log for an entity.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description EntityLog()
-
Method Summary
-
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
-
getBy
public BasicUser getBy()
-
getChannel
public String getChannel()
-
getDate
public Date getDate()
-
getEntityActionLog
public EntityActionLog getEntityActionLog()
-
getEntityId
public long getEntityId()
-
getEvent
public EntityLogEvent getEvent()
-
getName
public String getName()
-
getNamePrefix
public String getNamePrefix()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getOwnerEntityId
public Long getOwnerEntityId()
-
getPropertyLogs
public List<EntityPropertyLog> getPropertyLogs()
-
getRelatedEntityId
public Long getRelatedEntityId()
-
getRemoteAddress
public String getRemoteAddress()
-
getType
public EntityLogType getType()
-
isAsManager
public boolean isAsManager()
-
isPrivateEntity
public boolean isPrivateEntity()
-
setAsManager
public void setAsManager(boolean asManager)
-
setBy
public void setBy(BasicUser by)
-
setChannel
public void setChannel(String channel)
-
setDate
public void setDate(Date date)
-
setEntityActionLog
public void setEntityActionLog(EntityActionLog entityActionLog)
-
setEntityId
public void setEntityId(long entityId)
-
setEvent
public void setEvent(EntityLogEvent event)
-
setName
public void setName(String name)
-
setNamePrefix
public void setNamePrefix(String namePrefix)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setOwnerEntityId
public void setOwnerEntityId(Long ownerEntityId)
-
setPrivateEntity
public void setPrivateEntity(Boolean privateEntity)
-
setPropertyLogs
public void setPropertyLogs(List<EntityPropertyLog> propertyLogs)
-
setRelatedEntityId
public void setRelatedEntityId(Long relatedEntityId)
-
setRemoteAddress
public void setRemoteAddress(String remoteAddress)
-
setType
public void setType(EntityLogType type)
-
-