Method Summary |
|
public boolean | canSetQuota() |
public void | clearMissing() Empty the list of missing properties. |
public boolean | contentHasChanged() |
public boolean | contentTypeHasChanged() |
public SortedSet | convertToRefs(Collection groupIds) |
public String | getAllowCommercial() |
public String | getAllowModifications() |
public byte[] | getContent() |
public String | getContentstring() |
public String | getCopyrightInfo() |
public String | getCopyrightStatus() |
public String | getDescription() |
public String | getEncoding() Get the character encoding type that is used when converting content body between strings and byte arrays. |
public String | getFilename() |
public ResourcesMetadata | getForm() Access the root ResourcesMetadata object that defines the form for a Structured Artifact. |
public String | getFormtype() |
public String | getInstruction() Access instructions to be displayed to the user in the editor (for Form Items). |
public String | getLicense() |
public List | getList(String name) Access a list of values associated with a named property of a structured artifact.
Parameters: name - The name of the property. |
public Map | getMetadata() |
public String | getMimeCategory() |
public String | getMimeSubtype() |
public String | getMimeType() |
public int | getNotification() |
public List | getProperties() |
public Object | getPropertyValue(String name) |
public Object | getPropertyValue(String name, int index) Access a particular value in a Structured Artifact, as identified by the parameter "name". |
public String | getQuota() |
public Time | getReleaseDate() |
public Time | getRetractDate() |
public String | getRightsowner() |
public String | getRightsownership() |
public String | getRightsyear() |
public String | getRootname() |
public String | getSingleGroupTitle() |
public String | getString(String name) Access a value of a structured artifact field of type String.
Parameters: name - The name of the field to access. |
public Map | getStructuredArtifact() |
public Object | getValue(String name, int index) |
public Object | getValue(String name) Access a particular value in a Structured Artifact, as identified by the parameter "name". |
public Map | getValues() |
public boolean | hasBeenAdded() |
public boolean | hasQuota() |
public void | hideMetadataGroup(String group) |
public boolean | isBlank() |
public boolean | isFileUpload() |
public boolean | isGroupInherited() |
public boolean | isGroupPossible() |
public boolean | isGroupShowing(String group) |
public boolean | isHidden() |
public boolean | isHtml() |
public boolean | isInWorkspace() |
public boolean | isMissing(String propname) |
public boolean | isPlaintext() |
public boolean | isSingleGroupInherited() |
public boolean | isSiteOnly() |
public boolean | isSitePossible() |
public boolean | isUrl() |
public void | markAsBlank(boolean isBlank) |
public void | setAdded(boolean added) |
public void | setAllowCommercial(String ccCommercial) |
public void | setAllowModifications(String ccModification) |
public void | setCanSetQuota(boolean canSetQuota) |
public void | setContent(byte[] content) |
public void | setContent(String content) |
public void | setContentHasChanged(boolean changed) |
public void | setContentTypeHasChanged(boolean changed) |
public void | setCopyrightInfo(String copyrightInfo) |
public void | setCopyrightStatus(String copyrightStatus) |
public void | setDescription(String description) |
public void | setEncoding(String encoding) Set the character encoding type that will be used when converting content body between strings and byte arrays. |
public void | setFilename(String filename) |
public void | setForm(ResourcesMetadata form) Change the root ResourcesMetadata object that defines the form for a Structured Artifact. |
public void | setFormtype(String formtype) |
public void | setHasQuota(boolean hasQuota) |
public void | setHidden(boolean hidden) |
public void | setId(String id) |
public void | setInWorkspace(boolean isInUserSite) |
public void | setInstruction(String instruction) Record a value for instructions to be displayed to the user in the editor (for Form Items). |
public void | setLicense(String license) |
public void | setMetadata(Map metadata) |
public void | setMetadataItem(String name, Object value) |
public void | setMimeType(String mimetype) |
public void | setMissing(String propname) Add a property name to the list of properties missing from the input. |
public void | setNotification(int notification) |
public void | setProperties(List properties) |
public void | setPropertyValue(String name, Object value) |
public void | setPropertyValue(String name, int index, Object value) Access a particular value in a Structured Artifact, as identified by the parameter "name". |
public void | setQuota(String quota) |
public void | setReleaseDate(Time releaseDate) |
public void | setRetractDate(Time retractDate) |
public void | setRightsowner(String ccRightsOwner) |
public void | setRightsownership(String owner) |
public void | setRightstyear(String ccRightsYear) |
public void | setRootname(String rootname) |
public void | setStructuredArtifact(Map artifact) |
public void | setType(String type) |
public void | setUseReleaseDate(boolean useReleaseDate) |
public void | setUseRetractDate(boolean useRetractDate) |
public void | setValue(String name, Object value) |
public void | setValue(String name, int index, Object value) |
public void | setValues(Map map) Replace current values of Structured Artifact with new values. |
public void | showMetadataGroup(String group) |
public boolean | useReleaseDate() |
public boolean | useRetractDate() |