lumis.portal.lock
Class LockTypeConfig

Package class diagram package LockTypeConfig
java.lang.Object
  extended by lumis.portal.lock.LockTypeConfig

@StableMinor(version="4.1",
             sinceVersion="4.0")
public class LockTypeConfig
extends Object

Since:
4.0.0

Field Summary
static int LEVEL_GLOBAL
           
static int LEVEL_PROCESS
           
static int LEVEL_SERVER
           
static int LEVEL_USER
           
 
Constructor Summary
LockTypeConfig()
           
 
Method Summary
 String generateKey(SessionConfig sessionConfig)
           
 String getDescription()
           
 String getId()
           
 int getLevel()
           
 String getName()
           
 String getServiceId()
           
 void setDefinition(Node definition)
          Parses a lockType definition node and set the parameters.
 void setDescription(String description)
           
 void setId(String id)
           
 void setLevel(int level)
           
 void setName(String name)
           
 void setServiceId(String serviceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

LockTypeConfig

public LockTypeConfig()
Method Detail

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.