|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jgoodies.binding.beans.Model
org.archiviststoolkit.mydomain.DomainObject
org.archiviststoolkit.model.RecordLocks
public class RecordLocks
Archivists' Toolkit(TM) Copyright © 2005-2008 Regents of the University of California, New York University, & Five Colleges, Inc. All rights reserved. This software is free. You can redistribute it and / or modify it under the terms of the Educational Community License (ECL) version 1.0 (http://www.opensource.org/licenses/ecl1.php) This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ECL license for more details about permissions and limitations. Archivists' Toolkit(TM) http://www.archiviststoolkit.org info@archiviststoolkit.org Created by IntelliJ IDEA.
| Field Summary | |
|---|---|
static java.lang.Long |
RECORD_LOCK_EXPIRE_TIME
|
| Fields inherited from class org.archiviststoolkit.mydomain.DomainObject |
|---|
CREATED, CREATED_BY, LAST_UPDATED, LAST_UPDATED_BY |
| Fields inherited from interface org.hibernate.classic.Lifecycle |
|---|
NO_VETO, VETO |
| Constructor Summary | |
|---|---|
RecordLocks()
The default constructor |
|
RecordLocks(java.lang.String className,
java.lang.Long recordId,
java.lang.String userName,
java.lang.Long previousUpdateTime,
java.lang.String hostIP)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getClassName()
Return the class name for the record |
java.lang.String |
getHostIP()
Method to return the host ip of this machine |
java.lang.Long |
getIdentifier()
|
java.lang.Long |
getPreviousUpdateTime()
Get the previous time the record lock was updated in milliseconds |
java.lang.Long |
getRecordId()
Get the record id of the locked record |
java.lang.Long |
getRecordLockId()
Get the record lock id |
java.lang.String |
getUserName()
get the name of the user locking the record |
void |
setClassName(java.lang.String className)
Set the class name for the record that is locked |
void |
setHostIP(java.lang.String hostIP)
Method to set the host IP address |
void |
setIdentifier(java.lang.Long identifier)
|
void |
setPreviousUpdateTime(java.lang.Long previousUpdateTime)
set previous time the record lock was updated |
void |
setRecordId(java.lang.Long recordId)
Set the record id for the record being locked |
void |
setRecordLockId(java.lang.Long recordLockId)
Sets the record lock id |
void |
setUserName(java.lang.String userName)
Set the name of the user who locking the record |
| Methods inherited from class org.archiviststoolkit.mydomain.DomainObject |
|---|
addRelatedObject, compareTo, creationDate, equals, getAuditInfo, getCreated, getCreatedBy, getLastUpdated, getLastUpdatedBy, getRelatedCollection, getRelatedObject, getUniqueConstraintKey, getVersion, hashCode, isNewRecord, lastUpdated, onDelete, onLoad, onSave, onUpdate, removeIdAndAuditInfo, removeRelatedObject, setAuditInfo, setVersion, testDeleteRules, validateAndDisplayDialog |
| Methods inherited from class com.jgoodies.binding.beans.Model |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Long RECORD_LOCK_EXPIRE_TIME
| Constructor Detail |
|---|
public RecordLocks()
public RecordLocks(java.lang.String className,
java.lang.Long recordId,
java.lang.String userName,
java.lang.Long previousUpdateTime,
java.lang.String hostIP)
| Method Detail |
|---|
public java.lang.String getHostIP()
public void setHostIP(java.lang.String hostIP)
hostIP - public java.lang.Long getIdentifier()
getIdentifier in class DomainObjectpublic void setIdentifier(java.lang.Long identifier)
setIdentifier in class DomainObjectidentifier - The identifier to set.public java.lang.Long getRecordLockId()
public void setRecordLockId(java.lang.Long recordLockId)
recordLockId - public java.lang.String getClassName()
public void setClassName(java.lang.String className)
className - public java.lang.Long getRecordId()
public void setRecordId(java.lang.Long recordId)
recordId - public java.lang.String getUserName()
public void setUserName(java.lang.String userName)
userName - public java.lang.Long getPreviousUpdateTime()
public void setPreviousUpdateTime(java.lang.Long previousUpdateTime)
previousUpdateTime -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||