Class DynamicDocumentEntityDelegate
java.lang.Object
com.ptc.odata.windchill.entity.service.ContentHolderEntityDelegate
com.ptc.odata.windchill.entity.service.DynamicDocumentContentHolderEntityDelegate
com.ptc.odata.windchill.entity.service.DynamicDocumentEntityDelegate
- All Implemented Interfaces:
com.ptc.odata.core.entity.service.EntityDelegate,com.ptc.odata.windchill.entity.processor.EntityProcessorDelegate,com.ptc.odata.windchill.entity.service.WcEntityDelegate
@Component("dynamicDocument")
@Scope("singleton")
public class DynamicDocumentEntityDelegate
extends com.ptc.odata.windchill.entity.service.DynamicDocumentContentHolderEntityDelegate
Provides attributes, actions (check-in, checkout, undo checkout), navigations and
content download/upload for Windchill objects which support
Extendable: false
Workable.
This delegate can be used to extend another 'wcType' using the inheritance property
in the JSON schema declaration. For example:
{
"name":"WindchillObject",
"collectionName":"WindchillObjects",
"type":"wcType",
"wcType":"wt.fc.WindchillObject",
"description":"WindchillObjects",
"attributes":[
{
"name":"Name",
"internalName":"name",
"type":"String"
}, {
"name":"Number",
"internalName":"number",
"type":"String"
}
],
"inherits":[
{
"name": "dynamicdocument"
}
]
}
Supported API: true Extendable: false
-
Field Summary
Fields inherited from class com.ptc.odata.windchill.entity.service.ContentHolderEntityDelegate
ATTACHMENTS_PATH, CATEGORY, CONTENT_INFO_PARAM_NAME, CONTENT_INFO_PARAM_NAME_OLD, CONTENT_ITEM_TYPE_IN_PTC_DOMAIN, CONTENT_TARGET, DELEGATE_NAME_PARAM_NAME, DELEGATE_NAME_PARAM_NAME_OLD, FILE_ITEM_FACTORY, FILE_NAME, FILE_NAMES, FOLDER_ID, MASTER_URL, NO_OF_FILES_PARAM_NAME, NO_OF_FILES_PARAM_NAME_OLD, PRIMARY_CONTENT_PATH, PTC_CONTENT_CATEGORY_HEADER_NAME, REGULATORYCONTENT_PATH, REPLICA_URL, SMALL_THUMBNAILS_PATH, STREAM_IDS, THUMBNAILS_PATH, UPLOADSTAGE1_ACTION_NAME, UPLOADSTAGE3_ACTION_NAME, VAULT_ID -
Method Summary
Methods inherited from class com.ptc.odata.windchill.entity.service.DynamicDocumentContentHolderEntityDelegate
getRelatedEntityCollection, isValidWcType, readEntityDataMethods inherited from class com.ptc.odata.windchill.entity.service.ContentHolderEntityDelegate
createAppDataForStage3, createMediaEntity, createOrUpdateMediaEntity, getAllowedContentRoleTypes, getCategroyFromHeader, getComponentName, getContentHolder, getEntityStreamProperties, getFileItems, getRoleByPath, isFileNamesParsableToNumber, isFileNamesPropertyTypeString, isValidNavigation, preActionValidate, uploadStage1Action, uploadStage1Action, uploadStage3Action, uploadStage3ActionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ptc.odata.core.entity.service.EntityDelegate
getEdmProvider, setEdmProviderMethods inherited from interface com.ptc.odata.windchill.entity.processor.EntityProcessorDelegate
addEntityAssociation, deleteAllEntityAssociations, deleteEntityAssociation, multiOperationPostProcess, multiOperationPreProcess, operationPostProcess, operationPreProcess, processAdditionalAttributes, readActionVoid, readEntitySetData, readMediaEntity, updateEntityAssociations, vetoEmptyPropertyOnNewEntityMethods inherited from interface com.ptc.odata.windchill.entity.service.WcEntityDelegate
getInheritedAttributes, getInheritedFunctions, getOwningDomainName, hasStream