Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.jbo.common.policy
Class PolicyUtil

java.lang.Object
  extended by oracle.jbo.common.policy.PolicyUtil


public class PolicyUtil
extends java.lang.Object

Field Summary
static java.lang.String LINESEP
           

 

Constructor Summary
PolicyUtil()
           

 

Method Summary
static void applyContextPersonalization(ViewObjectImpl voInst)
           
protected static void applyVCViaPDef(ViewObjectImpl voInst, java.lang.String operation, ViewCriteria vc, boolean applyVC, boolean addAttr)
           
static java.lang.String dumpCriteria(ViewCriteria vc)
           
static java.lang.String dumpTable(java.lang.String[] attrs, java.util.List vals, java.lang.Integer[] widths, java.lang.String newLine)
           
static java.lang.String dumpTable(java.lang.String[] attrs, java.util.List vals, java.lang.String[] tabs, java.lang.String newLine)
           
static java.lang.String dumpVORows(ViewObject vo)
           
static java.lang.String dumpVORows(ViewObject vo, java.lang.String newLine)
           
static java.util.List<java.lang.String> getPropVals(ViewObject vo, java.lang.String propName)
           
static java.util.List<java.io.InputStream> getResourcesAsStreams(java.lang.String resourceName)
           
static java.lang.String getSecureCriteriaClause(ViewCriteria vc)
           
static java.lang.ClassLoader getTargetClassLoader(java.lang.String resourceName)
           
static boolean isSecureVC(ViewCriteria vc)
           
static java.util.List<java.lang.String> parseStr(java.lang.String toParse, java.lang.String token)
           
static java.lang.String printStr(java.lang.Object[] vals)
           
static java.util.Map<java.lang.String,java.lang.String> toMap(java.lang.String[][] arr)
           
static java.lang.String toString(AttributeDefImpl attrDef)
           
static java.lang.String toString(java.util.Collection elems)
           
static java.lang.String toString(PDefViewObject pvo)
           
static java.lang.String toString(ViewCriteria vc)
           
static java.lang.String toStringKeys(java.util.Map elemMap)
           
static java.lang.String toStringValues(java.util.Map elemMap)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

LINESEP

public static java.lang.String LINESEP

Constructor Detail

PolicyUtil

public PolicyUtil()

Method Detail

toMap

public static java.util.Map<java.lang.String,java.lang.String> toMap(java.lang.String[][] arr)

applyContextPersonalization

public static void applyContextPersonalization(ViewObjectImpl voInst)

getSecureCriteriaClause

public static java.lang.String getSecureCriteriaClause(ViewCriteria vc)

isSecureVC

public static boolean isSecureVC(ViewCriteria vc)

applyVCViaPDef

protected static void applyVCViaPDef(ViewObjectImpl voInst,
                                     java.lang.String operation,
                                     ViewCriteria vc,
                                     boolean applyVC,
                                     boolean addAttr)
                              throws java.lang.Exception
Throws:
java.lang.Exception

dumpVORows

public static java.lang.String dumpVORows(ViewObject vo)

dumpVORows

public static java.lang.String dumpVORows(ViewObject vo,
                                          java.lang.String newLine)

dumpTable

public static java.lang.String dumpTable(java.lang.String[] attrs,
                                         java.util.List vals,
                                         java.lang.String[] tabs,
                                         java.lang.String newLine)

dumpTable

public static java.lang.String dumpTable(java.lang.String[] attrs,
                                         java.util.List vals,
                                         java.lang.Integer[] widths,
                                         java.lang.String newLine)

toString

public static java.lang.String toString(PDefViewObject pvo)

toString

public static java.lang.String toString(java.util.Collection elems)

toStringValues

public static java.lang.String toStringValues(java.util.Map elemMap)

toStringKeys

public static java.lang.String toStringKeys(java.util.Map elemMap)

toString

public static java.lang.String toString(ViewCriteria vc)

toString

public static java.lang.String toString(AttributeDefImpl attrDef)

getPropVals

public static java.util.List<java.lang.String> getPropVals(ViewObject vo,
                                                           java.lang.String propName)

parseStr

public static java.util.List<java.lang.String> parseStr(java.lang.String toParse,
                                                        java.lang.String token)

printStr

public static java.lang.String printStr(java.lang.Object[] vals)

getResourcesAsStreams

public static java.util.List<java.io.InputStream> getResourcesAsStreams(java.lang.String resourceName)
                                                                 throws java.security.PrivilegedActionException
Throws:
java.security.PrivilegedActionException

getTargetClassLoader

public static java.lang.ClassLoader getTargetClassLoader(java.lang.String resourceName)

dumpCriteria

public static java.lang.String dumpCriteria(ViewCriteria vc)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


Copyright © 1997, 2011, Oracle. All rights reserved.