public interface AssetProperties
Modifier and Type | Method and Description |
---|---|
void |
addToCustomAttributes(java.lang.String key,
java.lang.String value)
Adds a custom attribute to the custom atributes collection.
|
void |
clearCustomAttributes()
Clears all the attributes from the custom attributes collection.
|
java.lang.String |
getCategory()
Gets the category.
|
java.lang.String |
getContentDir()
Gets the content directory property.
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomAttributes()
Gets the custom attributes map.
|
java.lang.String |
getDescriptionKey()
Gets the description key.
|
java.lang.String |
getDisplayName()
Gets the display name of the Portal Asset, note if the resourceBundle and
displayNameKey properties are valid the display name will be derived from
those, otherwise the display name will be derived from the name property of the asset.
|
java.lang.String |
getDisplayNameKey()
Gets the display name key property.
|
AssetResource.ExcludedFrom |
getExcludedFrom()
Gets the excluded from property.
|
java.lang.String |
getExcludedPortalIds()
Gets the excluded portal ids.
|
java.lang.String |
getIconURI()
Gets the icon URI.
|
java.lang.String |
getLockedBy()
Gets the locked by property.
|
java.util.Date |
getLockedDate()
Gets the locked date.
|
java.lang.String |
getLogoURL()
Gets the logo URL.
|
java.lang.String |
getName()
Gets the name of the asset.
|
java.lang.String |
getResourceBundle()
Gets the resource bundle, used to obtain associated key based properties such as displayNameKey and
descriptionKey.
|
boolean |
getSeeded()
Gets the seeded property.
|
java.lang.String |
getTranslatedDescription()
Gets the translated description.
|
boolean |
getUsesCustomSecurity()
Gets the uses custom security property.
|
boolean |
getVisible()
Gets the visible property.
|
void |
removeFromCustomAttributes(java.lang.String key)
Removes a custom attribute from the custom attributes collection.
|
void |
setCategory(java.lang.String category)
Sets the category.
|
void |
setContentDir(java.lang.String contentDir)
Sets the content directory property.
|
void |
setCustomAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)
Sets the custom attributes map.
|
void |
setDescriptionKey(java.lang.String descriptionKey)
Sets the description key.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the property.
|
void |
setDisplayNameKey(java.lang.String displayNameKey)
Sets the display name key property.
|
void |
setExcludedFrom(AssetResource.ExcludedFrom excludedFrom)
Sets the excluded from property.
|
void |
setExcludedPortalIds(java.lang.String excludedPortalIds)
Sets the excluded portal ids.
|
void |
setIconURI(java.lang.String iconURI)
Sets the ico URI.
|
void |
setLockedBy(java.lang.String lockedBy)
Sets the locked by property.
|
void |
setLockedDate(java.util.Date lockedDate)
Sets the locked date.
|
void |
setLogoURL(java.lang.String logoURL)
Sets the logo URL.
|
void |
setName(java.lang.String name)
Sets the name of the asset.
|
void |
setResourceBundle(java.lang.String resourceBundle)
Sets the resource bundle, used to obtain associated key based properties such as displayNameKey and
descriptionKey.
|
void |
setSeeded(boolean seeded)
Sets the seeded property.
|
void |
setTranslatedDescription(java.lang.String translatedDescription)
Sets the translated description property.
|
void |
setUsesCustomSecurity(boolean usesCustomSecurity)
Sets the uses custom security property.
|
void |
setVisible(boolean visible)
Sets the visible property.
|
java.lang.String getName()
void setName(java.lang.String name)
name
- the name of the asset to set.java.lang.String getDisplayName()
void setDisplayName(java.lang.String displayName)
displayName
- The display name.java.lang.String getDisplayNameKey()
void setDisplayNameKey(java.lang.String displayNameKey)
displayNameKey
- the display name key property to set.java.lang.String getTranslatedDescription()
void setTranslatedDescription(java.lang.String translatedDescription)
translatedDescription
- the translated description.java.lang.String getDescriptionKey()
void setDescriptionKey(java.lang.String descriptionKey)
descriptionKey
- the description key to set.java.lang.String getResourceBundle()
void setResourceBundle(java.lang.String resourceBundle)
resourceBundle
- the resource bundle to set.java.lang.String getContentDir()
void setContentDir(java.lang.String contentDir)
contentDir
- the content directory property to set.java.lang.String getIconURI()
void setIconURI(java.lang.String iconURI)
iconURI
- the ico URI to set.java.lang.String getLogoURL()
void setLogoURL(java.lang.String logoURL)
logoURL
- the logo URL to set.java.lang.String getCategory()
void setCategory(java.lang.String category)
category
- the category to set.java.lang.String getLockedBy()
void setLockedBy(java.lang.String lockedBy)
lockedBy
- the locked by property to set.java.util.Date getLockedDate()
void setLockedDate(java.util.Date lockedDate)
lockedDate
- the locked date to set.boolean getSeeded()
void setSeeded(boolean seeded)
seeded
- the seeded property to set.boolean getVisible()
void setVisible(boolean visible)
visible
- the visible property to set.boolean getUsesCustomSecurity()
void setUsesCustomSecurity(boolean usesCustomSecurity)
usesCustomSecurity
- the uses custom security property to set.AssetResource.ExcludedFrom getExcludedFrom()
void setExcludedFrom(AssetResource.ExcludedFrom excludedFrom)
excludedFrom
- the excluded from property to set.java.lang.String getExcludedPortalIds()
void setExcludedPortalIds(java.lang.String excludedPortalIds)
excludedPortalIds
- the excluded portal ids to set.java.util.Map<java.lang.String,java.lang.String> getCustomAttributes()
void setCustomAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)
customAttributes
- the custom attributes map to set.void addToCustomAttributes(java.lang.String key, java.lang.String value)
key
- the key of the custom attribute being added to the custom attributes collection.value
- the value of the custom attribute being added to the custom attributes collection.void removeFromCustomAttributes(java.lang.String key)
key
- the key of the custom attribute to be removed from the custom attributes collection.void clearCustomAttributes()