|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Distribution
This interface defines methods for Distribution.
Nested Class Summary | |
---|---|
static class |
Distribution.Property
Distribution Property Type |
static class |
Distribution.Type
Distribution Type |
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
void |
delete()
Deletes the Distribution |
java.lang.String |
getName()
Returns the name of this distribution |
java.lang.String |
getProperty(Distribution.Property propertyName)
Retrieves the properties of this distribution |
Distribution.Type |
getType()
Retrieves the distribution type |
void |
save()
Saves the changes made to this distribution |
void |
setProperty(Distribution.Property propertyName,
java.lang.String propertyValue)
Sets the distribution properties |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
java.lang.String getName()
PIMInternalException
- If an internal error occursDistribution.Type getType()
PIMInternalException
- If an internal error occursjava.lang.String getProperty(Distribution.Property propertyName)
propertyName
- The name of the property
PIMInternalException
- If an internal error occurs
java.lang.UnsupportedOperationException
- If the user tries to fetch invalid Property which does not
apply to a type of Distribution
java.lang.IllegalArgumentException
- If null propertyName is passed.void setProperty(Distribution.Property propertyName, java.lang.String propertyValue)
propertyName
- The name of the property to be setpropertyValue
- The value for the property
PIMInternalException
- If an internal error occurs
java.lang.UnsupportedOperationException
- If the user tries to set Property which is not valid for a
type of Distribution
java.lang.IllegalArgumentException
- If null, empty or an invalid value is passed as arguments.void delete()
PIMInternalException
- If an internal error occurs during this operation
PIMAuthorizationException
- Reserved for future usevoid save()
PIMInternalException
- If an internal error occurs during this operation
PIMAuthorizationException
- Reserved for future use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |