lumis.portal.lock
Class LockTypeConfig
java.lang.Object
lumis.portal.lock.LockTypeConfig
@StableMinor(version="4.1",
sinceVersion="4.0")
public class LockTypeConfig
- extends Object
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEVEL_GLOBAL
public static final int LEVEL_GLOBAL
- See Also:
- Constant Field Values
LEVEL_SERVER
public static final int LEVEL_SERVER
- See Also:
- Constant Field Values
LEVEL_PROCESS
public static final int LEVEL_PROCESS
- See Also:
- Constant Field Values
LEVEL_USER
public static final int LEVEL_USER
- See Also:
- Constant Field Values
LockTypeConfig
public LockTypeConfig()
setDefinition
public void setDefinition(Node definition)
throws Exception
- Parses a lockType definition node and set the parameters.
If an invalid XML node is passed, throws an Exception.
- Parameters:
definition
-
- Throws:
Exception
generateKey
public String generateKey(SessionConfig sessionConfig)
getDescription
public String getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(String description)
- Parameters:
description
- The description to set.
getId
public String getId()
- Returns:
- Returns the id.
setId
public void setId(String id)
- Parameters:
id
- The id to set.
getLevel
public int getLevel()
- Returns:
- Returns the level.
setLevel
public void setLevel(int level)
- Parameters:
level
- The level to set.
getName
public String getName()
- Returns:
- Returns the name.
setName
public void setName(String name)
- Parameters:
name
- The name to set.
getServiceId
public String getServiceId()
- Returns:
- Returns the serviceId.
setServiceId
public void setServiceId(String serviceId)
- Parameters:
serviceId
- The serviceId to set.
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.