|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.portal.provider.v2.MobileFlags
public class MobileFlags
Field Summary | |
---|---|
static long |
EXTERNAL_SHOW
|
static long |
MOBILE_GENERIC
Flags that define the portlet's mobile settings. |
static long |
MOBILE_ONLY
|
static java.lang.String |
TOKEN_EXTERNAL_SHOW
String constant that is the token name for the associated flag. |
static java.lang.String |
TOKEN_MOBILE_GENERIC
String constant that is the token name for the associated flag. |
static java.lang.String |
TOKEN_MOBILE_ONLY
String constant that is the token name for the associated flag. |
Constructor Summary | |
---|---|
MobileFlags(long flags)
Constructor |
|
MobileFlags(java.lang.Long flags)
Constructor |
|
MobileFlags(java.lang.String flags)
Constructor -- allows you to represent flags as "MOBILE_ONLY | EXTERNAL_SHOW" |
Method Summary | |
---|---|
long |
getValue()
|
boolean |
isExternalShow()
|
boolean |
isMobileOnly()
|
void |
setValue(long flags)
|
void |
setValue(java.lang.Long flags)
|
void |
setValue(java.lang.String flags)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long MOBILE_GENERIC
MOBILE_GENERIC
: placeholder that means this is a default
(or generic) portlet.
MOBILE_ONLY
: this flag indicates the portlet shouldn't be
rendered in the desktop viewer. I.e. the portal shouldn't transform
this portlet's mobileXML to HTML.
EXTERNAL_SHOW
: this flag indicates the portlet's show link is
"external". I.e. rather then use the page URL to generate a portal
relative link to the portlet, an absolute (external to the portal) link
is generated. These types of portlets tyipcally won't render when
accessed from the mobile viewer. By setting this flag, the portal can
provide UI that indicates this to the user.
public static final long MOBILE_ONLY
public static final long EXTERNAL_SHOW
public static final java.lang.String TOKEN_MOBILE_GENERIC
public static final java.lang.String TOKEN_MOBILE_ONLY
public static final java.lang.String TOKEN_EXTERNAL_SHOW
Constructor Detail |
---|
public MobileFlags(java.lang.String flags) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public MobileFlags(long flags)
public MobileFlags(java.lang.Long flags)
Method Detail |
---|
public boolean isMobileOnly()
public boolean isExternalShow()
public long getValue()
public void setValue(long flags)
flags
- sets the MobileFlags to the bitwise flags represented by the long.public void setValue(java.lang.Long flags)
flags
- sets the MobileFlags to the bitwise flags represented by the Long.public void setValue(java.lang.String flags) throws java.lang.IllegalArgumentException
flags
- sets the MobileFlags to the bitwise flags represented by the String.
Flags in the string are represented by their names separated by a |.
java.lang.IllegalArgumentException
|
Oracle Fusion Middleware Java API Reference for Oracle PDK Java 11g Release 1 (11.1.1) E10691-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |