public interface ComputedProfile extends CSROProfile
Modifier and Type | Method and Description |
---|---|
boolean |
canRender()
Checks whether the computed profile implementation has a corresponding UI definition.
|
java.util.Collection<CentraSiteRegistryObject> |
computeProfileData(java.lang.String userInputsAsJSON)
Perform the computations with the data entered by the user.
|
java.util.List<CentraSiteObjectAttribute> |
getAttributes()
Returns a list of CentraSiteAttributes for this profile.
|
java.lang.String |
getEditPageURL()
This method is used to return the context path of the edit view.
|
java.lang.String |
getProfileDataAsJson()
Returns the Profile data which need to render in the view as JSON.
|
java.lang.String |
getViewPageURL()
This method use to return the context path of the Details view.
|
getNestedProfiles, getNestedProfiles, getProfileId, isComputed, isCustomRender
getConsumedAssets, getConsumers, getDescription, getDescription, getDisplayVersion, getInitialVirtualAssetName, getLastModifiedTimeStamp, getLCMAssignment, getLocalName, getMandatoryAttributeProfiles, getName, getName, getNameSpace, getNextVersion, getNextVersions, getOrganization, getOwner, getPendingApprovals, getPreviousVersion, getPreviousVersions, getRegistryObject, getRelationShipValueMap, getRequestedUser, getSubscribers, getSystemVersion, getTitle, getType, getUserVersion, getVisiblePrimaryProfiles, getVisibleProfile, isDeployedOn, isLatestVersionObject, isPropagatePermissions, isPropagateProfilePermissions, removeConsumedAssets, removeConsumers, setDescription, setDescription, setDisplayVersion, setLCMState, setLocalName, setName, setName, setNameSpace, setOrganization, setOwner, setPropagatePermissions, setPropagateProfilePermissions, setRelationShipValueMap, setUserVersion
delete, getAttributeLink, getAttributeValue, getAttributeValue, getAttributeValue, getId, isModified, isPredefined, isReadOnly, save, setAttributeValue, setAttributeValue, setAttributeValue
boolean canRender() throws CLLException
CLLException
- If an error occurs while checking if the computed profile can render UIjava.util.List<CentraSiteObjectAttribute> getAttributes() throws CLLException
canRender()
returns false.getAttributes
in interface CSROProfile
List
of CentraSiteObjectAttribute
instancesCLLException
- If an error occurs while trying to get the attributesjava.lang.String getEditPageURL() throws CLLException
CLLException
- If an error occurs in getting the edit page URLjava.lang.String getViewPageURL() throws CLLException
CLLException
- If an error occurs in getting the details page URLjava.lang.String getProfileDataAsJson() throws CLLException
CLLException
- If an error occurs in constructing the JSON datajava.util.Collection<CentraSiteRegistryObject> computeProfileData(java.lang.String userInputsAsJSON) throws CLLException
userInputsAsJSON
- profile data as JSONCLLException
- If an error occurs while trying to compute from the profile data