com.fatwire.gst.foundation.properties
Class AssetApiPropertyDao

java.lang.Object
  extended by com.fatwire.gst.foundation.properties.AssetApiPropertyDao
All Implemented Interfaces:
PropertyDao

public final class AssetApiPropertyDao
extends Object
implements PropertyDao

Class representing properties stored as an asset. Can be basic or flex but fields are specifically defined

Since:
11-09-02
Author:
Tony Field

Field Summary
static String SUBTYPE
           
static String TYPE
           
 
Method Summary
 void addToSite(String name, String... site)
          Add the property specified to the sites specified.
static PropertyDao getInstance(COM.FutureTense.Interfaces.ICS ics)
           
 Property getProperty(String name)
           
 Collection<String> getPropertyNames()
           
static PropertyDao newInstance(COM.FutureTense.Interfaces.ICS ics)
           
 void setProperty(Property property)
          Set (or re-set) a property value
 void setProperty(String name, String description, String value)
          Convenience method to set (or re-set) a property value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values

SUBTYPE

public static final String SUBTYPE
See Also:
Constant Field Values
Method Detail

getInstance

public static final PropertyDao getInstance(COM.FutureTense.Interfaces.ICS ics)

newInstance

public static PropertyDao newInstance(COM.FutureTense.Interfaces.ICS ics)

getProperty

public Property getProperty(String name)
Specified by:
getProperty in interface PropertyDao

getPropertyNames

public Collection<String> getPropertyNames()
Specified by:
getPropertyNames in interface PropertyDao

setProperty

public void setProperty(Property property)
Set (or re-set) a property value

Specified by:
setProperty in interface PropertyDao
Parameters:
property - property object with name and value

setProperty

public void setProperty(String name,
                        String description,
                        String value)
Convenience method to set (or re-set) a property value

Specified by:
setProperty in interface PropertyDao
Parameters:
name - property name
description - property description (optional)
value - value as a string

addToSite

public void addToSite(String name,
                      String... site)
Description copied from interface: PropertyDao
Add the property specified to the sites specified. The property is NOT un-shared from any other sites using this tag (it only adds additional sites)

Specified by:
addToSite in interface PropertyDao
Parameters:
name - property name
site - site names to add the property to


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.