|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.user.jsp.beans.PropertySetBean
Jsp bean class to help with PropertySet management tools
Field Summary | |
static java.lang.String |
DEFAULT_PROPERTY_SET
Constant to |
Fields inherited from interface com.beasys.commerce.axiom.contact.UserManagementConstants |
ANONYMOUS_PROFILE,
CACHED_PROFILE,
DEFAULT_SCOPE,
DEFAULT_SUCCESSOR,
DEFAULT_SUCCESSOR_HOME,
DEFAULT_SUCCESSOR_JNDI,
DEFAULT_SUCCESSOR_PK,
DEFAULT_USER,
DEFAULT_USER_HOME,
DEFAULT_USER_JNDI,
DEFAULT_USER_PK,
GROUP,
GROUP_ENTITY_HOME,
PROFILE_MGR,
PROFILE_SUCCESSOR,
PROFILE_USER,
REALM_CONFIG,
RESERVED_SCOPE,
USER,
USER_ENTITY_HOME,
USER_MGR |
Fields inherited from interface com.beasys.commerce.foundation.property.SchemaManagerConstants |
APPLICATION_INIT_TYPE,
CATALOG_TYPE,
CONTENT_TYPE,
REQUEST_TYPE,
SCHEMA,
SCHEMA_GROUPS,
SESSION_TYPE,
USER_TYPE |
Constructor Summary | |
PropertySetBean()
|
Method Summary | |
protected java.lang.String |
copyPropertySet(java.lang.String scopeToCopyGroup,
java.lang.String scopeToCopyName)
Helper method to copy the properties to the scope specified by scopeName and schemaGroupName from the scope specified by the paramaters. |
java.lang.String |
createPropertySet()
Create a new property set based on the current bean attributes |
java.lang.String |
deletePropertySet()
Delete a property set based on the current bean attributes |
java.util.Map |
getDefaultScopedPropertiesForGroup(java.lang.String groupname)
Return a Map of properties in the default scope for the given group. |
java.util.Map |
getDefaultScopedPropertiesForUser(java.lang.String username)
Return a Map of properties in the default scope for the given user. |
java.lang.String |
getDescription()
Get a description of the PropertySet |
java.util.Map |
getDynamicPropertiesForGroup(java.lang.String groupname)
Return a Map of dynamically defined properties for the given group. |
java.util.Map |
getDynamicPropertiesForUser(java.lang.String username)
Return a Map of dynamically defined properties for the given user. |
java.lang.String[] |
getListOfScopes()
Get a list of all scopes in the system. |
java.lang.String[] |
getQualifiedPropertySets()
Get a list of all scopes in the system in the form |
java.lang.String |
getSchemaGroupName()
Get the name of the schema group |
Schema |
getSchemaObject()
|
java.lang.String[] |
getSchemasForGroupName(java.lang.String groupName)
Get a list of schema names for the given schema group name |
java.lang.String |
getScopeName()
Get the name of the PropertySet |
java.lang.String |
getScopeToCopy()
Get a scope to copy properties from |
java.lang.String |
initializePropertySet()
Initialize a new property set by copying the properties from the set specified in the scopeToCopy variable (in the current schemaGroupname) into the new property set. |
java.lang.String |
initializeQualifiedPropertySet()
Initialize a new property set by copying the properties from the set specified in the scopeToCopy variable into the new property set. |
boolean |
isBlank(java.lang.String input)
|
void |
setDescription(java.lang.String s)
Set a description of the PropertySet |
void |
setSchemaGroupName(java.lang.String s)
Set the name of the schema group |
void |
setScopeName(java.lang.String s)
Set the name of the PropertySet |
void |
setScopeToCopy(java.lang.String s)
Set a scope to copy properties from |
java.lang.String |
validate()
Make sure that the name and description provided for the new property set are valid |
java.lang.String |
validateDescription()
Make sure a property set description was provided |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String DEFAULT_PROPERTY_SET
Constructor Detail |
public PropertySetBean()
Method Detail |
public java.lang.String validate()
public java.lang.String validateDescription()
public java.lang.String createPropertySet()
public java.lang.String deletePropertySet()
public java.lang.String initializePropertySet()
public java.lang.String initializeQualifiedPropertySet()
protected java.lang.String copyPropertySet(java.lang.String scopeToCopyGroup, java.lang.String scopeToCopyName)
scopeToCopyGroup
- the group of the scope to copy fromscopeToCopyName
- the name of the scope to copy frompublic java.lang.String[] getListOfScopes()
public java.lang.String[] getQualifiedPropertySets()
public Schema getSchemaObject()
public java.lang.String[] getSchemasForGroupName(java.lang.String groupName)
groupName
- the schema group name to querypublic java.util.Map getDefaultScopedPropertiesForUser(java.lang.String username)
username
- the username to querypublic java.util.Map getDefaultScopedPropertiesForGroup(java.lang.String groupname)
groupname
- the group to querypublic java.util.Map getDynamicPropertiesForUser(java.lang.String username)
username
- the username to querypublic java.util.Map getDynamicPropertiesForGroup(java.lang.String groupname)
groupname
- the group to querypublic boolean isBlank(java.lang.String input)
public void setScopeName(java.lang.String s)
public java.lang.String getScopeName()
public void setSchemaGroupName(java.lang.String s)
public java.lang.String getSchemaGroupName()
public void setDescription(java.lang.String s)
public java.lang.String getDescription()
public void setScopeToCopy(java.lang.String s)
public java.lang.String getScopeToCopy()
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |