Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.

Commit

Permalink
fix: Add a link to the git repository defined on a documentation page
Browse files Browse the repository at this point in the history
  • Loading branch information
aelamrani committed Jan 24, 2019
1 parent df0e28a commit c6ef7f4
Showing 1 changed file with 15 additions and 26 deletions.
41 changes: 15 additions & 26 deletions src/main/java/io/gravitee/repository/management/model/Page.java
Expand Up @@ -30,43 +30,22 @@ public enum AuditEvent implements Audit.AuditEvent {
PAGE_CREATED, PAGE_UPDATED, PAGE_DELETED, PAGE_PUBLISHED
}

/**
* The page ID.
*/
private String id;

private String name;

private PageType type;

private String content;

private String lastContributor;

private int order;

private boolean published;

private PageSource source;

private Map<String, String> configuration;

private boolean homepage;

/**
* The api ID.
*/
private String api;

private Date createdAt;

private Date updatedAt;

private String parentId;
/**
* List of excluded groups
*/
private List<String> excludedGroups;
private Map<String, String> metadata;

public String getId() {
return id;
Expand Down Expand Up @@ -184,6 +163,14 @@ public void setExcludedGroups(List<String> excludedGroups) {

public void setParentId(String parentId) { this.parentId = parentId; }

public Map<String, String> getMetadata() {
return metadata;
}

public void setMetadata(Map<String, String> metadata) {
this.metadata = metadata;
}

@Override
public boolean equals(Object o) {
if (this == o) return true;
Expand All @@ -197,23 +184,25 @@ public int hashCode() {
return Objects.hash(id);
}

@Override
public String toString() {
return "Page{" +
"id='" + id + '\'' +
", name='" + name + '\'' +
", type='" + type + '\'' +
", type=" + type +
", content='" + content + '\'' +
", lastContributor='" + lastContributor + '\'' +
", order=" + order +
", published=" + published +
", api='" + api + '\'' +
", source=" + source +
", configuration=" + configuration +
", homepage=" + homepage +
", excludedGroups=" + excludedGroups +
", api='" + api + '\'' +
", createdAt=" + createdAt +
", updatedAt=" + updatedAt +
", parentId=" + parentId +
", parentId='" + parentId + '\'' +
", excludedGroups=" + excludedGroups +
", metadata=" + metadata +
'}';
}
}

0 comments on commit c6ef7f4

Please sign in to comment.