public void setDeleted() { addExtension(new Deleted()); // Deleted entries cannot be edited further. setCanEdit(false); }
public void setDeleted() { addExtension(new Deleted()); // Deleted entries cannot be edited further. setCanEdit(false); }
public void setDeleted() { addExtension(new Deleted()); // Deleted entries cannot be edited further. setCanEdit(false); }
/** * Sets the trashed status of this document for the user this feed request * has been authenticated under. * * @param trashed true if the document should be trashed */ public void setTrashed(boolean trashed) { if (trashed) { this.getCategories().add(Labels.TRASHED); this.setExtension(new Deleted()); } else { this.getCategories().remove(Labels.TRASHED); this.removeExtension(Deleted.class); } }
/** * Sets the trashed status of this document for the user this feed request * has been authenticated under. * * @param trashed true if the document should be trashed */ public void setTrashed(boolean trashed) { if (trashed) { this.getCategories().add(Labels.TRASHED); this.setExtension(new Deleted()); } else { this.getCategories().remove(Labels.TRASHED); this.removeExtension(Deleted.class); } }
/** * Sets the trashed status of this document for the user this feed request * has been authenticated under. * * @param trashed true if the document should be trashed */ public void setTrashed(boolean trashed) { if (trashed) { this.getCategories().add(Labels.TRASHED); this.setExtension(new Deleted()); } else { this.getCategories().remove(Labels.TRASHED); this.removeExtension(Deleted.class); } }