object DominoUtil
Contains utility methods used throughout Domino.
- Alphabetic
- By Inheritance
- DominoUtil
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
GenericsExpressionKey: String
The OSGi service property key for saving the generic types expression.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
convertToDictionary(map: Map[String, Any]): Dictionary[String, AnyRef]
Converts the given Scala Map to a Java Dictionary.
-
def
convertToMap(dictionary: Dictionary[_, _]): Map[String, Any]
Converts the given Java Dictionary to a Scala Map.
-
def
createCompleteFilter(tpe: scala.reflect.api.JavaUniverse.Type, customFilter: String): String
Creates a filter criteria expression which matches the given main type, the generic type and the given custom filter.
Creates a filter criteria expression which matches the given main type, the generic type and the given custom filter. Thus, it includes the main
OBJECTCLASS
filter criteria.- tpe
Type information
- customFilter
A custom filter expression
-
def
createGenericsAndCustomFilter(tpe: scala.reflect.api.JavaUniverse.Type, customFilter: String): Option[String]
Creates a filter criteria expression which matches the given type and the given custom filter.
Creates a filter criteria expression which matches the given type and the given custom filter. Doesn't include the main
OBJECTCLASS
filter criteria. If no custom filter is given and generic types are not used, returnsNone
.- tpe
Type information
- customFilter
A custom filter expression
-
def
createGenericsExpression(types: Traversable[scala.reflect.api.JavaUniverse.Type]): Option[String]
Creates an expression which describes the complete type information of the given types including generic type parameters.
Creates an expression which describes the complete type information of the given types including generic type parameters. If none of the given types contains type parameters, it returns
None
.The resulting expression is supposed to be registered as OSGi service property so it can be used as a criteria in a service query.
Example input:
Map[String, Map[String, Integer]]
List[Number]
String
Example result:
";Map[String, Map[String, Integer]];List[Number];String;"
(package names omitted)- types
Type objects which might contain information about generic type arguments
- returns
types expression if generic type parameters are used
- Note
A semicolon is used instead of a comma to separate the types.
-
def
createGenericsFilter(tpe: scala.reflect.api.JavaUniverse.Type): Option[String]
Creates a filter expression that would match the given type with its generic type parameters.
Creates a filter expression that would match the given type with its generic type parameters. Uses wildcards because the service can be registered under several types. That would result in several generic type expressions separated by semicolon.
If no generic type is used in the type, returns
None
. -
def
createObjectClassFilter(typeName: String): String
Creates an
OBJECTCLASS
filter for the given class. - def dumpBundle(context: BundleContext): String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFullTypeName(tpe: scala.reflect.api.JavaUniverse.Type): String
Returns the qualified name of the given type.
-
def
hasTypeArguments(tpe: scala.reflect.api.JavaUniverse.Type): Boolean
Returns whether the given type tag has type parameters.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
linkFiltersWithAnd(filterOne: Option[String], filterTwo: Option[String]): Option[String]
Links to filter expressions with a logical AND if both are given, otherwise returns just one of it.
Links to filter expressions with a logical AND if both are given, otherwise returns just one of it.
- filterOne
First filter
- filterTwo
Second filter
- returns
result
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )