Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.util
Class AssetRoleList  view AssetRoleList download AssetRoleList.java

java.lang.Object
  extended bycom.flexstor.common.util.AssetRoleList
All Implemented Interfaces:
com.flexstor.common.constants.AssetRolesI

public class AssetRoleList
extends java.lang.Object
implements com.flexstor.common.constants.AssetRolesI


Field Summary
private static java.util.Hashtable assetRoles
           
private static AssetRoleList instance
           
 
Fields inherited from interface com.flexstor.common.constants.AssetRolesI
AUDIO, HIGHRES, IDENTIFIER, LARGEST_ASSET_ROLE, LAYOUT, LOWRES, roles, THUMBNAIL, VIDEO
 
Constructor Summary
private AssetRoleList()
           
 
Method Summary
static int[] getAssetRoleIdList()
           
static java.lang.String getAssetRoleLabel(int nAssetRoleId)
           
static AssetRoleList getInstance()
           
static int getNumberOfRoles()
           
static boolean initialize()
          Loads a list of all available servers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static AssetRoleList instance

assetRoles

private static java.util.Hashtable assetRoles
Constructor Detail

AssetRoleList

private AssetRoleList()
Method Detail

getInstance

public static AssetRoleList getInstance()

initialize

public static boolean initialize()
Loads a list of all available servers.


getNumberOfRoles

public static int getNumberOfRoles()

getAssetRoleIdList

public static int[] getAssetRoleIdList()

getAssetRoleLabel

public static java.lang.String getAssetRoleLabel(int nAssetRoleId)