return checkin(contentlet, contentRelationships, cats, permissions, user, respectFrontendRoles, true);
}
public Contentlet checkinWithoutVersioning(Contentlet contentlet, Map<Relationship, List<Contentlet>> contentRelationships, List<Category> cats ,List<Permission> permissions, User user,boolean respectFrontendRoles) throws DotDataException,DotSecurityException, DotContentletStateException, DotContentletValidationException {
Structure st = StructureCache.getStructureByInode(contentlet.getStructureInode());
ContentletRelationships relationshipsData = new ContentletRelationships(contentlet);
List<ContentletRelationshipRecords> relationshipsRecords = new ArrayList<ContentletRelationshipRecords> ();
relationshipsData.setRelationshipsRecords(relationshipsRecords);
for(Entry<Relationship, List<Contentlet>> relEntry : contentRelationships.entrySet()) {
Relationship relationship = (Relationship) relEntry.getKey();
boolean hasParent = RelationshipFactory.isParentOfTheRelationship(relationship, st);
ContentletRelationshipRecords records = relationshipsData.new ContentletRelationshipRecords(relationship, hasParent);
records.setRecords(relEntry.getValue());