◆ WebResourceParts()
org.turro.elephant.web.context.WebResourceParts.WebResourceParts |
( |
File |
file | ) |
|
◆ editable()
static WebResourceParts org.turro.elephant.web.context.WebResourceParts.editable |
( |
IContact |
contact, |
|
|
String |
base, |
|
|
String |
locale |
|
) |
| |
|
static |
Definition at line 112 of file WebResourceParts.java.
114 if(Strings.isBlank(base)) {
115 wrp.base =
"000" + ObjectString.formatObject(
new Date(),
116 ObjectString.COMPRESSED_DATE_PATTERN,
false);
120 wrp.modified = ObjectString.formatObject(
new Date(),
121 ObjectString.COMPRESSED_DATE_PATTERN,
false);
122 wrp.author = contact.getId();
124 wrp.extension =
"wiki";
WebResourceParts(File file)
◆ getAuthor()
String org.turro.elephant.web.context.WebResourceParts.getAuthor |
( |
| ) |
|
◆ getBase()
String org.turro.elephant.web.context.WebResourceParts.getBase |
( |
| ) |
|
◆ getEditableFile()
File org.turro.elephant.web.context.WebResourceParts.getEditableFile |
( |
Path |
folder, |
|
|
IContact |
contact |
|
) |
| |
◆ getExtension()
String org.turro.elephant.web.context.WebResourceParts.getExtension |
( |
| ) |
|
◆ getLocale()
String org.turro.elephant.web.context.WebResourceParts.getLocale |
( |
| ) |
|
◆ getModified()
String org.turro.elephant.web.context.WebResourceParts.getModified |
( |
| ) |
|
◆ getModifiedDate()
Date org.turro.elephant.web.context.WebResourceParts.getModifiedDate |
( |
| ) |
|
◆ getResourceFile()
File org.turro.elephant.web.context.WebResourceParts.getResourceFile |
( |
Path |
folder | ) |
|
◆ getUser()
IContact org.turro.elephant.web.context.WebResourceParts.getUser |
( |
| ) |
|
◆ isEditable()
boolean org.turro.elephant.web.context.WebResourceParts.isEditable |
( |
| ) |
|
◆ isEmpty()
boolean org.turro.elephant.web.context.WebResourceParts.isEmpty |
( |
| ) |
|
◆ isResource()
boolean org.turro.elephant.web.context.WebResourceParts.isResource |
( |
| ) |
|
◆ nameAsEditable()
String org.turro.elephant.web.context.WebResourceParts.nameAsEditable |
( |
IContact |
contact | ) |
|
Definition at line 96 of file WebResourceParts.java.
97 return base +
"." + modified +
"." + contact.getId() + locale +
".wiki";
◆ nameAsResource()
String org.turro.elephant.web.context.WebResourceParts.nameAsResource |
( |
| ) |
|
The documentation for this class was generated from the following file: