|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.object.PersistentObject
com.waveset.object.Service
com.waveset.object.Resource
Nested Class Summary | |
static class |
Resource.Feature
The Feature class allows each Resource instance to disable (deny) features. |
static class |
Resource.ObjectType
|
Nested classes inherited from class com.waveset.object.PersistentObject |
PersistentObject.Comparator, PersistentObject.InitialInstance |
Field Summary | |
static java.lang.String |
code_id
|
static java.lang.String |
DEFAULT_ACCOUNT_TYPE
The name of the "default" account type. |
static java.lang.String |
EL_ACCOUNT_ATTRIBUTE_TYPES
|
static java.lang.String |
EL_ACCOUNT_TYPES
|
static java.lang.String |
EL_APPROVERS
|
static java.lang.String |
EL_EXCLUDED_ACCOUNTS_RULE
|
static java.lang.String |
EL_FEATURES
|
static java.lang.String |
EL_ID_POLICY
|
static java.lang.String |
EL_OBJECT_TYPES
|
static java.lang.String |
EL_PASSWORD_POLICY
|
static java.lang.String |
EL_RESOURCE_ATTRIBUTES
|
static java.lang.String |
EL_RESOURCE_PASSWORD_HISTORY
|
static java.lang.String |
EL_RESOURCE_PASSWORD_POLICY
|
static java.lang.String |
EL_RESOURCE_USER_FORM
|
static java.lang.String |
EL_RETRIES
|
static java.lang.String |
EL_RPC_KEY
|
static java.lang.String |
EL_USER_ACCOUNT_CONFIRMATION_RULE
|
static java.lang.String |
EL_USER_NAME_GENERATION_RULE
|
static java.lang.String |
EXCLUDED_RESOURCE_ACCOUNT_POLICY
|
static java.lang.String |
RESOURCE_PASSWORD_POLICY
|
static java.lang.String |
STARTUP_TYPE_AUTO
|
static java.lang.String |
STARTUP_TYPE_AUTO_FAILOVER
|
static java.lang.String |
STARTUP_TYPE_DISABLED
|
static java.lang.String |
STARTUP_TYPE_MANUAL
|
static java.lang.String[] |
STARTUP_TYPES
|
static java.lang.String[] |
STARTUP_TYPES_DISPLAY_NAMES
|
Fields inherited from class com.waveset.object.PersistentObject |
_trace, trace |
Constructor Summary | |
Resource()
|
|
Resource(org.w3c.dom.Element e)
|
|
Resource(java.lang.String xml)
|
Method Summary | |
void |
addAccountType(java.lang.String accountType,
Rule idRule)
Add (or replace) the definition of an account type for this resource. |
void |
addApprover(ObjectRef ref)
Add one approver to our approver list. |
void |
addApprover(WSUser admin)
Add one approver to our approver list. |
void |
addFeature(Resource.Feature feature)
Add/replace the Feature into the features map |
void |
addIdentityTemplate(java.lang.StringBuffer buf,
int indent)
|
void |
addObjectType(Resource.ObjectType objectType)
|
void |
addResourceAttribute(ResourceAttribute attribute)
|
boolean |
addResourceAttributeVal(Attribute attribute,
java.lang.Object value)
Adds the value to the attribute's values. |
boolean |
addResourceAttributeVal(java.lang.String attrId,
java.lang.Object value)
Adds the value to the attribute's values. |
protected void |
addRetries(java.lang.StringBuffer buf,
int indent)
|
protected void |
addSubclassAttributes(java.lang.StringBuffer buf)
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). |
protected void |
addSubclassElements(java.lang.StringBuffer buf)
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). |
void |
clearAccountTypes()
Remove all defined account types from this resource. |
void |
clearApprovers()
Clear the approvers list. |
PersistentObject |
cloneObject()
Extends the PersistentObject implementation of cloneObject to ensure that the _productObjectTypes get cloned as well since they are built dynamically per server based on the server's licensed set of products |
void |
disableFeature(java.lang.String featureName)
Add the feature into the features map if not present, and mark disabled. |
AccountAttributeType |
getAccountAttributeType(int id)
Get the account attribute type with the specified id. |
AccountAttributeType |
getAccountAttributeType(java.lang.String name)
Get the account attribute type with the specified name. |
AccountAttributeType |
getAccountAttributeType(java.lang.String name,
java.lang.String mapName)
Gets the account attribute with the specified name and/or map name, where the name is the name of the "Waveset" attribute and the map name is the name of the resource attribute. |
AccountAttributeType[] |
getAccountAttributeTypes()
|
java.util.List |
getAccountTypeNames()
Get the names of account types defined for this resource. |
ObjectRef |
getAccountTypeRule(java.lang.String accountType)
Get the identity rule associated with the specified account type. |
java.lang.String |
getAdapterClassName()
|
java.lang.String |
getApplicationName()
|
java.util.ArrayList |
getApproverRefs()
Get the list of approver object references for this role. |
WSUser[] |
getApprovers()
Get an array of resolved approver objects for this resource. |
protected WSAttribute |
getAttributeValues(java.lang.String attrName)
|
java.util.ArrayList |
getDeniedFeatures()
zReturn of a list of the names of all the features which are currently disabled. |
Rule |
getEffectiveExcludedAccountsRule()
|
Rule |
getEffectiveExcludedAccountsRule(LighthouseContext context)
|
ObjectRef |
getEffectiveExcludedAccountsRuleRef(LighthouseContext context)
|
Policy |
getEffectiveResourcePasswordPolicy(LighthouseContext context)
|
ObjectRef |
getEffectiveResourcePasswordPolicyRef(LighthouseContext context)
Differentiated from passwordPolicy in that this applies to resource accounts and not to provisioned users. |
java.util.List |
getEncryptedValues()
|
EncryptionKey |
getEncryptionKey()
|
ObjectRef |
getEncryptionKeyRef()
|
Rule |
getExcludedAccountsRule()
Optional rule to determine if an account is to be excluded from resource accounts lists. |
ObjectRef |
getExcludedAccountsRuleRef()
Optional rule to determine if an account is to be excluded from resource accounts lists. |
java.util.List |
getFacetList()
|
java.lang.String |
getFacets()
|
Resource.Feature |
getFeature(java.lang.String featureName)
Return the Feature for the given feature name |
java.util.Map |
getFeatures()
Returns the current features Map |
Form |
getForm(boolean getAllAttrs)
Form-based view of resource and account attributes. |
AttributeDefinition[] |
getIdentityAttributeDefinitions()
Create an AccountAttributeType array of the attribute definitions in the identity template. |
java.util.Vector |
getIdentityTemplate()
|
Policy |
getIdPolicy()
|
ObjectRef |
getIdPolicyRef()
|
java.lang.String |
getInstanceIdentifier(java.util.Map parameters)
|
java.lang.String |
getInstanceName(java.util.Map parameters)
|
java.util.Map |
getInstanceParameters()
|
boolean |
getIsSource()
|
LoginConfig.LoginConfigEntry |
getLoginConfigEntry()
|
java.lang.String |
getMostRecentActivity()
|
long |
getMostRecentActivityDate()
|
int |
getNextAcctAttrTypeId()
|
Resource.ObjectType |
getObjectType(java.lang.String objectType)
|
java.util.List |
getObjectTypeContainerObjectTypes()
|
java.lang.String |
getObjectTypeContainerObjectTypesAsString(java.lang.String delim)
|
java.lang.String |
getObjectTypeDescriptionAttr(java.lang.String objectType)
|
java.lang.String |
getObjectTypeDisplayNameAttr(java.lang.String objectType)
|
java.lang.String |
getObjectTypeFeatureForm(java.lang.String objectType,
java.lang.String featureName)
Return the custom form name (if any) which is specified for an oject type feature |
java.util.List |
getObjectTypeFeatureNames(java.lang.String objectType)
|
java.util.List |
getObjectTypeFeatures(java.lang.String objectType)
|
java.lang.String |
getObjectTypeFeaturesAsString(java.lang.String objectType,
java.lang.String delim)
|
java.lang.String |
getObjectTypeIcon(java.lang.String objectType)
|
java.lang.String |
getObjectTypeIdAttr(java.lang.String objectType)
|
java.util.List |
getObjectTypeNames()
|
Resource.ObjectType.ObjectAttribute |
getObjectTypeObjectAttribute(java.lang.String objectType,
java.lang.String attrName)
|
java.util.List |
getObjectTypeObjectAttributeNames(java.lang.String objectType)
|
java.util.Map |
getObjectTypeObjectAttributeNamesAndTypes(java.lang.String objectType)
|
java.util.List |
getObjectTypeObjectAttributes(java.lang.String objectType)
|
java.lang.String |
getObjectTypeObjectClassAttr(java.lang.String objectType)
|
java.util.List |
getObjectTypeObjectClasses(java.lang.String objectType)
|
java.lang.String |
getObjectTypeObjectClassesOperator(java.lang.String objectType)
|
java.util.List |
getObjectTypeObjectClassNames(java.lang.String objectType)
|
java.lang.String |
getObjectTypePrimaryObjectClass(java.lang.String objectType)
|
Resource.ObjectType[] |
getObjectTypes()
|
java.lang.String |
getObjectTypesAsString(java.lang.String delim)
|
java.lang.String |
getObjectTypeSearchFilter(java.lang.String objectType)
|
java.util.List |
getObjectTypesSupportingFeature(java.lang.String feature)
|
java.lang.String |
getObjectTypesSupportingFeatureAsString(java.lang.String feature,
java.lang.String delim)
|
java.lang.String |
getObjectTypeWhereObjectClassIs(java.lang.String objClass)
|
java.util.List |
getParameterizedAttributes()
|
Policy |
getPasswordPolicy()
|
ObjectRef |
getPasswordPolicyRef()
|
long |
getReconcileTime()
|
java.util.ArrayList |
getReferences()
Return the list of references within this object. |
java.util.Set |
getResourceAssignmentRefs()
Return the set of possibly qualified resource object references encapsulated by this Service and any Service it contains. |
java.util.Set |
getResourceAssignments()
Return the set of ResourceAssignments encapsulated by this Service and any Services it contains. |
ResourceAttribute |
getResourceAttribute(Attribute attribute)
|
ResourceAttribute |
getResourceAttribute(java.lang.String attrId)
|
ResourceAttribute[] |
getResourceAttributes()
Gets an array of the resource attributes. |
java.lang.Object |
getResourceAttributeVal(Attribute attribute)
Gets any one of the resource attribute's values. |
java.lang.Object |
getResourceAttributeVal(java.lang.String attrId)
Gets any one of the resource attribute's values. |
java.lang.Object[] |
getResourceAttributeVals(Attribute attribute)
Gets all of the resource attribute's values. |
java.lang.Object[] |
getResourceAttributeVals(java.lang.String attrId)
Gets all of the resource attribute's values. |
java.util.Map |
getResourcePasswordHistory()
|
java.util.List |
getResourcePasswordHistory(java.lang.String key)
|
Policy |
getResourcePasswordPolicy()
|
ObjectRef |
getResourcePasswordPolicyRef()
|
java.util.List |
getResourceRefs()
Return a flattened list of resource object references encapsulated by this Service and any Service it contains. |
Resource[] |
getResources()
Return a flattened array of resolved resource objects encapsulated by this service and any Service it contains. |
int |
getRetryDelay()
|
java.lang.String |
getRetryEmail()
|
java.util.List |
getRetryEmailList()
Returns a list containing email addresses as strings. |
int |
getRetryEmailThreshold()
|
int |
getRetryMax()
|
java.util.List |
getServiceRefs()
Return a list of Service object references encapsulated by this service. |
Service[] |
getServices()
Return an array of resolved service objects, immediately referenced by this object. |
java.lang.String |
getStartupType()
|
WSAttributes |
getSummaryAttributes()
|
long |
getTimeLastExamined()
|
Type |
getType()
Returns the associated Type object. |
java.lang.String |
getTypeDisplayString()
|
java.lang.String |
getTypeDisplayString(java.util.Locale locale)
|
java.lang.String |
getTypeOrDisplayString()
Returns _typeDisplayString unless it is null, in which case, it returns _typeString. |
java.lang.String |
getTypeString()
|
java.util.List |
getUINamesOfObjectTypesSupportingFeature(java.util.Locale locale,
java.lang.String feature)
|
Rule |
getUserAccountConfirmationRule()
Optional rule to confirm that a Lighthouse user object and a resource account object refer to the same virtual identity. |
ObjectRef |
getUserAccountConfirmationRuleRef()
Optional rule to confirm that a Lighthouse user object and a resource account object refer to the same virtual identity. |
ObjectRef |
getUserFormRef()
|
Rule |
getUserNameGenerationRule()
Optional rule to generate possible Lighthouse user names for a resource account object. |
ObjectRef |
getUserNameGenerationRuleRef()
Optional rule to generate possible Lighthouse user names for a resource account object. |
boolean |
hasAccountTypes()
Indicate whether account types have been defined on this resource. |
static boolean |
hasEncryptedData()
|
boolean |
hasId()
|
Resource |
instantiateTemplate(java.util.Map params)
Convert a template resource into an instance resource |
boolean |
isAccountTypeDefined(java.lang.String accountType)
Indicate whether the specified account type has been defined on this resource. |
boolean |
isActiveSync()
|
boolean |
isDeprecated()
|
boolean |
isFeatureAllowed(java.lang.String featureName)
Is the specified feature not disabled? |
boolean |
isNoDelete()
|
boolean |
isObjectFeatureSupported(java.lang.String feature)
|
boolean |
isProvision()
|
boolean |
isTemplate()
|
boolean |
isTemplateInstance()
|
java.lang.String[] |
lhsToMapName(java.lang.String[] list)
|
java.util.List |
listQueryableAttributes()
|
java.util.List |
listSummaryAttributes()
Returns the complete list of defined attributes
that this type of persistent object exposes as summary attributes
(regardless of whether this particular object has a value for each). |
boolean |
objectTypeIsContainer(java.lang.String objectType)
|
protected void |
parseSubclassAttributes(org.w3c.dom.Element e)
Each concrete subclass should parse from the XML buffer any persisted subclass-specific fields (generally, the same ones that it writes into the buffer). |
protected void |
parseSubclassElements(org.w3c.dom.Element e)
Each concrete subclass should parse from the XML buffer any persisted subclass-specific elements (generally, the same ones that it writes into the buffer). |
static Resource[] |
parseXmlArray(org.w3c.dom.Element e,
PersistentObject owner)
Parse the DOM representatino for a list of Resource objects, and return them in an array. |
void |
prepareForSerialization()
Override PersistentObject to tell each AccountAttributeType to resolve any reference to an AttributeDefinition object. |
void |
putAccountAttributeType(AccountAttributeType attrType)
Add the specified account attribute type to the set of account attribute types for this resource. |
void |
putAccountAttributeTypes(AccountAttributeType[] attrTypes)
Add an array of account attribute types, ADDING to any existing types. |
void |
putResourceAttribute(ResourceAttribute attr)
This was commented out since the set of resource attributes is typically fixed. |
protected void |
reEncryptSubclassAttributes()
Each concrete subclass should parse from the XML buffer any persisted subclass-specific fields (generally, the same ones that it writes into the buffer). |
AccountAttributeType |
removeAccountAttributeType(java.lang.String name,
java.lang.String mapName)
|
void |
removeAccountType(java.lang.String accountType)
Remove the specified account type definition from this resource. |
void |
removeAllAccountAttributeTypes()
Removes the account attribute with the specified name and/or map name, where the name is the name of the "Waveset" attribute and the map name is the name of the resource attribute. |
void |
removeObjectType(java.lang.String objectType)
|
void |
removeResourceAttribute(java.lang.String attrId)
|
void |
setAccountAttributeTypes(AccountAttributeType[] types)
|
void |
setActiveSync(boolean enable)
|
void |
setAdapterClassName(java.lang.String className)
|
void |
setApplicationName(java.lang.String n)
|
void |
setApproverRefs(java.util.List refs)
Set the list of references to administrator who can approve requests on this resource |
void |
setDeprecated(boolean deprecated)
|
void |
setEncryptionKey(EncryptionKey key)
|
void |
setExcludedAccountsRule(Rule rule)
Optional rule to determine if an account is to be excluded from resource accounts lists. |
void |
setExcludedAccountsRuleRef(ObjectRef ref)
Optional rule to determine if an account is to be excluded from resource accounts lists. |
void |
setFacetList(java.util.List facetList)
|
void |
setFacets(java.lang.String facets)
|
void |
setHasId(boolean b)
|
void |
setIdentityTemplate(java.util.Vector idTemplate)
|
void |
setIdPolicy(Policy p)
|
void |
setIdPolicyRef(ObjectRef p)
|
void |
setIsSource(boolean isSource)
|
void |
setLoginConfigEntry(LoginConfig.LoginConfigEntry lcEntry)
|
void |
setLoginConfigEntryDisplayName(java.lang.String displayName)
|
void |
setLoginConfigEntryType(java.lang.String type)
|
void |
setMostRecentActivity(java.lang.String val)
|
void |
setMostRecentActivityDate(long val)
|
void |
setNoDelete(boolean b)
|
void |
setObjectType(Resource.ObjectType objectType)
|
void |
setObjectTypes(Resource.ObjectType[] objectTypes)
|
void |
setPasswordPolicy(Policy p)
|
void |
setPasswordPolicyRef(ObjectRef p)
|
void |
setProvision(boolean enable)
|
void |
setReconcileTime(long timestamp)
|
void |
setResourceAttributeDescription(ResourceAttribute attr,
java.lang.String description)
This method is called by the ResourceUpdater to allow updates to a ResourceAttribute's description |
void |
setResourceAttributeDisplayName(ResourceAttribute attr,
java.lang.String displayName)
This method is called by the ResourceUpdater to allow updates to a ResourceAttribute's displayName |
void |
setResourceAttributeFacets(ResourceAttribute attr,
java.lang.String facets)
This method is called by the ResourceUpdater to allow updates to a ResourceAttribute's facets |
void |
setResourceAttributeMultiValued(ResourceAttribute attr,
boolean multi)
This method is called by the ResourceUpdater to allow updates to a ResourceAttribute's multi |
boolean |
setResourceAttributeVal(Attribute attribute,
java.lang.Object value)
Sets the value of the attribute to the value. |
boolean |
setResourceAttributeVal(java.lang.String attrId,
java.lang.Object value)
Sets the value of the attribute to the value. |
boolean |
setResourceAttributeVals(Attribute attribute,
java.lang.Object[] values)
Sets the attribute's values to the set of values in the array. |
boolean |
setResourceAttributeVals(java.lang.String attrId,
java.lang.Object[] values)
Sets the attribute's values to the set of values in the array. |
void |
setResourcePasswordHistory(java.util.Map history)
|
void |
setResourcePasswordHistory(java.lang.String key,
java.util.List history)
|
void |
setResourcePasswordPolicy(Policy p)
|
void |
setResourcePasswordPolicyRef(ObjectRef p)
|
void |
setRetryDelay(int i)
|
void |
setRetryEmail(java.lang.String s)
|
void |
setRetryEmailThreshold(int i)
|
void |
setRetryMax(int i)
|
void |
setStartupType(java.lang.String startupType)
|
void |
setSupportsScanning(boolean support)
|
void |
setTimeLastExamined(long timestamp)
|
void |
setTypeDisplayString(java.lang.String s)
|
void |
setTypeString(java.lang.String inString)
|
void |
setUnlockOnPasswordReset(boolean unlockOnPasswordReset)
|
void |
setUserAccountConfirmationRule(ObjectRef ref)
Optional rule to confirm that a Lighthouse user object and a resource account object refer to the same virtual identity. |
void |
setUserAccountConfirmationRule(Rule rule)
Optional rule to confirm that a Lighthouse user object and a resource account object refer to the same virtual identity. |
void |
setUserFormRef(ObjectRef objref)
|
void |
setUserNameGenerationRule(ObjectRef ref)
Optional rule to generate possible Lighthouse user names for a resource account object. |
void |
setUserNameGenerationRule(Rule rule)
Optional rule to generate possible Lighthouse user names for a resource account object. |
boolean |
supportsAnyObjectTypeFeatures()
|
boolean |
supportsContainerObjectTypes()
|
boolean |
supportsScanning()
|
boolean |
unlockOnPasswordReset()
|
void |
visit(Visitor v)
Visitor interface. |
Methods inherited from class com.waveset.object.Service |
checkForReferenceCycles, dumpSummary, findApplications, findApplications, findResourceAssignments, findResources, findRoleAttributes, findRoleExclusions, findRoles, findRoles, findServices, findServices, getFlatResourceAssignments, getFlatResourceAssignments, getFlatResources, getFlatResources, getFlatResources, getFlatResources, isOrdered, toIdentityString, toVerboseString, toVerboseString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
public static final java.lang.String STARTUP_TYPE_AUTO
public static final java.lang.String STARTUP_TYPE_AUTO_FAILOVER
public static final java.lang.String STARTUP_TYPE_MANUAL
public static final java.lang.String STARTUP_TYPE_DISABLED
public static final java.lang.String[] STARTUP_TYPES
public static final java.lang.String[] STARTUP_TYPES_DISPLAY_NAMES
public static final java.lang.String RESOURCE_PASSWORD_POLICY
public static final java.lang.String EXCLUDED_RESOURCE_ACCOUNT_POLICY
public static final java.lang.String DEFAULT_ACCOUNT_TYPE
public static final java.lang.String EL_ACCOUNT_ATTRIBUTE_TYPES
public static final java.lang.String EL_APPROVERS
public static final java.lang.String EL_ID_POLICY
public static final java.lang.String EL_PASSWORD_POLICY
public static final java.lang.String EL_RESOURCE_PASSWORD_POLICY
public static final java.lang.String EL_RESOURCE_PASSWORD_HISTORY
public static final java.lang.String EL_RESOURCE_ATTRIBUTES
public static final java.lang.String EL_RESOURCE_USER_FORM
public static final java.lang.String EL_USER_NAME_GENERATION_RULE
public static final java.lang.String EL_USER_ACCOUNT_CONFIRMATION_RULE
public static final java.lang.String EL_EXCLUDED_ACCOUNTS_RULE
public static final java.lang.String EL_OBJECT_TYPES
public static final java.lang.String EL_FEATURES
public static final java.lang.String EL_RETRIES
public static final java.lang.String EL_RPC_KEY
public static final java.lang.String EL_ACCOUNT_TYPES
Constructor Detail |
public Resource()
public Resource(java.lang.String xml) throws WavesetException
public Resource(org.w3c.dom.Element e) throws WavesetException
Method Detail |
public long getTimeLastExamined()
public void setTimeLastExamined(long timestamp)
public long getReconcileTime()
public void setReconcileTime(long timestamp)
public java.lang.String getMostRecentActivity()
public void setMostRecentActivity(java.lang.String val)
public long getMostRecentActivityDate()
public void setMostRecentActivityDate(long val)
public Rule getUserNameGenerationRule() throws WavesetException
WavesetException
public ObjectRef getUserNameGenerationRuleRef()
public void setUserNameGenerationRule(ObjectRef ref)
public void setUserNameGenerationRule(Rule rule)
public Rule getUserAccountConfirmationRule() throws WavesetException
WavesetException
public ObjectRef getUserAccountConfirmationRuleRef()
public void setUserAccountConfirmationRule(ObjectRef ref)
public void setUserAccountConfirmationRule(Rule rule)
public Rule getExcludedAccountsRule() throws WavesetException
WavesetException
public ObjectRef getExcludedAccountsRuleRef()
public void setExcludedAccountsRuleRef(ObjectRef ref)
public void setExcludedAccountsRule(Rule rule)
public ObjectRef getEffectiveExcludedAccountsRuleRef(LighthouseContext context) throws WavesetException
WavesetException
public Rule getEffectiveExcludedAccountsRule(LighthouseContext context) throws WavesetException
WavesetException
public Rule getEffectiveExcludedAccountsRule() throws WavesetException
WavesetException
public EncryptionKey getEncryptionKey() throws WavesetException
WavesetException
public ObjectRef getEncryptionKeyRef()
public void setEncryptionKey(EncryptionKey key)
public boolean isTemplate()
public boolean isTemplateInstance()
public java.util.List getParameterizedAttributes()
public java.util.Map getInstanceParameters()
public java.lang.String getInstanceIdentifier(java.util.Map parameters)
public java.lang.String getInstanceName(java.util.Map parameters)
public void visit(Visitor v) throws WavesetException
visit
in class PersistentObject
WavesetException
public Type getType()
getType
in class PersistentObject
public PersistentObject cloneObject() throws WavesetException
cloneObject
in class PersistentObject
WavesetException
- if there were problems duplicating the objectpublic java.util.ArrayList getReferences()
getReferences
in class PersistentObject
public ObjectRef getIdPolicyRef()
public void setIdPolicyRef(ObjectRef p)
public ObjectRef getPasswordPolicyRef()
public void setPasswordPolicyRef(ObjectRef p)
public ObjectRef getResourcePasswordPolicyRef()
public void setResourcePasswordPolicyRef(ObjectRef p)
public Policy getIdPolicy() throws WavesetException
WavesetException
public void setIdPolicy(Policy p)
public Policy getPasswordPolicy() throws WavesetException
WavesetException
public void setPasswordPolicy(Policy p)
public ObjectRef getEffectiveResourcePasswordPolicyRef(LighthouseContext context) throws WavesetException
WavesetException
public Policy getEffectiveResourcePasswordPolicy(LighthouseContext context) throws WavesetException
WavesetException
public Policy getResourcePasswordPolicy() throws WavesetException
WavesetException
public void setResourcePasswordPolicy(Policy p) throws WavesetException
WavesetException
public java.lang.String getAdapterClassName()
public void setAdapterClassName(java.lang.String className)
public boolean isNoDelete()
public void setNoDelete(boolean b)
public boolean isDeprecated()
public void setDeprecated(boolean deprecated)
public java.util.Map getFeatures()
public Resource.Feature getFeature(java.lang.String featureName)
featureName
- the name of the desired Feature
public void addFeature(Resource.Feature feature)
feature
- the Feature to put into Mappublic final void disableFeature(java.lang.String featureName)
featureName
- public boolean isActiveSync()
public void setActiveSync(boolean enable)
public void setProvision(boolean enable)
public boolean isProvision()
public java.lang.String getFacets()
public void setFacets(java.lang.String facets)
public java.util.List getFacetList()
public void setFacetList(java.util.List facetList)
public void clearAccountTypes()
public boolean hasAccountTypes()
public void addAccountType(java.lang.String accountType, Rule idRule)
public java.util.List getAccountTypeNames()
public ObjectRef getAccountTypeRule(java.lang.String accountType)
public boolean isAccountTypeDefined(java.lang.String accountType)
public void removeAccountType(java.lang.String accountType)
public java.lang.String getTypeDisplayString(java.util.Locale locale)
public java.lang.String getTypeOrDisplayString()
public java.lang.String getTypeDisplayString()
public void setTypeDisplayString(java.lang.String s)
public java.lang.String getTypeString()
public void setTypeString(java.lang.String inString)
public java.util.Vector getIdentityTemplate()
public void setIdentityTemplate(java.util.Vector idTemplate)
public boolean hasId()
public void setHasId(boolean b)
public boolean supportsScanning()
public void setSupportsScanning(boolean support)
public boolean supportsContainerObjectTypes()
public java.lang.String getStartupType()
public void setStartupType(java.lang.String startupType)
public boolean getIsSource()
public void setIsSource(boolean isSource)
public int getRetryMax()
public void setRetryMax(int i)
public int getRetryDelay()
public void setRetryDelay(int i)
public java.lang.String getRetryEmail()
public java.util.List getRetryEmailList()
public void setRetryEmail(java.lang.String s)
public int getRetryEmailThreshold()
public void setRetryEmailThreshold(int i)
public java.util.Map getResourcePasswordHistory()
public java.util.List getResourcePasswordHistory(java.lang.String key)
public void setResourcePasswordHistory(java.util.Map history)
public void setResourcePasswordHistory(java.lang.String key, java.util.List history)
public java.lang.String getApplicationName()
public void setApplicationName(java.lang.String n)
public ObjectRef getUserFormRef()
public void setUserFormRef(ObjectRef objref)
public boolean unlockOnPasswordReset()
public void setUnlockOnPasswordReset(boolean unlockOnPasswordReset)
public java.util.List listQueryableAttributes()
listQueryableAttributes
in class PersistentObject
defined attributes
that this type of PersistentObject exposes as queryable attributes
(regardless of whether this object has a value for each).
Any subclass of PersistentObject that overrides this method
should first invoke super.listQueryableAttributes()
to ensure that the subclass includes queryable attributes
that are common to all PersistentObjects.
public java.util.List listSummaryAttributes()
PersistentObject
defined attributes
that this type of persistent object exposes as summary attributes
(regardless of whether this particular object has a value for each).
Any subclass of PersistentObject that overrides this method
should first invoke super.listSummaryAttributes()
to ensure that the subclass includes summary attributes
that are common to all PersistentObjects.
Any subclass that overrides this implementation must also consider the length of the summary string that will be generated from these attributes.
listSummaryAttributes
in class PersistentObject
Any subclass of PersistentObject that overrides this method
should first invoke super.listSummaryAttributes()
to ensure that the subclass includes summary attributes
that are common to all PersistentObjects.
Constants.MAX_SUMMARY_STRING_LENGTH
,
PersistentObject.getSummaryString()
protected WSAttribute getAttributeValues(java.lang.String attrName)
getAttributeValues
in class PersistentObject
attrName
- - the name of the attribute for which to return values.
WSAttribute
that represents the value (or values)
that this object contains for the specified attribute.
public WSAttributes getSummaryAttributes()
getSummaryAttributes
in class PersistentObject
attribute values
to expose when this object appears in a list.
The WSAttributes
contains a
WSAttribute
for each attribute.
Each WSAttribute
may contain multiple values.
This default implementation adds values for attributes that are common to most (if not all) PersistentObjects.
If a subclass wants to expose a different set of summary attributes,
that subclass should override {@link #listSummaryAttributes}.
In order to supply values for summary attributes
that may not be available in PersistentObject
(e.g., from a field specified to that subclass),
such a subclass may also override {@link #getAttributeValues(String)}.
A subclass should not need to override this method
(except perhaps in extraordinary circumstances).
public java.util.List getEncryptedValues()
getEncryptedValues
in class PersistentObject
Any subclass of PersistentObject that overrides this method must first invoke super.getEncryptedValues() to ensure that the list of encrypted values for PersistentObjects are included in the subclasses list.
public java.util.List getServiceRefs()
Service
getServiceRefs
in class Service
public Service[] getServices() throws WavesetException
Service
getServices
in class Service
WavesetException
public java.util.List getResourceRefs() throws WavesetException
Service
getResourceRefs
in class Service
WavesetException
public java.util.Set getResourceAssignmentRefs() throws WavesetException
Service
getResourceAssignmentRefs
in class Service
WavesetException
public Resource[] getResources() throws WavesetException
Service
getResources
in class Service
WavesetException
public java.util.Set getResourceAssignments() throws WavesetException
Service
getResourceAssignments
in class Service
WavesetException
public java.util.ArrayList getApproverRefs()
These are references to Administrators that are considered approvers for provisioning requests using this resource.
public WSUser[] getApprovers() throws WavesetException
WavesetException
public void clearApprovers()
public void setApproverRefs(java.util.List refs) throws WavesetException
WavesetException
public void addApprover(ObjectRef ref)
These should be administrators with APPROVAL rights. Can't check that here, it will have to be done as part of the Checkin validator. The GUI currently tries to prevent selection of bad values.
public void addApprover(WSUser admin)
These should be administrators with APPROVAL rights. Can't check that here, it will have to be done as part of the Checkin validator. The GUI currently tries to prevent selection of bad values.
If you want to specify a completely new list, call
clearApprovers
first.
clearApprovers()
public ResourceAttribute getResourceAttribute(Attribute attribute)
public ResourceAttribute getResourceAttribute(java.lang.String attrId)
public void removeResourceAttribute(java.lang.String attrId)
public java.lang.Object getResourceAttributeVal(Attribute attribute)
public java.lang.Object getResourceAttributeVal(java.lang.String attrId)
public ResourceAttribute[] getResourceAttributes()
public java.lang.Object[] getResourceAttributeVals(Attribute attribute)
public java.lang.Object[] getResourceAttributeVals(java.lang.String attrId)
public boolean addResourceAttributeVal(Attribute attribute, java.lang.Object value) throws WavesetException
WavesetException
public void addResourceAttribute(ResourceAttribute attribute)
public boolean addResourceAttributeVal(java.lang.String attrId, java.lang.Object value) throws WavesetException
WavesetException
public boolean setResourceAttributeVal(Attribute attribute, java.lang.Object value) throws WavesetException
WavesetException
public boolean setResourceAttributeVal(java.lang.String attrId, java.lang.Object value) throws WavesetException
WavesetException
public boolean setResourceAttributeVals(Attribute attribute, java.lang.Object[] values)
public boolean setResourceAttributeVals(java.lang.String attrId, java.lang.Object[] values)
public void setResourceAttributeDescription(ResourceAttribute attr, java.lang.String description) throws WavesetException
WavesetException
public void setResourceAttributeDisplayName(ResourceAttribute attr, java.lang.String displayName) throws WavesetException
WavesetException
public Resource instantiateTemplate(java.util.Map params) throws WavesetException
WavesetException
public void setResourceAttributeFacets(ResourceAttribute attr, java.lang.String facets) throws WavesetException
WavesetException
public void setResourceAttributeMultiValued(ResourceAttribute attr, boolean multi) throws WavesetException
WavesetException
public void putResourceAttribute(ResourceAttribute attr) throws WavesetException
WavesetException
public AccountAttributeType getAccountAttributeType(java.lang.String name, java.lang.String mapName) throws WavesetException
WavesetException
public AccountAttributeType getAccountAttributeType(java.lang.String name) throws WavesetException
WavesetException
public AccountAttributeType getAccountAttributeType(int id)
public void removeAllAccountAttributeTypes()
public AccountAttributeType removeAccountAttributeType(java.lang.String name, java.lang.String mapName) throws WavesetException
WavesetException
public java.lang.String[] lhsToMapName(java.lang.String[] list)
list
- a String[] of the lhs values to find their mapping
public AccountAttributeType[] getAccountAttributeTypes()
public void setAccountAttributeTypes(AccountAttributeType[] types)
public int getNextAcctAttrTypeId()
public AttributeDefinition[] getIdentityAttributeDefinitions()
public void putAccountAttributeTypes(AccountAttributeType[] attrTypes) throws WavesetException
WavesetException
public void putAccountAttributeType(AccountAttributeType attrType) throws WavesetException
WavesetException
public Form getForm(boolean getAllAttrs) throws WavesetException
WavesetException
public Resource.ObjectType[] getObjectTypes()
public java.util.List getObjectTypeNames()
public java.lang.String getObjectTypesAsString(java.lang.String delim)
public java.util.List getObjectTypesSupportingFeature(java.lang.String feature)
public java.util.List getUINamesOfObjectTypesSupportingFeature(java.util.Locale locale, java.lang.String feature)
public java.lang.String getObjectTypesSupportingFeatureAsString(java.lang.String feature, java.lang.String delim)
public void setObjectTypes(Resource.ObjectType[] objectTypes)
public void setObjectType(Resource.ObjectType objectType)
public void addObjectType(Resource.ObjectType objectType)
public Resource.ObjectType getObjectType(java.lang.String objectType)
public void removeObjectType(java.lang.String objectType)
public java.lang.String getObjectTypeIcon(java.lang.String objectType)
public java.util.List getObjectTypeObjectClasses(java.lang.String objectType)
public java.util.List getObjectTypeObjectClassNames(java.lang.String objectType)
public java.lang.String getObjectTypeWhereObjectClassIs(java.lang.String objClass)
public java.lang.String getObjectTypePrimaryObjectClass(java.lang.String objectType)
public java.lang.String getObjectTypeObjectClassesOperator(java.lang.String objectType)
public java.lang.String getObjectTypeSearchFilter(java.lang.String objectType)
public java.util.List getObjectTypeObjectAttributes(java.lang.String objectType)
public java.util.List getObjectTypeObjectAttributeNames(java.lang.String objectType)
public java.util.Map getObjectTypeObjectAttributeNamesAndTypes(java.lang.String objectType)
public Resource.ObjectType.ObjectAttribute getObjectTypeObjectAttribute(java.lang.String objectType, java.lang.String attrName)
public java.lang.String getObjectTypeIdAttr(java.lang.String objectType) throws WavesetException
WavesetException
public java.lang.String getObjectTypeDisplayNameAttr(java.lang.String objectType) throws WavesetException
WavesetException
public java.lang.String getObjectTypeDescriptionAttr(java.lang.String objectType)
public java.lang.String getObjectTypeObjectClassAttr(java.lang.String objectType)
public boolean objectTypeIsContainer(java.lang.String objectType)
public java.util.List getObjectTypeContainerObjectTypes()
public java.lang.String getObjectTypeContainerObjectTypesAsString(java.lang.String delim)
public boolean supportsAnyObjectTypeFeatures()
public java.util.List getObjectTypeFeatures(java.lang.String objectType)
public boolean isObjectFeatureSupported(java.lang.String feature)
public java.util.List getObjectTypeFeatureNames(java.lang.String objectType)
public java.lang.String getObjectTypeFeatureForm(java.lang.String objectType, java.lang.String featureName)
objectType
- name of the objectTypefeatureName
- name of the object type feature
public java.lang.String getObjectTypeFeaturesAsString(java.lang.String objectType, java.lang.String delim)
public LoginConfig.LoginConfigEntry getLoginConfigEntry()
public void setLoginConfigEntry(LoginConfig.LoginConfigEntry lcEntry)
public void setLoginConfigEntryType(java.lang.String type)
public void setLoginConfigEntryDisplayName(java.lang.String displayName)
public void prepareForSerialization() throws WavesetException
prepareForSerialization
in class PersistentObject
WavesetException
protected void addSubclassAttributes(java.lang.StringBuffer buf)
PersistentObject
NOTE: Any subclass that overrides this method must similarly override parseSubclassAttributes() so that the subclass attributes are restored.
addSubclassAttributes
in class PersistentObject
protected void addSubclassElements(java.lang.StringBuffer buf)
PersistentObject
NOTE: Any subclass that overrides this method must similarly override parseSubclassElements() so that the subclass elements are restored.
addSubclassElements
in class PersistentObject
protected void parseSubclassAttributes(org.w3c.dom.Element e) throws WavesetException
PersistentObject
parseSubclassAttributes
in class PersistentObject
WavesetException
PersistentObject's default implementation is a no-op.
,
PersistentObject.parseXml(Element)
public void addIdentityTemplate(java.lang.StringBuffer buf, int indent)
protected void addRetries(java.lang.StringBuffer buf, int indent)
public static boolean hasEncryptedData()
protected void reEncryptSubclassAttributes() throws WavesetException
PersistentObject
PersistentObject's default implementation is a no-op.
// * @see #parseXml(Element)
reEncryptSubclassAttributes
in class PersistentObject
WavesetException
protected void parseSubclassElements(org.w3c.dom.Element e) throws WavesetException
PersistentObject
parseSubclassElements
in class PersistentObject
WavesetException
PersistentObject's default implementation is a no-op.
,
PersistentObject.parseXml(Element)
public static Resource[] parseXmlArray(org.w3c.dom.Element e, PersistentObject owner) throws WavesetException
WavesetException
public boolean isFeatureAllowed(java.lang.String featureName)
featureName
- the feature of interest
public java.util.ArrayList getDeniedFeatures()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |