public class Profile extends Metadata
Java class for Profile complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Profile">
<complexContent>
<extension base="{urn:metadata.tooling.soap.sforce.com}Metadata">
<sequence>
<element name="applicationVisibilities" type="{urn:metadata.tooling.soap.sforce.com}ProfileApplicationVisibility" maxOccurs="unbounded" minOccurs="0"/>
<element name="classAccesses" type="{urn:metadata.tooling.soap.sforce.com}ProfileApexClassAccess" maxOccurs="unbounded" minOccurs="0"/>
<element name="custom" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="customPermissions" type="{urn:metadata.tooling.soap.sforce.com}ProfileCustomPermissions" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="externalDataSourceAccesses" type="{urn:metadata.tooling.soap.sforce.com}ProfileExternalDataSourceAccess" maxOccurs="unbounded" minOccurs="0"/>
<element name="fieldPermissions" type="{urn:metadata.tooling.soap.sforce.com}ProfileFieldLevelSecurity" maxOccurs="unbounded" minOccurs="0"/>
<element name="loginHours" type="{urn:metadata.tooling.soap.sforce.com}ProfileLoginHours" minOccurs="0"/>
<element name="loginIpRanges" type="{urn:metadata.tooling.soap.sforce.com}ProfileLoginIpRange" maxOccurs="unbounded" minOccurs="0"/>
<element name="objectPermissions" type="{urn:metadata.tooling.soap.sforce.com}ProfileObjectPermissions" maxOccurs="unbounded" minOccurs="0"/>
<element name="pageAccesses" type="{urn:metadata.tooling.soap.sforce.com}ProfileApexPageAccess" maxOccurs="unbounded" minOccurs="0"/>
<element name="recordTypeVisibilities" type="{urn:metadata.tooling.soap.sforce.com}ProfileRecordTypeVisibility" maxOccurs="unbounded" minOccurs="0"/>
<element name="tabVisibilities" type="{urn:metadata.tooling.soap.sforce.com}ProfileTabVisibility" maxOccurs="unbounded" minOccurs="0"/>
<element name="userLicense" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="userPermissions" type="{urn:metadata.tooling.soap.sforce.com}ProfileUserPermission" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ProfileApplicationVisibility> |
applicationVisibilities |
protected List<ProfileApexClassAccess> |
classAccesses |
protected Boolean |
custom |
protected List<ProfileCustomPermissions> |
customPermissions |
protected String |
description |
protected List<ProfileExternalDataSourceAccess> |
externalDataSourceAccesses |
protected List<ProfileFieldLevelSecurity> |
fieldPermissions |
protected ProfileLoginHours |
loginHours |
protected List<ProfileLoginIpRange> |
loginIpRanges |
protected List<ProfileObjectPermissions> |
objectPermissions |
protected List<ProfileApexPageAccess> |
pageAccesses |
protected List<ProfileRecordTypeVisibility> |
recordTypeVisibilities |
protected List<ProfileTabVisibility> |
tabVisibilities |
protected String |
userLicense |
protected List<ProfileUserPermission> |
userPermissions |
| Constructor and Description |
|---|
Profile() |
| Modifier and Type | Method and Description |
|---|---|
List<ProfileApplicationVisibility> |
getApplicationVisibilities()
Gets the value of the applicationVisibilities property.
|
List<ProfileApexClassAccess> |
getClassAccesses()
Gets the value of the classAccesses property.
|
List<ProfileCustomPermissions> |
getCustomPermissions()
Gets the value of the customPermissions property.
|
String |
getDescription()
Gets the value of the description property.
|
List<ProfileExternalDataSourceAccess> |
getExternalDataSourceAccesses()
Gets the value of the externalDataSourceAccesses property.
|
List<ProfileFieldLevelSecurity> |
getFieldPermissions()
Gets the value of the fieldPermissions property.
|
ProfileLoginHours |
getLoginHours()
Gets the value of the loginHours property.
|
List<ProfileLoginIpRange> |
getLoginIpRanges()
Gets the value of the loginIpRanges property.
|
List<ProfileObjectPermissions> |
getObjectPermissions()
Gets the value of the objectPermissions property.
|
List<ProfileApexPageAccess> |
getPageAccesses()
Gets the value of the pageAccesses property.
|
List<ProfileRecordTypeVisibility> |
getRecordTypeVisibilities()
Gets the value of the recordTypeVisibilities property.
|
List<ProfileTabVisibility> |
getTabVisibilities()
Gets the value of the tabVisibilities property.
|
String |
getUserLicense()
Gets the value of the userLicense property.
|
List<ProfileUserPermission> |
getUserPermissions()
Gets the value of the userPermissions property.
|
Boolean |
isCustom()
Gets the value of the custom property.
|
void |
setCustom(Boolean value)
Sets the value of the custom property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setLoginHours(ProfileLoginHours value)
Sets the value of the loginHours property.
|
void |
setUserLicense(String value)
Sets the value of the userLicense property.
|
protected List<ProfileApplicationVisibility> applicationVisibilities
protected List<ProfileApexClassAccess> classAccesses
protected Boolean custom
protected List<ProfileCustomPermissions> customPermissions
protected String description
protected List<ProfileExternalDataSourceAccess> externalDataSourceAccesses
protected List<ProfileFieldLevelSecurity> fieldPermissions
protected ProfileLoginHours loginHours
protected List<ProfileLoginIpRange> loginIpRanges
protected List<ProfileObjectPermissions> objectPermissions
protected List<ProfileApexPageAccess> pageAccesses
protected List<ProfileRecordTypeVisibility> recordTypeVisibilities
protected List<ProfileTabVisibility> tabVisibilities
protected String userLicense
protected List<ProfileUserPermission> userPermissions
public List<ProfileApplicationVisibility> getApplicationVisibilities()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the applicationVisibilities property.
For example, to add a new item, do as follows:
getApplicationVisibilities().add(newItem);
Objects of the following type(s) are allowed in the list
ProfileApplicationVisibility
public List<ProfileApexClassAccess> getClassAccesses()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the classAccesses property.
For example, to add a new item, do as follows:
getClassAccesses().add(newItem);
Objects of the following type(s) are allowed in the list
ProfileApexClassAccess
public Boolean isCustom()
Booleanpublic void setCustom(Boolean value)
value - allowed object is
Booleanpublic List<ProfileCustomPermissions> getCustomPermissions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the customPermissions property.
For example, to add a new item, do as follows:
getCustomPermissions().add(newItem);
Objects of the following type(s) are allowed in the list
ProfileCustomPermissions
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic List<ProfileExternalDataSourceAccess> getExternalDataSourceAccesses()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the externalDataSourceAccesses property.
For example, to add a new item, do as follows:
getExternalDataSourceAccesses().add(newItem);
Objects of the following type(s) are allowed in the list
ProfileExternalDataSourceAccess
public List<ProfileFieldLevelSecurity> getFieldPermissions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the fieldPermissions property.
For example, to add a new item, do as follows:
getFieldPermissions().add(newItem);
Objects of the following type(s) are allowed in the list
ProfileFieldLevelSecurity
public ProfileLoginHours getLoginHours()
ProfileLoginHourspublic void setLoginHours(ProfileLoginHours value)
value - allowed object is
ProfileLoginHourspublic List<ProfileLoginIpRange> getLoginIpRanges()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the loginIpRanges property.
For example, to add a new item, do as follows:
getLoginIpRanges().add(newItem);
Objects of the following type(s) are allowed in the list
ProfileLoginIpRange
public List<ProfileObjectPermissions> getObjectPermissions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the objectPermissions property.
For example, to add a new item, do as follows:
getObjectPermissions().add(newItem);
Objects of the following type(s) are allowed in the list
ProfileObjectPermissions
public List<ProfileApexPageAccess> getPageAccesses()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the pageAccesses property.
For example, to add a new item, do as follows:
getPageAccesses().add(newItem);
Objects of the following type(s) are allowed in the list
ProfileApexPageAccess
public List<ProfileRecordTypeVisibility> getRecordTypeVisibilities()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the recordTypeVisibilities property.
For example, to add a new item, do as follows:
getRecordTypeVisibilities().add(newItem);
Objects of the following type(s) are allowed in the list
ProfileRecordTypeVisibility
public List<ProfileTabVisibility> getTabVisibilities()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the tabVisibilities property.
For example, to add a new item, do as follows:
getTabVisibilities().add(newItem);
Objects of the following type(s) are allowed in the list
ProfileTabVisibility
public String getUserLicense()
Stringpublic void setUserLicense(String value)
value - allowed object is
Stringpublic List<ProfileUserPermission> getUserPermissions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the userPermissions property.
For example, to add a new item, do as follows:
getUserPermissions().add(newItem);
Objects of the following type(s) are allowed in the list
ProfileUserPermission
Copyright © 2016. All rights reserved.