lumis.portal.authentication
Class AccessError

Package class diagram package AccessError
java.lang.Object
  extended by lumis.portal.authentication.AccessError

public class AccessError
extends Object

Since:
4.0.9

Field Summary
static int CAUSE_NO_ERROR
           
static int CAUSE_NO_PAGE_TO_REDIRECT
           
static int CAUSE_PAGE_ACCESS_DENIED
           
 
Constructor Summary
AccessError()
           
 
Method Summary
 void deserialize(String id)
          Deserializes the error cause.
 int getCause()
          Gets the cause of the access error.
 String getErrorString()
          Gets the String Id for the current access error cause.
 String serialize()
          Returns a string containing all the elements involved on the error.
 void setCause(int cause)
          Sets the cause of the error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CAUSE_NO_ERROR

public static int CAUSE_NO_ERROR

CAUSE_NO_PAGE_TO_REDIRECT

public static int CAUSE_NO_PAGE_TO_REDIRECT

CAUSE_PAGE_ACCESS_DENIED

public static int CAUSE_PAGE_ACCESS_DENIED
Constructor Detail

AccessError

public AccessError()
Method Detail

setCause

public void setCause(int cause)
Sets the cause of the error.

Parameters:
cause -
Since:
4.0.9

getCause

public int getCause()
Gets the cause of the access error.

Returns:
Since:
4.0.9

serialize

public String serialize()
Returns a string containing all the elements involved on the error. The string is composed of the cause + ";" + assosicatedID + ";" isGuest

Returns:
Since:
4.0.9

deserialize

public void deserialize(String id)
Deserializes the error cause.

Parameters:
id -
Since:
4.0.9

getErrorString

public String getErrorString()
Gets the String Id for the current access error cause.

Returns:
Since:
4.0.9


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.