com.beasys.commerce.user.jsp.beans
Class PropertySetBean
java.lang.Object
|
+--com.beasys.commerce.user.jsp.beans.PropertySetBean
- public class PropertySetBean
- extends java.lang.Object
- implements UserManagementConstants
Jsp bean class to help with PropertySet management tools
TODO: extend JspBeanBase from portal tools?
Fields inherited from interface com.beasys.commerce.axiom.contact.UserManagementConstants |
ANONYMOUS_PROFILE,
CACHED_PROFILE,
CONTENT_TYPE,
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,
REQUEST_TYPE,
RESERVED_SCOPE,
SCHEMA,
SESSION_TYPE,
USER,
USER_ENTITY_HOME,
USER_MGR,
USER_MGR_PROPERTIES,
USER_TYPE |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DEFAULT_PROPERTY_SET
public static final java.lang.String DEFAULT_PROPERTY_SET
- Constant
PropertySetBean
public PropertySetBean()
validate
public java.lang.String validate()
- Make sure that the name and description provided for the
new property set are valid
- Returns:
- an error message, or null if everything is ok
validateDescription
public java.lang.String validateDescription()
createPropertySet
public java.lang.String createPropertySet()
- Create a new property set
deletePropertySet
public java.lang.String deletePropertySet()
- Delete a property set
initializePropertySet
public 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.
initializeQualifiedPropertySet
public 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.
This version expects scopeToCopy to be of the form .
getListOfScopes
public java.lang.String[] getListOfScopes()
- Get a list of all scopes in the system. This just returns a
list of property set names, without reference to their schemaGroupName
- Returns:
- a string array containing the names of the scopes
getQualifiedPropertySets
public java.lang.String[] getQualifiedPropertySets()
- Get a list of all scopes in the system in the form
.
- Returns:
- a string array containing the names of the scopes
getSchemaObject
public Schema getSchemaObject()
- Returns:
- the schema object named by the scopeName attribute
getSchemasForGroupName
public java.lang.String[] getSchemasForGroupName(java.lang.String groupName)
getDefaultScopedPropertiesForUser
public java.util.Map getDefaultScopedPropertiesForUser(java.lang.String username)
getDefaultScopedPropertiesForGroup
public java.util.Map getDefaultScopedPropertiesForGroup(java.lang.String groupname)
isBlank
public boolean isBlank(java.lang.String input)
- TODO: move this to a base class (JspBeanBase?)
- Returns:
- true if the string is null, empty, or consists only of spaces
setScopeName
public void setScopeName(java.lang.String s)
getScopeName
public java.lang.String getScopeName()
setSchemaGroupName
public void setSchemaGroupName(java.lang.String s)
getSchemaGroupName
public java.lang.String getSchemaGroupName()
setDescription
public void setDescription(java.lang.String s)
getDescription
public java.lang.String getDescription()
setScopeToCopy
public void setScopeToCopy(java.lang.String s)
getScopeToCopy
public java.lang.String getScopeToCopy()
Copyright © 2000 BEA Systems, Inc. All Rights Reserved