src/main/java/za/co/grindrodbank/dokuti/document/DocumentEntity.java
public DocumentAcl addPermission(UUID userId, DocumentPermission documentPermissionValue, Boolean mayAssign,
			UUID grantedBy) {
		DocumentAcl documentPermission = new DocumentAcl(userId, documentPermissionValue.toString(), mayAssign,
				grantedBy, this);

		documentPermissions.add(documentPermission);

		return documentPermission;
	}
/**
	 * ; Adds a new document permission to the document.
	 * 
	 * @param attribute The attribute to associate with the document.
	 * @param value     The value of the attribute association.
	 * @return An instance of the added document attribute.
	 */
; Adds a new document permission to the document.

@param attribute The attribute to associate with the document.
@param value     The value of the attribute association.
@return An instance of the added document attribute.
; Adds a new document permission to the document . @param attribute The attribute to associate with the document . @param value The value of the attribute association . @return An instance of the added document attribute .
public DocumentAcl addPermission(UUID userId, DocumentPermission documentPermissionValue, Boolean mayAssign,
			UUID grantedBy) {
		DocumentAcl documentPermission = new DocumentAcl(userId, documentPermissionValue.toString(), mayAssign,
				grantedBy, this);
		documentPermissions.add(documentPermission);
		return documentPermission;
	}
public DocumentAcl addPermission ( UUID userId , DocumentPermission documentPermissionValue , Boolean mayAssign , UUID grantedBy ) { DocumentAcl documentPermission = new DocumentAcl ( userId , documentPermissionValue . toString ( ) , mayAssign , grantedBy , this ) ; documentPermissions . add ( documentPermission ) ; return documentPermission ; }
; Adds a new document permission to the document.
; Adds a new document permission to the document .