|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Editable
Defines the behaviour for editable objects within the API.
Editable objects may have their attributes set and changed.
Passing a null argument to a method of this interface will
result in a NullPointerException, unless stated otherwise.
A successful call to methods in this interface other than
isChanged() will result in a call to isChanged()
returning true.
| Method Summary | |
|---|---|
void |
addAuthors(java.lang.String[] authors)
Adds each author specified in the string array argument to the authors of this Editable object. |
void |
addContributorAccessMembers(java.lang.String[] members)
Adds each name specified in the string array argument to the members who have Contributor access to this Editable
object. |
void |
addDeleteAccessMembers(java.lang.String[] members)
Deprecated. Use addManagerAccessMembers(String[]) instead |
void |
addEditAccessMembers(java.lang.String[] members)
Deprecated. Use addEditorAccessMembers(String[]) instead |
void |
addEditorAccessMembers(java.lang.String[] members)
Adds each name specified in the string array argument to the members who have Editor access to this Editable
object. |
void |
addHistoryLogEntry(java.lang.String message)
Adds a entry to the History log of this Editable
object. |
void |
addLiveAccessMembers(java.lang.String[] members)
Deprecated. Use addUserAccessMembers(String[]) instead |
void |
addManagerAccessMembers(java.lang.String[] members)
Adds each name specified in the string array argument to the members who have Manager access to this Editable
object. |
void |
addOwners(java.lang.String[] owners)
Adds each owner specified in the string array argument to the owners of this Editable object. |
void |
addReadAccessMembers(java.lang.String[] members)
Deprecated. Use addContributorAccessMembers(String[]) instead |
void |
addUserAccessMembers(java.lang.String[] members)
Adds each name specified in the string array argument to the members who have User access to this Editable
object. |
boolean |
isChanged()
Returns the value of the changed flag. |
void |
removeAuthors(java.lang.String[] authors)
Removes each author specified in the string array argument from the authors of this Editable object. |
void |
removeContributorAccessMembers(java.lang.String[] members)
Removes each name specified in the string array argument from the members who have Contributor access to this Editable
object. |
void |
removeDeleteAccessMembers(java.lang.String[] members)
Deprecated. Use removeManagerAccessMembers(String[]) instead |
void |
removeEditAccessMembers(java.lang.String[] members)
Deprecated. Use removeEditorAccessMembers(String[]) instead |
void |
removeEditorAccessMembers(java.lang.String[] members)
Removes each name specified in the string array argument from the members who have Editor access to this Editable
object. |
void |
removeLiveAccessMembers(java.lang.String[] members)
Deprecated. Use removeUserAccessMembers(String[]) instead |
void |
removeManagerAccessMembers(java.lang.String[] members)
Removes each name specified in the string array argument from the members who have Manager access to this Editable
object. |
void |
removeOwners(java.lang.String[] owners)
Removes each owner specified in the string array argument from the owners of this Editable object. |
void |
removeReadAccessMembers(java.lang.String[] members)
Deprecated. Use removeContributorAccessMembers(String[]) instead |
void |
removeUserAccessMembers(java.lang.String[] members)
Removes each name specified in the string array argument from the members who have User access to this Editable
object. |
void |
setContributorAccessInheritance(boolean inheritContributors)
Sets if the Contributor access permissions will be inherited from the
parent of this Document. |
void |
setDescription(java.lang.String description)
Sets the description of this Editable object to the
specified String argument. |
void |
setEditorAccessInheritance(boolean inheritEditors)
Sets if the Editor access permissions will be inherited from the
parent of this Document. |
void |
setManagerAccessInheritance(boolean inheritManagers)
Sets if the Manager access permissions will be inherited from the
parent of this Document. |
void |
setName(java.lang.String name)
Sets the name of this Editable object to the
specified String argument. |
void |
setTitle(java.lang.String title)
Sets the title of this Editable object to the
specified String argument. |
void |
setUserAccessInheritance(boolean inheritUsers)
Sets if the User access permissions will be inherited from the
parent of this Document. |
| Method Detail |
|---|
boolean isChanged()
An Editable object is deemed to have changed if one or
more attributes have been modified since it was last saved.
Editable object has changed; false otherwisevoid setName(java.lang.String name)
Editable object to the
specified String argument.
name - of the editablevoid setTitle(java.lang.String title)
Editable object to the
specified String argument.
title - of the editablevoid setDescription(java.lang.String description)
Editable object to the
specified String argument.
This method accepts a null argument.
description - of the editablevoid addAuthors(java.lang.String[] authors)
Editable object.
An author is only added if the element in the string array argument can be converted to a valid member.
Note: Each author of this Editable object
must be unique. I.e. Duplicates are removed.
authors - the authors to addvoid removeAuthors(java.lang.String[] authors)
Editable object.
An author is only removed if the element in the string array
argument can be converted to a valid member and already an
author on this Editable object.
authors - the authors names to removevoid addOwners(java.lang.String[] owners)
Editable object.
An owner is only added if the element in the string array argument can be converted to a valid member.
Note: Each owner of this Editable object must
be unique. I.e. Duplicates are removed.
owners - the owners to addvoid removeOwners(java.lang.String[] owners)
Editable object.
An owner is only removed if the element in the string array
argument can be converted to a valid member and already an
owner on this Editable object.
owners - the owners names to removevoid addLiveAccessMembers(java.lang.String[] members)
addUserAccessMembers(String[]) instead
Editable
object.
A name is only added if the element in the string array argument can be converted to a valid member.
Note: Each Live access member of this Editable
object must be unique. I.e. Duplicates are removed.
members - the names of members to add to Live accessvoid addReadAccessMembers(java.lang.String[] members)
addContributorAccessMembers(String[]) instead
Editable
object.
A name is only added if the element in the string array argument can be converted to a valid member.
Note: Each Read access member of this Editable
object must be unique. I.e. Duplicates are removed.
members - the names of members to add to Read accessvoid addEditAccessMembers(java.lang.String[] members)
addEditorAccessMembers(String[]) instead
Editable
object.
A name is only added if the element in the string array argument can be converted to a valid member.
Note: Each Edit access member of this Editable
object must be unique. I.e. Duplicates are removed.
members - the names of members to add to Edit accessvoid addDeleteAccessMembers(java.lang.String[] members)
addManagerAccessMembers(String[]) instead
Editable
object.
A name is only added if the element in the string array argument can be converted to a valid member.
Note: Each Delete access member of this Editable
object must be unique. I.e. Duplicates are removed.
members - the names of members to add to Delete accessvoid addUserAccessMembers(java.lang.String[] members)
Editable
object.
A name is only added if the element in the string array argument can be converted to a valid member.
Note: Each User access member of this Editable
object must be unique. I.e. Duplicates are removed.
members - the names of members to add to User accessvoid addContributorAccessMembers(java.lang.String[] members)
Editable
object.
A name is only added if the element in the string array argument can be converted to a valid member.
Note: Each Contributor access member of this Editable
object must be unique. I.e. Duplicates are removed.
members - the names of members to add to Contributor accessvoid addEditorAccessMembers(java.lang.String[] members)
Editable
object.
A name is only added if the element in the string array argument can be converted to a valid member.
Note: Each Editor access member of this Editable
object must be unique. I.e. Duplicates are removed.
members - the names of members to add to Editor accessvoid addManagerAccessMembers(java.lang.String[] members)
Editable
object.
A name is only added if the element in the string array argument can be converted to a valid member.
Note: Each Manager access member of this Editable
object must be unique. I.e. Duplicates are removed.
members - the names of members to add to Manager accessvoid removeLiveAccessMembers(java.lang.String[] members)
removeUserAccessMembers(String[]) instead
Editable
object.
A name is only removed if the element in the string array
argument can be converted to a valid member and already has
Live access to this Editable object.
members - the names of members to remove from Live accessvoid removeReadAccessMembers(java.lang.String[] members)
removeContributorAccessMembers(String[]) instead
Editable
object.
A name is only removed if the element in the string array
argument can be converted to a valid member and already has
Read access to this Editable object.
members - the names of members to remove from
Read accessvoid removeEditAccessMembers(java.lang.String[] members)
removeEditorAccessMembers(String[]) instead
Editable
object.
A name is only removed if the element in the string array
argument can be converted to a valid member and already has
Edit access to this Editable object.
members - the names of members to remove from
Edit accessvoid removeDeleteAccessMembers(java.lang.String[] members)
removeManagerAccessMembers(String[]) instead
Editable
object.
A name is only removed if the element in the string array
argument can be converted to a valid member and already has
Delete access to this Editable object.
members - the names of members to remove from
Delete accessvoid removeUserAccessMembers(java.lang.String[] members)
Editable
object.
A name is only removed if the element in the string array
argument can be converted to a valid member and already has
User access to this Editable object.
members - the names of members to remove from User accessvoid removeContributorAccessMembers(java.lang.String[] members)
Editable
object.
A name is only removed if the element in the string array
argument can be converted to a valid member and already has
Contributor access to this Editable object.
members - the names of members to remove from
Contributor accessvoid removeEditorAccessMembers(java.lang.String[] members)
Editable
object.
A name is only removed if the element in the string array
argument can be converted to a valid member and already has
Editor access to this Editable object.
members - the names of members to remove from
Editor accessvoid removeManagerAccessMembers(java.lang.String[] members)
Editable
object.
A name is only removed if the element in the string array
argument can be converted to a valid member and already has
Manager access to this Editable object.
members - the names of members to remove from
Manager accessvoid addHistoryLogEntry(java.lang.String message)
Editable
object.
The new History Log Entry will be created using the current API workspace user
message - The message to add to the log.void setUserAccessInheritance(boolean inheritUsers)
User access permissions will be inherited from the
parent of this Document.
inheritUsers - true to set user access permissions to be inherited,
or false to block inheritance of permissions from the parent.void setContributorAccessInheritance(boolean inheritContributors)
Contributor access permissions will be inherited from the
parent of this Document.
inheritContributors - true to set contributor access permissions to be inherited,
or false to block inheritance of permissions from the parent.void setEditorAccessInheritance(boolean inheritEditors)
Editor access permissions will be inherited from the
parent of this Document.
inheritEditors - true to set editor access permissions to be inherited,
or false to block inheritance of permissions from the parent.void setManagerAccessInheritance(boolean inheritManagers)
Manager access permissions will be inherited from the
parent of this Document.
inheritManagers - true to set manager access permissions to be inherited,
or false to block inheritance of permissions from the parent.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||