Class AnnotationDTO
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.levigo.jadice.web.client.messaging.AnnotationDTO
public final class AnnotationDTO
extends com.google.gwt.core.client.JavaScriptObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationDTO
create
(String type, String typeId, com.google.gwt.core.client.JavaScriptObject params, String id, String lastModifiedBy, com.google.gwt.core.client.JsDate created, com.google.gwt.core.client.JsDate lastModified, String createdBy, boolean modified, UserPropertiesDTO properties, com.google.gwt.core.client.JsArray<PermissionsDTO> permissions) static AnnotationDTO
from
(Annotation anno) com.google.gwt.core.client.JsDate
getId()
com.google.gwt.core.client.JsDate
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.core.client.JsArray
<PermissionsDTO> getType()
boolean
void
setPermissions
(com.google.gwt.core.client.JsArray<PermissionsDTO> permissions) void
setProperties
(UserPropertiesDTO properties) static Annotation
to
(AnnotationDTO dto) Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
AnnotationDTO
protected AnnotationDTO()
-
-
Method Details
-
getType
-
getTypeId
-
getParams
public com.google.gwt.core.client.JavaScriptObject getParams() -
getId
-
getLastModifiedBy
-
getCreated
public com.google.gwt.core.client.JsDate getCreated() -
getLastModified
public com.google.gwt.core.client.JsDate getLastModified() -
getCreatedBy
-
isModified
public boolean isModified() -
getPermissions
-
setPermissions
-
getProperties
-
setProperties
-
create
public static AnnotationDTO create(String type, String typeId, com.google.gwt.core.client.JavaScriptObject params, String id, String lastModifiedBy, com.google.gwt.core.client.JsDate created, com.google.gwt.core.client.JsDate lastModified, String createdBy, boolean modified, UserPropertiesDTO properties, com.google.gwt.core.client.JsArray<PermissionsDTO> permissions) -
from
-
to
-