|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the public remote interface class for the PortalProperties entity. This entity contains EJB deployment information including but not limited to:
These are default properties used by the Portal Framework. All of these properties can be access using the PortalPropertiesBean or from the pt:props tag:
default.portal.headerURL "header.jsp"
default.portal.contentURL "portalcontent.jsp"
default.portal.footerURL "footer.jsp"
default.portal.cols "3"
default.portal.suspendedURL "suspended.jsp"
default.portlet.dir "portlets/"
default.portlet.image.dir "portlets/images/"
default.banner.color "#666666"
default.titlebar.bgcolor "#333399"
default.show.borders "false"
default.content.bgcolor "#CCCCCC"
default.titlebar.font.color "#FFFFFF"
default.body.bgcolor "#FFFFFF"
default.profile.group.property "portal.profile.group"
<pt:props id="headerURL" propertyName="default.portal.headerURL" />These properties are stored the the PortalPropertiesBean EJB deployment descriptor.
com.beasys.commerce.portal.util.TypedProperties
Method Summary | |
java.lang.String |
getProperty(java.lang.String aPropertyName)
Gets a property from the PortalPropertiesBean |
java.lang.String |
getProperty(java.lang.String aPropertyName,
java.lang.String def)
Gets a property as a String from the PortalPropertiesBean. |
java.lang.String[] |
getPropertyAsArray(java.lang.String aPropertyName)
If a property has a comma separated list, this method will parse it into a String array. |
boolean |
getPropertyAsBool(java.lang.String aPropertyName)
Get a boolean property value. |
boolean |
getPropertyAsBool(java.lang.String aPropertyName,
boolean def)
Get a boolean property value. |
double |
getPropertyAsDouble(java.lang.String aPropertyName)
Get the property as a double value. |
float |
getPropertyAsFloat(java.lang.String aPropertyName)
Get the property as a float value. |
double |
getPropertyAsFloat(java.lang.String aPropertyName,
double def)
Get the property as a double value. |
float |
getPropertyAsFloat(java.lang.String aPropertyName,
float def)
Get the property as a float value. |
int |
getPropertyAsInt(java.lang.String aPropertyName)
Look for a property and return it as an int. |
int |
getPropertyAsInt(java.lang.String aPropertyName,
int def)
Look for a property and return it as an int. |
long |
getPropertyAsLong(java.lang.String aPropertyName)
Get the property as a long value. |
long |
getPropertyAsLong(java.lang.String aPropertyName,
long def)
Get the property as a long value. |
java.lang.String |
getPropertyAsString(java.lang.String aPropertyName)
Just does getProperty. |
int |
getPropertyHexAsInt(java.lang.String aPropertyName)
Return a hex representation of a number as a base 10 int. |
int |
getPropertyHexAsInt(java.lang.String aPropertyName,
int def)
Return a hex representation of a number as a base 10 int. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public java.lang.String getProperty(java.lang.String aPropertyName) throws java.rmi.RemoteException
aPropertyName
- The name of the property to retrieve.public java.lang.String getProperty(java.lang.String aPropertyName, java.lang.String def) throws java.rmi.RemoteException
aPropertyName
- The name of the property to retrieve.public int getPropertyAsInt(java.lang.String aPropertyName, int def) throws java.rmi.RemoteException
aPropertyName
- the property name.def
- the default int value if the property is not found.public int getPropertyAsInt(java.lang.String aPropertyName) throws java.rmi.RemoteException
aPropertyName
- the property name.public int getPropertyHexAsInt(java.lang.String aPropertyName, int def) throws java.rmi.RemoteException
aPropertyName
- the property name to look for.def
- the default value.public int getPropertyHexAsInt(java.lang.String aPropertyName) throws java.rmi.RemoteException
aPropertyName
- the property name to look for.public long getPropertyAsLong(java.lang.String aPropertyName, long def) throws java.rmi.RemoteException
aPropertyName
- the property name.def
- the default value.public long getPropertyAsLong(java.lang.String aPropertyName) throws java.rmi.RemoteException
aPropertyName
- the property name.public float getPropertyAsFloat(java.lang.String aPropertyName, float def) throws java.rmi.RemoteException
aPropertyName
- the property name.def
- the default value.public float getPropertyAsFloat(java.lang.String aPropertyName) throws java.rmi.RemoteException
aPropertyName
- the property name.public double getPropertyAsFloat(java.lang.String aPropertyName, double def) throws java.rmi.RemoteException
aPropertyName
- the property name.def
- the default value.public double getPropertyAsDouble(java.lang.String aPropertyName) throws java.rmi.RemoteException
aPropertyName
- the property name.public java.lang.String getPropertyAsString(java.lang.String aPropertyName) throws java.rmi.RemoteException
aPropertyName
- the property name.getProperty(String)
public boolean getPropertyAsBool(java.lang.String aPropertyName, boolean def) throws java.rmi.RemoteException
aPropertyName
- the property namedef
- the default valuepublic boolean getPropertyAsBool(java.lang.String aPropertyName) throws java.rmi.RemoteException
aPropertyName
- the property namepublic java.lang.String[] getPropertyAsArray(java.lang.String aPropertyName) throws java.rmi.RemoteException
String
- the property name.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |