com.sap.workspaces

Class TargetKey

java.lang.Object
  extended by com.sap.workspaces.TargetKey

public class TargetKey
extends Object

Enumeration to hold all supported navigation targets


Field Summary
static TargetKey CREATE_PERSONAL_WORKSPACE
          The personal WS creation view
static TargetKey CREATE_SHARED_WORKSPACE
          The shared WS creation view
static TargetKey MODULE_CREATION_FAILED
          The workspace page loaded a deleted module
static TargetKey MODULE_DELETED
          The workspace page loaded a deleted module
static TargetKey MODULE_PLACEHOLDER
          Template module display iView
static TargetKey MODULE_TEMPLATE_DELETED
          The workspace page loaded a module that it template was deleted
static TargetKey MODULE_WITH_CUSTOM_PERMISSIONS_IN_PLACEHOLDER
          Template module display iView
static TargetKey ONLY_PORTAL_CONTENT_ADMIN
          The user with no portal content admin role is not allowed
static TargetKey PAGE_DOES_NOT_EXIST
          The user tried to access a page that either was deleted or never existed
static TargetKey WORKSPACE_CLOSED
          The user tried to access a closed workspace
static TargetKey WORKSPACE_DIRECTORY
          The workspace directory view
static TargetKey WORKSPACE_DOES_NOT_EXIST
          The user tried to access a workspace that either was deleted, never existed or is private
static TargetKey WORKSPACE_RESTRICTED
          The user tried to access a restricted workspace
static TargetKey WORKSPACE_SETTINGS
          The shared WS settings view
 
Constructor Summary
protected TargetKey(String key)
          Constructs a new TargetKey
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATE_SHARED_WORKSPACE

public static final TargetKey CREATE_SHARED_WORKSPACE
The shared WS creation view


CREATE_PERSONAL_WORKSPACE

public static final TargetKey CREATE_PERSONAL_WORKSPACE
The personal WS creation view


WORKSPACE_SETTINGS

public static final TargetKey WORKSPACE_SETTINGS
The shared WS settings view


WORKSPACE_DIRECTORY

public static final TargetKey WORKSPACE_DIRECTORY
The workspace directory view


MODULE_TEMPLATE_DELETED

public static final TargetKey MODULE_TEMPLATE_DELETED
The workspace page loaded a module that it template was deleted


MODULE_DELETED

public static final TargetKey MODULE_DELETED
The workspace page loaded a deleted module


MODULE_CREATION_FAILED

public static final TargetKey MODULE_CREATION_FAILED
The workspace page loaded a deleted module


MODULE_PLACEHOLDER

public static final TargetKey MODULE_PLACEHOLDER
Template module display iView


MODULE_WITH_CUSTOM_PERMISSIONS_IN_PLACEHOLDER

public static final TargetKey MODULE_WITH_CUSTOM_PERMISSIONS_IN_PLACEHOLDER
Template module display iView


WORKSPACE_DOES_NOT_EXIST

public static final TargetKey WORKSPACE_DOES_NOT_EXIST
The user tried to access a workspace that either was deleted, never existed or is private


PAGE_DOES_NOT_EXIST

public static final TargetKey PAGE_DOES_NOT_EXIST
The user tried to access a page that either was deleted or never existed


WORKSPACE_CLOSED

public static final TargetKey WORKSPACE_CLOSED
The user tried to access a closed workspace


WORKSPACE_RESTRICTED

public static final TargetKey WORKSPACE_RESTRICTED
The user tried to access a restricted workspace


ONLY_PORTAL_CONTENT_ADMIN

public static final TargetKey ONLY_PORTAL_CONTENT_ADMIN
The user with no portal content admin role is not allowed

Constructor Detail

TargetKey

protected TargetKey(String key)
Constructs a new TargetKey

Parameters:
key - string value (which can be later retrieved by the toString() method).
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright 2010 SAP AG Complete Copyright Notice