Code examples for ProjectionList

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
45:	fields.add(getColumn("id")); 
46:	fields.add(getColumn("description")); 
47:	fields.add(getColumn("name")); 
48:	fields.add(getColumn("shortName")); 
49:	fields.add(Projections.property("publicGroup").as("isPublic")); 
50:	fields.add(getColumn("updatesCount")); 
51:	fields.add(getColumn("followersCount")); 
52:	fields.add(getColumn("dateAdded")); 
53:	fields.add(getColumn("avatarId")); 
54:	fields.add(getColumn("avatarCropSize")); 
55:	fields.add(getColumn("avatarCropX")); 
56:	fields.add(getColumn("avatarCropY")); 
57:	fields.add(getColumn("bannerId")); 
58:	fields.add(getColumn("overview")); 
59:	fields.add(getColumn("commentable")); 
60:	fields.add(getColumn("streamPostable")); 
61:	fields.add(getColumn("url")); 
62:	fields.add(getColumn("stickyActivityId")); 
63:	fields.add(Projections.property("cb.accountId").as("personCreatedByAccountId")); 
64:	fields.add(Projections.property("cb.displayName").as("personCreatedByDisplayName")); 
65:	fields.add(Projections.property("cb.companyName").as("personCreatedByCompanyName")); 
66:	fields.add(Projections.property("stream.id").as("streamId")); 
67:	criteria.setProjection(fields); 
Full Snippet Info
7
CodeRank
44:	fields.add(getColumn("id")); 
45:	fields.add(getColumn("dateAdded")); 
46:	fields.add(getColumn("accountId")); 
47:	fields.add(getColumn("openSocialId")); 
48:	fields.add(getColumn("avatarId")); 
49:	fields.add(getColumn("avatarCropX")); 
50:	fields.add(getColumn("avatarCropY")); 
51:	fields.add(getColumn("avatarCropSize")); 
52:	fields.add(getColumn("lastName")); 
53:	fields.add(getColumn("displayNameSuffix")); 
54:	fields.add(getColumn("displayName")); 
55:	fields.add(getColumn("preferredName")); 
56:	fields.add(getColumn("jobDescription")); 
57:	fields.add(getColumn("title")); 
58:	fields.add(getColumn("overview")); 
59:	fields.add(getColumn("followersCount")); 
60:	fields.add(getColumn("followingCount")); 
61:	fields.add(getColumn("groupsCount")); 
62:	fields.add(getColumn("optOutVideoIds")); 
63:	fields.add(getColumn("updatesCount")); 
64:	fields.add(getColumn("email")); 
65:	fields.add(getColumn("commentable")); 
66:	fields.add(getColumn("companyName")); 
67:	fields.add(getColumn("streamPostable")); 
68:	fields.add(getColumn("additionalProperties")); 
69:	fields.add(getColumn("groupStreamHiddenLineIndex")); 
70:	fields.add(getColumn("lastAcceptedTermsOfService")); 
71:	fields.add(getColumn("accountLocked")); 
72:	fields.add(getColumn("accountDeactivated")); 
73:	fields.add(getColumn("workPhone")); 
74:	fields.add(getColumn("cellPhone")); 
75:	fields.add(getColumn("fax")); 
76:	fields.add(Projections.property("streamViewHiddenLineIndex").as("compositeStreamHiddenLineIndex")); 
77:	fields.add(Projections.property("stream.id").as("streamId")); 
78:	criteria.setProjection(fields); 
-
100:	} 
Full Snippet Info
7
CodeRank