public class Pane
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
ALL_PANES |
static java.lang.String |
CRITICAL_SYSTEMS |
static java.lang.String |
INACTIVE_SYSTEMS |
static java.lang.String |
LATEST_ERRATA |
static java.lang.String |
PENDING_ACTIONS |
static java.lang.String |
RECENTLY_REGISTERED_SYSTEMS |
static java.lang.String |
SYSTEM_GROUPS |
static java.lang.String |
TASKS |
Constructor and Description |
---|
Pane() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
One important thing to note though is
that only the Pane id is used to differentiate between 2 Panes
|
java.lang.String |
getAcl()
Retrieves the ACL values- set of conditions that determine whether the
given pane should be visible to the user or not..
|
java.lang.String |
getDescriptionKey()
Retrieves the key that should be used by the LocalizationService
to retrieve the 'Description' value.
|
java.lang.Long |
getId()
Retrieves id which is the primary key.
|
java.lang.String |
getLabel()
Retrieves the Label prefix.
|
java.lang.String |
getNameKey()
Retrieves the key that should be used by the LocalizationService
to retrieve the 'Name' value.
|
int |
hashCode() |
boolean |
isValidFor(User user)
This method determines if the given pane should be
viewable to the current user
|
static Pane |
makeKey(java.lang.Long id)
Returns a Dummy Instance of the Pane object, populating only
the id column.
|
public static final java.lang.String TASKS
public static final java.lang.String CRITICAL_SYSTEMS
public static final java.lang.String SYSTEM_GROUPS
public static final java.lang.String LATEST_ERRATA
public static final java.lang.String INACTIVE_SYSTEMS
public static final java.lang.String PENDING_ACTIONS
public static final java.lang.String RECENTLY_REGISTERED_SYSTEMS
public static final java.lang.String[] ALL_PANES
public static Pane makeKey(java.lang.Long id)
id
- the Id value of the desired pane.public java.lang.Long getId()
public java.lang.String getLabel()
public java.lang.String getNameKey()
public java.lang.String getDescriptionKey()
public java.lang.String getAcl()
public boolean isValidFor(User user)
user
- the logged in user.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object