public class JSLinkManager extends JSBaseScriptableObject
Constructor and Description |
---|
JSLinkManager() |
Modifier and Type | Method and Description |
---|---|
JSLink |
(JavaScript Function) addToLinkGroup(ManagedFile theFile,
ManagedFile theFile2,
java.lang.Boolean theDirectional,
java.lang.String theDescription,
java.lang.String theLinkGroupId)
Add the second given asset to the first given asset's link group identified by the given link group id.
|
JSLink |
(JavaScript Function) createLink(ManagedFile theAsset,
ManagedFile theAsset2,
java.lang.Boolean theDirectional,
java.lang.String theDescription)
Create a link between the given assets.
|
JSLink |
(JavaScript Function) createLinkById(java.lang.Integer theAssetId,
java.lang.Integer theAssetId2,
java.lang.Boolean theDirectional,
java.lang.String theDescription)
Create a link between the given assets.
|
JSLink |
(JavaScript Function) createLinksByResolver(java.lang.String theResolverUrl,
java.lang.String theGlobalDescription,
Parameters theIndividualDescriptions)
Create links between the given assets.
|
ManagedFile[] |
(JavaScript Function) getAssetsInLinkGroup(ManagedFile theAsset,
JSLink theLinkGroup)
Get the other assets linked to the given asset by the given link group.
|
ManagedFile[] |
(JavaScript Function) getLinkedAssets(java.lang.Integer theAssetId)
Get assets linked to the given asset.
|
JSLink[] |
(JavaScript Function) getLinks(java.lang.Integer theAssetId)
Get a given asset's template links which define which assets are linked to the given asset.
|
JSLink |
(JavaScript Function) linkAssetWithResolver(java.lang.Integer theAssetId,
java.lang.String theResolverUrl,
java.lang.String theGlobalDescription,
Parameters theIndividualDescriptions)
Links an asset to each asset defined by a resolver
|
void |
(JavaScript Function) removeFromLinkGroup(ManagedFile theAsset,
JSLink theLinkGroup)
Remove the given asset from the given link group.
|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public JSLink (JavaScript Function) createLink(ManagedFile theAsset, ManagedFile theAsset2, java.lang.Boolean theDirectional, java.lang.String theDescription)
theAsset
- An asset to link.theAsset2
- An asset to link.theDirectional
- Is the link directional? If true will only link from asset 1 to asset 2.theDescription
- The link description.public JSLink (JavaScript Function) createLinksByResolver(java.lang.String theResolverUrl, java.lang.String theGlobalDescription, Parameters theIndividualDescriptions)
theResolverUrl
- the resolver urltheGlobalDescription
- the global link descriptiontheIndividualDescriptions
- the individual descriptions (optional)public JSLink (JavaScript Function) linkAssetWithResolver(java.lang.Integer theAssetId, java.lang.String theResolverUrl, java.lang.String theGlobalDescription, Parameters theIndividualDescriptions)
theAssetId
- theResolverUrl
- theGlobalDescription
- theIndividualDescriptions
- public JSLink (JavaScript Function) createLinkById(java.lang.Integer theAssetId, java.lang.Integer theAssetId2, java.lang.Boolean theDirectional, java.lang.String theDescription)
theAssetId
- An asset to link.theAssetId2
- An asset to link.theDirectional
- Is the link directional? If true will only link from asset 1 to asset 2.theDescription
- The link description.public JSLink (JavaScript Function) addToLinkGroup(ManagedFile theFile, ManagedFile theFile2, java.lang.Boolean theDirectional, java.lang.String theDescription, java.lang.String theLinkGroupId)
theFile
- The asset being linked to.theFile2
- The linking asset.theDirectional
- Is this a directional link?theDescription
- The link descriptiontheLinkGroupId
- The link group id.public void (JavaScript Function) removeFromLinkGroup(ManagedFile theAsset, JSLink theLinkGroup)
theAsset
- The given asset.theLinkGroup
- The id of the link group to be deleted.public ManagedFile[] (JavaScript Function) getLinkedAssets(java.lang.Integer theAssetId)
theAssetId
- the given asset.public ManagedFile[] (JavaScript Function) getAssetsInLinkGroup(ManagedFile theAsset, JSLink theLinkGroup)
theAsset
- The given asset.theLinkGroup
- The given link group to find the other members of.public JSLink[] (JavaScript Function) getLinks(java.lang.Integer theAssetId)
theAssetId
- The given asset.Copyright © 2017 MediaBeacon, Inc. All Rights Reserved.