@Entity
public class CmsDAOResourceLocks
extends java.lang.Object
构造器和说明 |
---|
CmsDAOResourceLocks()
The default constructor.
|
CmsDAOResourceLocks(java.lang.String resourcePath)
A public constructor for generating a new resource lock object with an unique id.
|
限定符和类型 | 方法和说明 |
---|---|
int |
getLockType()
Returns the lockType.
|
java.lang.String |
getProjectId()
Returns the projectId.
|
java.lang.String |
getResourcePath()
Returns the resourcePath.
|
java.lang.String |
getUserId()
Returns the userId.
|
void |
setLockType(int lockType)
Sets the lockType.
|
void |
setProjectId(java.lang.String projectId)
Sets the projectId.
|
void |
setResourcePath(java.lang.String resourcePath)
Sets the resourcePath.
|
void |
setUserId(java.lang.String userId)
Sets the userId.
|
public CmsDAOResourceLocks()
public CmsDAOResourceLocks(java.lang.String resourcePath)
resourcePath
- the resource pathpublic int getLockType()
public java.lang.String getProjectId()
public java.lang.String getResourcePath()
public java.lang.String getUserId()
public void setLockType(int lockType)
lockType
- the lockType to setpublic void setProjectId(java.lang.String projectId)
projectId
- the projectId to setpublic void setResourcePath(java.lang.String resourcePath)
resourcePath
- the resourcePath to setpublic void setUserId(java.lang.String userId)
userId
- the userId to set