Constructor and Description |
---|
DocMetaInfo(boolean folder)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthor() |
String |
getDirlateststamp() |
String |
getEtag() |
String |
getFilesize() |
String |
getHassubdirs() |
String |
getId() |
String |
getIsbrowsable() |
String |
getIschildweb() |
String |
getIsexecutable() |
String |
getIsscriptable() |
String |
getListbasetype() |
String |
getListEnableMinorVersions() |
String |
getListEnableVersioning() |
String |
getListName()
Returns the name of the list that this item is part of.
|
String |
getListRequireCheckout() |
String |
getListServerTemplate() |
String |
getListTitle() |
String |
getMetatags() |
String |
getModifiedBy() |
String |
getPath() |
String |
getRtag() |
String |
getSourcecontrolcheckedoutby() |
String |
getSourcecontrolcookie() |
String |
getSourcecontrollockexpires() |
String |
getSourcecontroltimecheckedout() |
String |
getSourcecontrolversion() |
String |
getThicketdir() |
String |
getThicketsupportingfile() |
String |
getTimecreated() |
String |
getTimelastmodified() |
String |
getTimelastwritten() |
String |
getTitle() |
boolean |
isFolder() |
void |
setAuthor(String author)
Identifies the creator of the item.
|
void |
setDirlateststamp(String dirlateststamp)
With respect to the metadata for the list folder, the date and time at which the current item last had changes made to it.
|
void |
setDocInfoProperties(Map<String,String> properties)
Sets all properties from given map.
|
void |
setEtag(String etag)
The entity tag of the item
|
void |
setFilesize(String filesize)
The size of the current file in bytes.
|
void |
setHassubdirs(String hassubdirs)
true if the specified directory includes subdirectories; otherwise, false.
|
void |
setId(String id)
Identifies the uniqueId of the item.
|
void |
setIsbrowsable(String isbrowsable)
true if users can browse files in the current directory; otherwise, false.
|
void |
setIschildweb(String ischildweb)
true if the folder is the root directory of a subsite; otherwise, false.
|
void |
setIsexecutable(String isexecutable)
true if the server can execute programs in the current directory; otherwise, false.
|
void |
setIsscriptable(String isscriptable)
true if the server can execute scripts in the current directory; otherwise, false.
|
void |
setListbasetype(String listbasetype)
Specifies which of several supported base List types is used for the List
associated with this folder.
|
void |
setListEnableMinorVersions(String listenableminorversions)
The vti_listenableminorversions metakey contains a flag indicating that minor version
numbering is enabled for this List.
|
void |
setListEnableVersioning(String listenableversioning)
The vti_listenableversioning metakey contains a flag indicating that version numbering
is enabled for this List.
|
void |
setListName(String listname)
Sets the "name" of the list this item is part of
|
void |
setListRequireCheckout(String listrequirecheckout)
The vti_listrequirecheckout metakey contains a flag that indicates whether source
control is enabled for documents in the document library bound to this folder.
|
void |
setListServerTemplate(int listservertemplate)
The vti_listservertemplate metakey contains an INT that indicates which
List template is used for the List associated with this folder
|
void |
setListServerTemplate(String listservertemplate)
The vti_listservertemplate metakey contains an INT that indicates which
List template is used for the List associated with this folder
|
void |
setListTitle(String listtitle)
The vti_listtitle metakey contains the display name of the List.
|
void |
setMetatags(String metatags)
Meta-data for the current Web site.
|
void |
setModifiedBy(String modifiedBy)
Identifies the person who last made changes to the item.
|
void |
setPath(String path)
The site relative path of the item.
|
void |
setRtag(String rtag)
The resource tag of the item
|
void |
setSourcecontrolcheckedoutby(String sourcecontrolcheckedoutby)
The value is the user name of the user that opened the item under multi-user source control.
|
void |
setSourcecontrolcookie(String sourcecontrolcookie)
Returns the contents of a small text file, called a cookie, that can
only be accessed by the page that creates it.
|
void |
setSourcecontrollockexpires(String sourcecontrollockexpires)
Returns the time at which the internal light weight source control (LWSC) lock
of Microsoft FrontPage expires.
|
void |
setSourcecontroltimecheckedout(String sourcecontroltimecheckedout)
The time, including date, at which the item was opened under source control.
|
void |
setSourcecontrolversion(String sourcecontrolversion)
The value is the version number of the source control system used by the current Web site.
|
void |
setThicketdir(String thicketdir) |
void |
setThicketsupportingfile(String thicketsupportingfile) |
void |
setTimecreated(String timecreated)
The time, including date, at which the current item was created.
|
void |
setTimelastmodified(String timelastmodified)
The time, including date, at which the current item last changed.
|
void |
setTimelastwritten(String timelastwritten)
The time, including date, at which the current item was last saved to disk.
|
void |
setTitle(String title)
Can be a string that is the title of the item.
|
public DocMetaInfo(boolean folder)
Constructor
folder
- is folder? to setpublic void setId(String id)
Identifies the uniqueId of the item.
id
- the id to setpublic String getId()
public String getAuthor()
public void setAuthor(String author)
Identifies the creator of the item.
author
- the author to setpublic String getModifiedBy()
public void setModifiedBy(String modifiedBy)
Identifies the person who last made changes to the item.
modifiedBy
- modifiedBy to setpublic boolean isFolder()
public String getThicketdir()
public void setThicketdir(String thicketdir)
thicketdir
- the thicketdir to setpublic String getTimecreated()
public void setTimecreated(String timecreated)
The time, including date, at which the current item was created.
timecreated
- the timecreated to setpublic String getTimelastmodified()
public void setTimelastmodified(String timelastmodified)
The time, including date, at which the current item last changed.
timelastmodified
- the timelastmodified to setpublic String getTimelastwritten()
public void setTimelastwritten(String timelastwritten)
The time, including date, at which the current item was last saved to disk.
timelastwritten
- the timelastwritten to setpublic String getDirlateststamp()
public void setDirlateststamp(String dirlateststamp)
With respect to the metadata for the list folder, the date and time at which the current item last had changes made to it.
dirlateststamp
- the dirlateststamp to setpublic String getHassubdirs()
public void setHassubdirs(String hassubdirs)
true if the specified directory includes subdirectories; otherwise, false.
hassubdirs
- the hassubdirs to setpublic String getIsbrowsable()
public void setIsbrowsable(String isbrowsable)
true if users can browse files in the current directory; otherwise, false.
isbrowsable
- the isbrowsable to setpublic String getIschildweb()
public void setIschildweb(String ischildweb)
true if the folder is the root directory of a subsite; otherwise, false.
ischildweb
- the ischildweb to setpublic String getIsexecutable()
public void setIsexecutable(String isexecutable)
true if the server can execute programs in the current directory; otherwise, false.
isexecutable
- the isexecutable to setpublic String getIsscriptable()
public void setIsscriptable(String isscriptable)
true if the server can execute scripts in the current directory; otherwise, false.
isscriptable
- the isscriptable to setpublic String getTitle()
public void setTitle(String title)
Can be a string that is the title of the item.
title
- the title to setpublic String getFilesize()
public void setFilesize(String filesize)
The size of the current file in bytes.
filesize
- the filesize to setpublic String getMetatags()
public void setMetatags(String metatags)
Meta-data for the current Web site.
metatags
- to setpublic String getSourcecontrolcheckedoutby()
public void setSourcecontrolcheckedoutby(String sourcecontrolcheckedoutby)
The value is the user name of the user that opened the item under multi-user source control.
sourcecontrolcheckedoutby
- the sourcecontrolcheckedoutby to setpublic String getSourcecontroltimecheckedout()
public void setSourcecontroltimecheckedout(String sourcecontroltimecheckedout)
The time, including date, at which the item was opened under source control.
sourcecontroltimecheckedout
- the sourcecontroltimecheckedout to setpublic String getThicketsupportingfile()
public void setThicketsupportingfile(String thicketsupportingfile)
thicketsupportingfile
- the thicketsupportingfile to setpublic String getPath()
public void setPath(String path)
The site relative path of the item.
path
- the path to setpublic String getListbasetype()
public void setListbasetype(String listbasetype)
listbasetype
- the listbasetype to setpublic void setDocInfoProperties(Map<String,String> properties)
Sets all properties from given map.
properties
- map of the propperties to setpublic String getSourcecontrollockexpires()
public void setSourcecontrollockexpires(String sourcecontrollockexpires)
Returns the time at which the internal light weight source control (LWSC) lock of Microsoft FrontPage expires. If a file is checked out using LWSC with a client other than FrontPage, the short term lock is set for 10 minutes. The lock is automatically renewed until the file is closed.
sourcecontrollockexpires
- the sourcecontrollockexpires to setpublic String getSourcecontrolcookie()
public void setSourcecontrolcookie(String sourcecontrolcookie)
Returns the contents of a small text file, called a cookie, that can only be accessed by the page that creates it. In the example, the cookie contains a string that identifies the type of source control in use by the current site item.
sourcecontrolcookie
- the sourcecontrolcookie to setpublic String getSourcecontrolversion()
public void setSourcecontrolversion(String sourcecontrolversion)
The value is the version number of the source control system used by the current Web site.
sourcecontrolversion
- the sourcecontrolversion to setpublic void setListName(String listname)
Sets the "name" of the list this item is part of
Note that in Alfresco, the "list name" is actually based on the ID of the list node, rather than the name property.listname
- The List Name to setpublic String getListName()
public void setRtag(String rtag)
The resource tag of the item
rtag
- the resource tag to setpublic String getRtag()
public void setEtag(String etag)
The entity tag of the item
etag
- the entity tag to setpublic String getEtag()
public void setListEnableMinorVersions(String listenableminorversions)
The vti_listenableminorversions metakey contains a flag indicating that minor version numbering is enabled for this List.
listenableminorversions
- the listenableminorversions metakey to setpublic String getListEnableMinorVersions()
public void setListEnableVersioning(String listenableversioning)
The vti_listenableversioning metakey contains a flag indicating that version numbering is enabled for this List.
listenableversioning
- the listenableversioning metakey to setpublic String getListEnableVersioning()
public void setListRequireCheckout(String listrequirecheckout)
The vti_listrequirecheckout metakey contains a flag that indicates whether source control is enabled for documents in the document library bound to this folder.
listrequirecheckout
- the listrequirecheckout metakey to setpublic String getListRequireCheckout()
public void setListServerTemplate(String listservertemplate)
The vti_listservertemplate metakey contains an INT that indicates which List template is used for the List associated with this folder
listservertemplate
- the listservertemplate metakey to setpublic void setListServerTemplate(int listservertemplate)
The vti_listservertemplate metakey contains an INT that indicates which List template is used for the List associated with this folder
listservertemplate
- the listservertemplate metakey to setpublic String getListServerTemplate()
public void setListTitle(String listtitle)
The vti_listtitle metakey contains the display name of the List.
listtitle
- the listtitle to setpublic String getListTitle()
Copyright © 2005–2017 Alfresco Software. All rights reserved.