filenet.vw.api
Class VWLibraryType
- java.lang.Object
-
- filenet.vw.api.VWLibraryType
-
public final class VWLibraryType extends java.lang.ObjectUse this class to determine whether the library or Object Store type is Image Services, Content Services, or undefined.- Since:
- VWWS3.10
-
-
Field Summary
Fields Modifier and Type Field and Description static intLIBRARY_TYPE_BOXValue of 7. The library is Box storage library.static intLIBRARY_TYPE_CMValue of 4. The library or Object Store is an IBM Content Manager library.static intLIBRARY_TYPE_CONTENT_ENGINEValue of 3. The library or Object Store is a Content Engine library.static intLIBRARY_TYPE_GENERICValue of 6. The library or Object Store is a Generic library.static intLIBRARY_TYPE_IDMDSValue of 2. The library is a Content Services (CS) library (Content Services was formerly known as Document Services).static intLIBRARY_TYPE_IDMISValue of 1. The library is an Image Services (IS) library.static intLIBRARY_TYPE_ODValue of 5. The library or Object Store is an IBM Content Manager On Demand library.static intLIBRARY_TYPE_UNDEFINEDValue of 0. The library type is unknown or undefined.
-
Constructor Summary
Constructors Constructor and Description VWLibraryType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.StringgetLocalizedString(int theLibraryType)Gets a localized string containing a description of the library or Object Store type.static booleanisValid(int theLibraryType)Validates the specified library or Object Store type.
-
-
-
Field Detail
-
LIBRARY_TYPE_UNDEFINED
public static final int LIBRARY_TYPE_UNDEFINED
Value of 0. The library type is unknown or undefined.- See Also:
- Constant Field Values
-
LIBRARY_TYPE_IDMIS
public static final int LIBRARY_TYPE_IDMIS
Value of 1. The library is an Image Services (IS) library.- See Also:
- Constant Field Values
-
LIBRARY_TYPE_IDMDS
public static final int LIBRARY_TYPE_IDMDS
Value of 2. The library is a Content Services (CS) library (Content Services was formerly known as Document Services).- See Also:
- Constant Field Values
-
LIBRARY_TYPE_CONTENT_ENGINE
public static final int LIBRARY_TYPE_CONTENT_ENGINE
Value of 3. The library or Object Store is a Content Engine library.- See Also:
- Constant Field Values
-
LIBRARY_TYPE_CM
public static final int LIBRARY_TYPE_CM
Value of 4. The library or Object Store is an IBM Content Manager library.- See Also:
- Constant Field Values
-
LIBRARY_TYPE_OD
public static final int LIBRARY_TYPE_OD
Value of 5. The library or Object Store is an IBM Content Manager On Demand library.- See Also:
- Constant Field Values
-
LIBRARY_TYPE_GENERIC
public static final int LIBRARY_TYPE_GENERIC
Value of 6. The library or Object Store is a Generic library.- See Also:
- Constant Field Values
-
LIBRARY_TYPE_BOX
public static final int LIBRARY_TYPE_BOX
Value of 7. The library is Box storage library.- See Also:
- Constant Field Values
-
-
Method Detail
-
getLocalizedString
public static java.lang.String getLocalizedString(int theLibraryType) throws VWExceptionGets a localized string containing a description of the library or Object Store type.- Parameters:
theLibraryType- An integer value associated with the or Object Store or library type.- Returns:
- The localized description of the Object Store or library type.
- Throws:
VWException- The method throws an exception if the Object Store or library type integer value specified in the theLibraryType parameter is invalid.
-
isValid
public static boolean isValid(int theLibraryType)
Validates the specified library or Object Store type.- Parameters:
theLibraryType- An integer value for the library or Object Store type.- Returns:
- A Boolean value. The method returns true if the integer value specified in the theLibraryType parameter is valid; otherwise, the method returns false.
-
-