◆ allowsDelete()
boolean org.turro.attach.entity.EntityDocumentation.allowsDelete |
( |
| ) |
throws IOException |
Definition at line 167 of file EntityDocumentation.java.
169 Authentication.isAdministrator();
DocumentDefinition getDefinition()
boolean isUploadControl()
◆ allowsDeleteDef()
boolean org.turro.attach.entity.EntityDocumentation.allowsDeleteDef |
( |
| ) |
throws IOException |
◆ allowsDeny()
boolean org.turro.attach.entity.EntityDocumentation.allowsDeny |
( |
| ) |
|
Definition at line 162 of file EntityDocumentation.java.
164 EntityDocumentationStatus.VALIDATED.equals(status));
boolean allowsValidation()
◆ allowsUpload()
boolean org.turro.attach.entity.EntityDocumentation.allowsUpload |
( |
| ) |
throws IOException |
Definition at line 152 of file EntityDocumentation.java.
153 return (!EntityDocumentationStatus.VALIDATED.equals(status) &&
155 Authentication.isAdministrator();
◆ allowsValidation()
boolean org.turro.attach.entity.EntityDocumentation.allowsValidation |
( |
| ) |
|
◆ getAssistantIds()
Set<String> org.turro.attach.entity.EntityDocumentation.getAssistantIds |
( |
| ) |
|
◆ getAssistants()
List<IContact> org.turro.attach.entity.EntityDocumentation.getAssistants |
( |
| ) |
|
Definition at line 212 of file EntityDocumentation.java.
213 return assistantIds.stream().map(
id -> Contacts.getContactById(
id)).toList();
◆ getComment()
String org.turro.attach.entity.EntityDocumentation.getComment |
( |
| ) |
|
◆ getContact()
IContact org.turro.attach.entity.EntityDocumentation.getContact |
( |
| ) |
|
◆ getContactId()
String org.turro.attach.entity.EntityDocumentation.getContactId |
( |
| ) |
|
◆ getDeadline()
Date org.turro.attach.entity.EntityDocumentation.getDeadline |
( |
| ) |
|
◆ getDefinition()
◆ getDocumentation()
String org.turro.attach.entity.EntityDocumentation.getDocumentation |
( |
| ) |
|
◆ getDocuments()
List<Document> org.turro.attach.entity.EntityDocumentation.getDocuments |
( |
| ) |
|
Definition at line 176 of file EntityDocumentation.java.
178 if(folder.exists())
try {
179 return folder.documents();
180 }
catch (IOException ex) {
181 Logger.getLogger(EntityDocumentation.class.getName()).log(Level.SEVERE,
null, ex);
183 return Collections.EMPTY_LIST;
◆ getEntity()
◆ getEntityPath()
String org.turro.attach.entity.EntityDocumentation.getEntityPath |
( |
| ) |
|
◆ getFolder()
Folder org.turro.attach.entity.EntityDocumentation.getFolder |
( |
| ) |
|
◆ getFolderString()
String org.turro.attach.entity.EntityDocumentation.getFolderString |
( |
| ) |
|
Definition at line 190 of file EntityDocumentation.java.
192 return "/WEB-INF/files/" + entityPath +
"/documentation/" +
193 dd.getFolderName() +
"/" + contactId;
◆ getRequester()
IContact org.turro.attach.entity.EntityDocumentation.getRequester |
( |
| ) |
|
◆ getRequesterId()
String org.turro.attach.entity.EntityDocumentation.getRequesterId |
( |
| ) |
|
◆ getStatus()
◆ isValid()
boolean org.turro.attach.entity.EntityDocumentation.isValid |
( |
List< EntityDocumentation > |
invalids | ) |
|
◆ reviewStatus()
void org.turro.attach.entity.EntityDocumentation.reviewStatus |
( |
| ) |
|
Definition at line 144 of file EntityDocumentation.java.
147 }
else if(!EntityDocumentationStatus.validationStatus().contains(status)) {
◆ setAssistantIds()
void org.turro.attach.entity.EntityDocumentation.setAssistantIds |
( |
Set< String > |
assistantIds | ) |
|
◆ setComment()
void org.turro.attach.entity.EntityDocumentation.setComment |
( |
String |
comment | ) |
|
◆ setContactId()
void org.turro.attach.entity.EntityDocumentation.setContactId |
( |
String |
contactId | ) |
|
◆ setDeadline()
void org.turro.attach.entity.EntityDocumentation.setDeadline |
( |
Date |
deadline | ) |
|
◆ setDocumentation()
void org.turro.attach.entity.EntityDocumentation.setDocumentation |
( |
String |
documentation | ) |
|
◆ setEntityPath()
void org.turro.attach.entity.EntityDocumentation.setEntityPath |
( |
String |
entityPath | ) |
|
◆ setRequesterId()
void org.turro.attach.entity.EntityDocumentation.setRequesterId |
( |
String |
requesterId | ) |
|
◆ setStatus()
The documentation for this class was generated from the following file: