/** * {@inheritDoc} */ @Override public String toString() { return "Resource [name=" + name + ", version=" + getVersion() + ", path=" + path + ", description=" + description + ", created at=" + getCreatedAt() + ", by=" + getCreatedBy() + ", module=" + module + ", enabled=" + enabled + "]"; }
@Override public void write(ObjectDataOutput out, Parameter xParam) throws IOException { out.writeUTF(xParam.getName()); out.writeUTF(xParam.getType()); out.writeInt(xParam.getCardinality().ordinal()); }
/** * {@inheritDoc} */ @Override public String toString() { return "Role [name=" + name + ", version=" + this.getVersion() + ", created at=" + getCreatedAt() + ", by=" + getCreatedBy() + ", description=" + description + ", permissions=" + getPermissions() + ", includedRoles=" + getIncludedRoles() + "]"; }
@Override public TriggerAction read(ObjectDataInput in) throws IOException { TriggerAction xAction = new TriggerAction( in.readInt(), Order.values()[in.readInt()], Scope.values()[in.readInt()]); return xAction; }
/** * {@inheritDoc} */ @Override public String toString() { return "Node [name=" + name + "; version=" + getVersion() + "; created at=" + getCreatedAt() + "; by=" + getCreatedBy() + "; options=" + options + "]"; }
/** * {@inheritDoc} */ @Override public String toString() { return "User [login=" + login + ", version=" + getVersion() + ", active=" + active + ", created at=" + getCreatedAt() + ", by=" + getCreatedBy() + "]"; }
/** * {@inheritDoc} */ @Override public String toString() { return "Module [name=" + name + ", version=" + getVersion() + ", fileName=" + fileName + ", description=" + description + ", created at=" + getCreatedAt() + ", by=" + getCreatedBy() + ", prefix=" + prefix + ", namespace=" + namespace + ", enabled=" + enabled + "]"; }
/** * {@inheritDoc} */ @Override public String toString() { return "Fragment [name=" + name + ", version=" + getVersion() + ", docType=" + docType + ", path=" + path + ", created at=" + getCreatedAt() + ", by=" + getCreatedBy() + ", description=" + description + ", enabled=" + enabled + "]"; }
/** * {@inheritDoc} */ @Override public String toString() { return "Collection [id=" + id + ", name=" + name + ", version=" + getVersion() + ", docType=" + docType + ", uriPattern=" + uriPattern + ", created at=" + getCreatedAt() + ", by=" + getCreatedBy() + ", description=" + description + ", enabled=" + enabled + "]"; }
/** * {@inheritDoc} */ public String toString() { return getSignature(); }
/** * * @param resource the resource name * @param permissions set of permissions granted on the resource */ public Permission(String resource, Value... permissions) { this.resource = resource; for (Value p: permissions) { addPermission(p); } }
@Override protected Collection getSchemaFeatures(Schema schema) { return schema.getTriggers(); } //protected Collection<XDMEntity> getSchemaFeatures(XDMSchema schema) {
/** * * @param resource the resource name * @param permissions set of permissions granted on the resource */ public Permission(String resource, Set<Value> permissions) { this.resource = resource; setPermissions(permissions); }